
html {
    -webkit-text-size-adjust: 100%;
    line-height: 1.15;
}
body {
    margin: 0;
}
main {
    display: block;
}
h1 {
    font-size: 2em;
    margin: 0.67em 0;
}
hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}
pre {
    font-family: monospace, monospace;
    font-size: 1em;
}
a {
    background-color: transparent;
    color:#de6a46;
}
abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
}
b,
strong {
    font-weight: bolder;
}
code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}
small {
    font-size: 80%;
}
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
sub {
    bottom: -0.25em;
}
sup {
    top: -0.5em;
}
img {
    border-style: none;
}
button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}
button,
input {
    overflow: visible;
}
button,
select {
    text-transform: none;
}
[type="button"],
[type="reset"],
[type="submit"],
button {
    -webkit-appearance: button;
}
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner,
button::-moz-focus-inner {
    border-style: none;
    padding: 0;
}
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring,
button:-moz-focusring {
    outline: 1px dotted ButtonText;
}
fieldset {
    padding: 0.35em 0.75em 0.625em;
}
legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}
progress {
    vertical-align: baseline;
}
textarea {
    overflow: auto;
}
[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}
[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}
::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}
details {
    display: block;
}
summary {
    display: list-item;
}
[hidden],
template {
    display: none;
}
.owl-carousel {
    -webkit-tap-highlight-color: transparent;
    display: none;
    position: relative;
    width: 100%;
    z-index: 1;
}
.owl-carousel .owl-stage-outer {
    overflow: hidden;
}
.owl-carousel .owl-next,
.owl-carousel .owl-prev {
    display: none;
}
.owl-carousel.owl-loading {
    display: block;
    opacity: 0;
}
.sct-t-hgt {
    height: 60px;
}
@media screen and (min-width: 768px) {
    .sct-t-hgt {
        height: 100px;
    }
}
.section-mobile-contact-bg {
    display: none !important;
}
.section-topbar-bg {
    background:none;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 10;
    padding-left:40px;
    padding-right:40px;
}
@media screen and (max-width: 767px) {
    .section-topbar-bg > .container {
        width: auto;
    }
}
.section-topbar-bg .section-topbar {
    display: flex;
    font-size: 0.7rem;
    position: relative;
}
@media screen and (min-width: 768px) {
    .section-topbar-bg .section-topbar {
        font-size: 1rem;
    }
}
.section-topbar-bg.logged-in {
    top: 32px;
}
@media screen and (max-width: 782px) {
    .section-topbar-bg.logged-in {
        top: 46px;
    }
}
* {
    box-sizing: border-box;
}
body {
    margin-top: 0px;
    overflow-x: hidden;
}

.container {
    padding:0 !important;
}
@media screen and (min-width: 768px) {
    .container {
        padding:0;
    }
}
.section-menu {
    align-items: end;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}
@media screen and (max-width: 767px) {
    .section-menu {
        position: absolute;
        right: 5px;
        top: 0;
    }
}
@media screen and (min-width: 768px) {
    .menublock .section-topbar-content {
        width: 70%;
    }
    .menublock .section-topbar-logo {
        width: 30%;
    }
}
.menuinline.section-topbar {
    justify-content: space-between;
}
@media screen and (min-width: 768px) {
    .section-topbar-logo {
        padding: 5px 15px 5px 0;
    }
}
.section-topbar-logo > div {
    display: inline-block;
    height: 100%;
}
.section-topbar-logo a {
    padding-bottom: 5px;
    padding-top: 5px;
}
.section-topbar-logo a,
.section-topbar-logo picture {
    align-items: center;
    display: flex;
    height: 100%;
}
.section-topbar-logo img {
    height: auto;
    max-height: 100%;
    max-width: 100%;
    width: auto;
}
@media screen and (max-width: 767px) {
    .section-topbar-logo {
        height: 100%;
        text-align: left;
    }
}
.section-topbar-content {
    align-items: center;
    display: flex;
    font-size: 0.9375rem;
    justify-content: flex-end;
    text-align: right;
}
@media screen and (max-width: 767px) {
    .section-topbar-content {
        display: none !important;
    }
}
.section-topbar-content > a {
    align-items: center;
    color: #000000;
    display: flex;
    font-weight: 700;
    margin-left: 1rem;
}
.section-topbar-content > a svg {
    fill: #000000;
    margin-bottom: 0;
    margin-right: 0.25em;
}
.section-topbar-content > a:hover {
    color: #000000;
}
.section-topbar-content > a:hover svg {
    fill: #000000;
}
.section-topbar-content > span {
    align-items: center;
    display: flex;
    font-weight: 700;
    margin-left: 1rem;
}
.section-topbar-content > span svg {
    fill: #000000;
    margin-bottom: 0;
    margin-right: 0.25em;
}
.section-topbar-content .kielivalikko {
    display: inline-block;
    margin-left: 2rem;
}
.section-topbar-content .kielivalikko li a {
    display: inline-block;
    height: 22px;
    width: 22px;
}
.section-topbar-content .kielivalikko li a img {
    vertical-align: middle;
}
.section-topbar-link {
    align-items: center;
    display: flex;
}
@media screen and (max-width: 767px) {
    .section-topbar-link {
        margin-right: 65px;
    }
}
.section-topbar-link a {
    background-color: #de6a46;
    color: #fff !important;
    font-weight: 800;
    justify-content: center;
    text-transform: uppercase;
    font-size:14px;
    line-height: 1.3em;
    padding: 0.6em 1.3em;
    text-align: center;
}
.section-topbar-link a:hover {
    background-color: #fff !important;
    color: #013346 !important;
}
@media screen and (max-width: 767px) {
    .x-hide-mob {
        display: none !important;
    }
}
@media screen and (min-width: 768px) {
    .x-hide-dsk {
        display: none !important;
    }
}
@media only screen and (max-width: 767px) {
    .frontpage-hero .ylaosa {
        background: none !important;
        width: 100% !important;
    }
    .frontpage-hero .banner-wrapper .taustakuva {
        width: 100% !important;
    }
    .frontpage-hero .ylaosa:after,
    .frontpage-hero .ylaosa:before {
        display: none !important;
    }
    .frontpage-hero .banner-wrapper > .container {
        background: rgba(0, 0, 0, 0.4);
    }
    .frontpage-hero-button,
    .teksti {
        color: #fff !important;
    }
    .frontpage-hero-button {
        border-color: #fff !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}
.frontpage-hero {
    height: auto;
    overflow: hidden;
    position: relative;
}
@media screen and (min-width: 768px) {
    .frontpage-hero {
        height: 550px;
    }
}
.frontpage-hero .carousel-banner {
    display: block;
    height: 100%;
    position: relative;
    width: 100%;
}
.frontpage-hero .banner-wrapper {
    height: 100%;
}
.frontpage-hero .banner-wrapper .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}
.frontpage-hero .center {
    height: inherit;
    margin: auto;
    position: relative;
}
.frontpage-hero.has-kilpailuedut .sloganalue {
    padding-bottom: 0;
    padding-top: 3.5rem;
}
.frontpage-hero .sloganalue {
    align-items: baseline;
    display: flex;
    flex-direction: column;
    height: 100%;
    height: auto;
    justify-content: left;
    padding-bottom: 0;
    padding-top: 0;
    text-align: left;
}
@media screen and (min-width: 768px) {
    .frontpage-hero .sloganalue {
        height: 550px;
    }
}
.frontpage-hero .sloganalue .ylaosa {
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    margin: auto 0;
    padding-bottom: 3rem;
    padding-right: 2rem;
    padding-top: 3rem;
    position: relative;
    width: 50%;
}
.frontpage-hero .sloganalue .ylaosa:before {
    
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    right: 100%;
    width: 100%;
    z-index: 0;
}
.frontpage-hero .sloganalue .ylaosa.has-kilpailuedut {
    margin: auto auto 0;
}
.frontpage-hero .sloganalue .ylaosa .otsikko,
.frontpage-hero .sloganalue .ylaosa h1 {
    color: #0e0e0e;
    font-size: 3rem;
    font-weight: 700;
    line-height: 130%;
    margin: 0 auto 1.5rem 0;
    text-align: left;
}

.frontpage-hero .sloganalue .ylaosa .teksti {
    color: #0e0e0e;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 auto 0 0;
    max-width: 550px;
    font-weight:300;
}

.frontpage-hero .sloganalue .ylaosa .frontpage-hero-buttons {
    margin: 2rem auto 0 0;
}
.frontpage-hero .sloganalue .ylaosa a.frontpage-hero-button {
    background: transparent;
    border: 1px solid #0e0e0e;
    border-radius: 50px;
    color: #0e0e0e;
    display: inline-block;
    font-size: 1.0666rem;
    font-weight: 700;
    margin: 0 0.2rem 0.5rem 0;
    max-width: 100%;
    padding: 0.75rem 2rem;
    text-align: left;
    white-space: normal !important;
}
@media screen and (max-width: 500px) {
    .frontpage-hero .sloganalue .ylaosa a.frontpage-hero-button {
        display: block;
        margin: 0 2rem 0.5rem 0;
    }
}
.frontpage-hero .sloganalue .ylaosa a.frontpage-hero-button:hover {
    background: #000000;
    border: 1px solid #000000;
    color: #fff;
}
.frontpage-hero .carousel-inner {
    padding: 0;
}
.frontpage-hero .taustakuva {
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-background-size: cover;
    display: block;
    height: 100%;
    position: absolute;
    right: 0;
    width: 55% !important;
    z-index: -1;
}
.frontpage-hero .gradient {
    background: transparent;
    height: 100%;
    position: absolute;
    width: 100%;
}
.owl-dots {
    bottom: 5px;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    width: 120px;
    z-index: 1;
}
@media screen and (min-width: 560px) {
    .owl-dots {
        bottom: 15px;
    }
}
.owl-nav {
    left: 0;
    margin-bottom: 30px;
    position: absolute;
    right: 0;
    top: 49%;
    z-index: 1;
}
.owl-next,
.owl-prev {
    margin: 0 10px;
    opacity: 1;
    text-align: center;
    top: -15px;
    width: 10%;
    z-index: 2;
}
.owl-next:hover,
.owl-prev:hover {
    opacity: 0.6;
}
.owl-next img,
.owl-prev img {
    height: 23px;
    width: 12px;
}
.owl-prev {
    left: 0;
}
.owl-next {
    right: 0;
}
.owl-dot span {
    background: transparent !important;
    border: 1px solid #fff !important;
    height: 12px !important;
    width: 12px !important;
}
.owl-dot.active span,
.owl-dot:hover span {
    background: #fff !important;
}
.sct-top-image-hgt {
    height: auto;
}
@media screen and (min-width: 768px) {
    .sct-top-image-hgt {
        height: 400px;
    }
}
.top-image {
    background-color: #000;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    text-align: center;
}
.top-image .gradient {
    background-color: rgba(0, 0, 0, 0.5);
}
.top-image .container-top-image {
    align-items: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 3rem;
}
.top-image .container-top-image .ylaosa {
    display: flex;
    flex-direction: column;
    margin: auto 0;
    width: 100%;
}
.top-image .container-top-image .ylaosa.has-kilpailuedut {
    margin: auto 0 0;
}
.top-image .otsikko,
.top-image h1 {
    font-size: clamp(1.625rem, 1.3333vw + 1rem, 2.25rem);
    font-weight: 700;
    line-height: 1.3em;
    margin: 0.25em 0;
    text-align: center;
}
@media screen and (min-width: 1400px) {
    .top-image .otsikko,
    .top-image h1 {
        padding: 0 20%;
    }
}
.top-image .teksti {
    line-height: 1.6;
    margin: auto;
    max-width: 700px;
}
.top-image .bannernapit {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1em;
}
.top-image .bannernapit .nappi {
    background-color: transparent;
    border: 1px solid #fff;
    border-radius: 5px;
    border-radius: 3px;
    color: #fff;
    display: inline-block;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.75rem 2rem;
    text-shadow: none;
}
.top-image .bannernapit .nappi:hover {
    background-color: hsla(0, 0%, 100%, 0.2) !important;
    border-color: #fff;
    color: #fff !important;
}
.sct-content {
    color: #013346;
    font-size: 21px;
    padding-bottom: 0rem;
    padding-top: 0rem;
}
@media screen and (max-width: 559px) {
    
}
@media screen and (min-width: 560px) {
    .sct-content .grid-table {
        margin-left: -1em;
        margin-right: -1em;
    }
    .sct-content .grid-table > div {
        padding-left: 1em;
        padding-right: 1em;
    }
}

.sct-content p {
    line-height: 1.6em;
}
@media screen and (min-width: 560px) {
    .sct-content p {
        line-height: 1.6em;
    }
}
.sct-content h1 {
    text-wrap: balance;
    font-size: clamp(1.75rem, 1.3333vw + 1rem, 2.5rem);
    font-weight: 600;
    line-height: 1.2;
}
.sct-content h1.big-h1 {
    font-size: 2em;
}

.sct-content h2.widget-title {
    font-size: 1.1em;
}
.sct-content h3 {
    font-size: clamp(1.375rem, 1.3333vw + 1rem, 1.525rem);
}
.sct-content h3,
.sct-content h4 {
    text-wrap: balance;
    font-weight: 600;
    line-height: 1.4;
}
.sct-content h4 {
    font-size: clamp(1.125rem, 1.3333vw + 1rem, 1.25rem);
}

.sct-content ol {
    margin: 0;
    padding-left: 1rem;
}
.sct-content a {
    font-weight: 700;
}
.sct-content a.ankkurilinkki {
    position: absolute;
    top: -100px;
}
.sct-content a.email,
.sct-content a.phone,
.sct-content a.whatsapp {
    align-items: center;
    display: flex;
}
.sct-content a.email svg,
.sct-content a.phone svg,
.sct-content a.whatsapp svg {
    fill: #000000;
    margin-right: 0.375em;
}
.sct-content .anchor-link {
    position: relative;
}

.sct-content ol {
    margin: 0.5em 0;
}
.sct-content ul li {
    line-height: 1.4em;
}
.sct-content table {
    margin: 2rem 0;
}
.sct-content table th {
    background-color: #f8f4f1;
    color: #333;
    font-weight: 700;
    padding: 1rem;
    text-align: left;
}
.sct-content table td {
    padding: 1rem;
}
.sct-content .wp-block-cover:last-child {
    margin-bottom: -2rem;
}
.sct-content .wp-block-column h1:first-child,
.sct-content .wp-block-column h2:first-child,
.sct-content .wp-block-column h3:first-child {
    margin-top: 0;
}
.sct-content .wp-block-table {
    overflow-x: unset;
}
.sct-content .wp-block-table.is-style-stripes {
    border-bottom: none;
}
.sct-content .wp-block-table.is-style-stripes td,
.sct-content .wp-block-table.is-style-stripes th {
    padding: 1rem;
}
.sct-content .wp-block-table.is-style-regular table {
    border-top: 1px solid #efefef;
}
.sct-content .wp-block-table.is-style-regular tr {
    border-bottom: 1px solid #efefef;
}
.intro {
    color: #3a4247;
    font-size: 1.25rem;
    font-weight: 500;
}
.kartta iframe {
    margin-top: 1em;
}
.text-center {
    text-align: center;
}
.kapea {
    max-width: 800px !important;
}
.kapea,
.kapeampi {
    margin-left: auto;
    margin-right: auto;
}
.kapeampi {
    max-width: 1000px !important;
}
.container.kapea-sivu {
    max-width: 920px !important;
}
.alignfull,
.tayslevea {
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    position: relative;
    right: 50%;
    width: 100vw;
}
.isompi-teksti {
    font-size: 1.1875em;
}
.reunaviiva {
    border-left: 10px solid #000;
    padding-left: 40px;
}
.laatikkolinkki {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}
.has-medium-font-size {
    font-size: clamp(1.125rem, 1rem + 0.3333vw, 1.25rem) !important;
}
@media (max-width: 991px) {
    .wp-block-media-text.is-stacked-on-mobile {
        -ms-grid-columns: 100% !important;
        grid-template-columns: 100% !important;
    }
    .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media {
        -ms-grid-column: 1;
        grid-column: 1;
        -ms-grid-row: 1;
        grid-row: 1;
    }
    .wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .wp-block-media-text__content,
    .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
        -ms-grid-column: 1;
        grid-column: 1;
        -ms-grid-row: 2;
        grid-row: 2;
    }
    .wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .wp-block-media-text__media {
        -ms-grid-column: 1;
        grid-column: 1;
        -ms-grid-row: 1;
        grid-row: 1;
    }
}
.wp-block-media-text {
    background-color: #f8f4f1;
    min-height: 300px;
}
.wp-block-media-text .wp-block-media-text__content {
    padding: 1.2rem;
}
.wp-block-media-text .wp-block-media-text__content h2:first-child,
.wp-block-media-text .wp-block-media-text__content h3:first-child {
    margin-top: 0;
}
@media screen and (min-width: 768px) {
    .wp-block-media-text .wp-block-media-text__content {
        padding: 3rem 8%;
    }
}
@media screen and (min-width: 1400px) {
    .wp-block-media-text .wp-block-media-text__content {
        padding: 3.5rem 8%;
    }
}
.wp-block-media-text.ei-taustaa {
    background-color: transparent;
    min-height: 300px;
}
.wp-block-media-text.ei-taustaa .wp-block-media-text__content {
    padding: 0 0 0 2.5rem;
}
.wp-block-media-text.ei-taustaa .wp-block-media-text__content h2:first-child,
.wp-block-media-text.ei-taustaa .wp-block-media-text__content h3:first-child {
    margin-top: 0;
}
@media screen and (min-width: 768px) {
    .wp-block-media-text.ei-taustaa .wp-block-media-text__content {
        padding: 0 0 0 8%;
    }
}
@media screen and (min-width: 1400px) {
    .wp-block-media-text.ei-taustaa .wp-block-media-text__content {
        padding: 0 0 0 8%;
    }
}
.wp-block-media-text.ei-taustaa.has-media-on-the-right .wp-block-media-text__content {
    padding: 0 1.2rem 0 0;
}
.wp-block-media-text.ei-taustaa.has-media-on-the-right .wp-block-media-text__content h2:first-child,
.wp-block-media-text.ei-taustaa.has-media-on-the-right .wp-block-media-text__content h3:first-child {
    margin-top: 0;
}
@media screen and (min-width: 768px) {
    .wp-block-media-text.ei-taustaa.has-media-on-the-right .wp-block-media-text__content {
        padding: 0 8% 0 0;
    }
}
@media screen and (min-width: 1400px) {
    .wp-block-media-text.ei-taustaa.has-media-on-the-right .wp-block-media-text__content {
        padding: 0 8% 0 0;
    }
}
.wp-block-media-text p {
    line-height: 1.8;
}
.wp-block-image {
    padding-top: 1rem;
}
.wp-block-embed-youtube .wp-block-embed__wrapper {
    overflow: hidden;
    padding-top: 56.25%;
    position: relative;
    width: 100%;
}
.wp-block-embed-youtube iframe {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}
.wp-block-gallery.is-cropped picture {
    height: 100%;
}
.wp-block-gallery figcaption.wp-element-caption {
    font-size: 0.925rem;
    line-height: 1.6em;
    text-align: left;
}
.banner__kilpailuedut {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: auto auto 1rem;
    width: 100%;
    z-index: 1;
}
.banner__kilpailuedut.owl-loaded {
    justify-content: flex-start;
}
.banner__kilpailuedut .owl-stage {
    display: flex;
}
.banner__kilpailuedut .owl-stage .owl-item {
    align-items: center;
    display: flex;
    justify-content: center;
}
.banner__kilpailuedut .owl-nav {
    bottom: 2.375rem;
    display: flex;
    justify-content: space-between;
    margin-bottom: 0;
    padding: 0 1.25rem;
    position: absolute;
    top: auto;
    width: 100%;
}
@media (max-width: 767px) {
    .banner__kilpailuedut .owl-nav {
        bottom: 2.25rem;
    }
}
@media (max-width: 599px) {
    .banner__kilpailuedut .owl-nav {
        bottom: 2rem;
        padding: 0 0.75rem;
    }
}
.banner__kilpailuedut .owl-nav .owl-next,
.banner__kilpailuedut .owl-nav .owl-prev {
    cursor: pointer;
    margin: 0;
    width: auto;
}
.banner__kilpailuedut .owl-nav .nuoli {
    background-image: url(/wp-content/themes/netello/img/icon-arrow-right-thin-white.svg);
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    height: 21px;
    width: 21px;
}
.banner__kilpailuedut .owl-nav .nuoli.nuoli-vasen {
    transform: scaleX(-1);
}
@media screen and (max-width: 767px) {
    .banner__kilpailuedut {
        padding-top: 2rem;
    }
}
.banner__kilpailuedut .banner__kilpailuetu {
    border-right: 1px solid hsla(0, 0%, 100%, 0.333);
    padding: 0 1.5rem;
}
.banner__kilpailuedut .banner__kilpailuetu:last-child {
    border-right: 0;
}
@media (max-width: 991px) {
    .banner__kilpailuedut .banner__kilpailuetu {
        border-right: 0;
    }
}
@media (max-width: 1200px) {
    .banner__kilpailuedut .banner__kilpailuetu {
        padding-left: 8px;
        padding-right: 8px;
    }
}
@media screen and (max-width: 767px) {
    .banner__kilpailuedut .banner__kilpailuetu {
        border-right: 0;
        padding: 0 0.5rem;
    }
}
.banner__kilpailuedut .banner__kilpailuetu .wrapper {
    align-items: center;
    color: #fff;
    display: flex;
    gap: 12px;
    margin: 6px;
    text-align: left;
}
@media (max-width: 1200px) {
    .banner__kilpailuedut .banner__kilpailuetu .wrapper {
        margin: 10px;
    }
}
@media screen and (max-width: 991px) {
    .banner__kilpailuedut .banner__kilpailuetu .wrapper {
        justify-content: center;
        padding: 0 3rem;
    }
}
@media (max-width: 580px) {
    .banner__kilpailuedut .banner__kilpailuetu .wrapper {
        margin: 7px;
    }
}
.banner__kilpailuedut .banner__kilpailuetu img,
.banner__kilpailuedut .banner__kilpailuetu picture {
    height: 2rem;
    -o-object-fit: contain;
    object-fit: contain;
    width: 2rem;
}
@media screen and (max-width: 1350px) {
    .banner__kilpailuedut .banner__kilpailuetu img,
    .banner__kilpailuedut .banner__kilpailuetu picture {
        height: 1.875rem;
        width: 1.875rem;
    }
}
@media screen and (max-width: 600px) {
    .banner__kilpailuedut .banner__kilpailuetu img,
    .banner__kilpailuedut .banner__kilpailuetu picture {
        height: 1.75rem;
        width: 1.75rem;
    }
}
.banner__kilpailuedut .banner__kilpailuetu .kilpailuetu_teksti {
    font-size: 1.125rem;
    line-height: 125%;
    margin: auto auto auto 0.25rem;
}
@media screen and (max-width: 1350px) {
    .banner__kilpailuedut .banner__kilpailuetu .kilpailuetu_teksti {
        font-size: 1.06666rem;
    }
}
@media screen and (max-width: 991px) {
    .banner__kilpailuedut .banner__kilpailuetu .kilpailuetu_teksti {
        font-size: 1rem;
        line-height: 1.35;
        margin: initial;
    }
}
@media screen and (max-width: 600px) {
    .banner__kilpailuedut .banner__kilpailuetu .kilpailuetu_teksti {
        font-size: 0.9375rem;
        max-width: 100%;
    }
}
.banner__kilpailuedut .banner__kilpailuetu .kilpailuetu_teksti p {
    line-height: 1.35em;
    margin: 0;
}
@media screen and (max-width: 991px) {
    .banner__kilpailuedut .banner__kilpailuetu .kilpailuetu_teksti p {
        width: -webkit-min-content;
        width: -moz-min-content;
        width: min-content;
    }
}
.blogicat-napit {
    margin-bottom: 3rem;
    margin-top: 1rem;
    text-align: center;
}
.artikkelit,
.uutis-grid {
    margin-top: 3rem;
}
.uutis-grid {padding:15px;}
@media screen and (min-width: 560px) {
    .uutis-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin:0 auto;
        max-width:1100px;
        padding:0;
    }
    .blog .uutis-grid {margin-top:50px; max-width:1400px;}
}
.uutis-grid > div {
    margin-bottom: 2rem;
}
@media screen and (min-width: 560px) {
    .uutis-grid > div {
        width: 50%;
    }
}
@media screen and (min-width: 768px) {
    .uutis-grid > div {
        width: 33.33333%;
    }
}
.uutis-grid .uutislaatikko {
    background-color: #fff;
    border:1px solid #eee;
    transition: transform 0.3s;
}
.uutis-grid .uutislaatikko:hover {
    box-shadow: 0 2px 18px -2px rgba(0, 0, 0, 0.15);
    transform: translateY(-10px);
}
.uutis-grid .uutislaatikko {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}
@media screen and (min-width: 560px) {
    .uutis-grid .uutislaatikko {
        margin: 0 15px;
    }
}
.uutis-grid h3 {
    font-size: 1.46666rem;
    margin-bottom: 0.8rem;
    margin-top: 0;
    padding-top: 0;
}
.uutis-grid .uutisteksti {
    color: #323031;
    padding: 1.5rem 1.5rem 2rem;
}
.uutis-grid .nappi-1 {
    margin: auto auto 1.5rem 1.5rem;
}
.uutis-grid .uutiskuva {
    background-position: 50%;
    background-size: cover;
    height: 225px;
}
.uutis-grid .catnapit {
    bottom: 2rem;
    left: 0;
    line-height: 1.4;
    padding: 0 1.5rem;
    position: absolute;
    width: 100%;
}
.uutis-grid .catnapit a {
    color: #000;
    font-weight: 400;
}
a {text-decoration: none !important;}
.nappi-1,
.wp-block-button:not(.nappi-2) > a,
input[type="submit"] {
    background-color: transparent;
    border: 1px solid #000;
    border-radius: 3px;
    color: #000;
    display: inline-block;
    font-size: 1.0666rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    margin-top: 0.8rem;
    padding: 0.75rem 2rem;
    text-decoration: none;
}
.wp-block-button:not(.nappi-2) > a:active,
.wp-block-button:not(.nappi-2) > a:focus,
.wp-block-button:not(.nappi-2) > a:hover,
input[type="submit"]:active,
input[type="submit"]:focus,
input[type="submit"]:hover {
    background-color: #000000;
    border: 1px solid #000000;
    color: #fff;
}
.wp-social-link {
  color: #000000 !important;
  background-color: transparent !important;
}
.nappi-1 a,
.wp-block-button:not(.nappi-2) > a a,
input[type="submit"] a {
    color: #000000;
    text-decoration: none;
}
.nappi-1:hover a,,
.wp-block-button:not(.nappi-2) > a:hover a,
input[type="submit"]:hover a {
    color: #fff;
}
.nappi-1 svg,,
.wp-block-button:not(.nappi-2) > a svg,
input[type="submit"] svg {
    fill: #fff;
    height: 1em;
    margin-right: 0.5em;
    width: 1em;
}
.wp-block-button {
    align-items: center;
    display: flex !important;
    position: relative;
}
.wp-block-button.email svg,
.wp-block-button.phone svg,
.wp-block-button.support svg,
.wp-block-button.whatsapp svg {
    fill: #000000;
    height: 1em;
    left: 1.875rem;
    margin-right: 0.5em;
    margin-top: 0.25em;
    position: absolute;
    width: 1em;
}
.wp-block-button.email:hover svg,
.wp-block-button.phone:hover svg,
.wp-block-button.support:hover svg,
.wp-block-button.whatsapp:hover svg {
    fill: #fff;
}
.wp-block-button.email > a,
.wp-block-button.phone > a,
.wp-block-button.support > a,
.wp-block-button.whatsapp > a {
    padding-left: 3.375rem;
    text-align: left;
}
.wp-block-button.nappi-2.email:hover svg,
.wp-block-button.nappi-2.email svg,
.wp-block-button.nappi-2.phone:hover svg,
.wp-block-button.nappi-2.phone svg,
.wp-block-button.nappi-2.support:hover svg,
.wp-block-button.nappi-2.support svg,
.wp-block-button.nappi-2.whatsapp:hover svg,
.wp-block-button.nappi-2.whatsapp svg {
    fill: #fff;
}
.wp-block-button.nappi-2 > a,
a.nappi-2,
a.nappi-2:visited {
    background-color: transparent;
    border: 1px solid #e3d5ca;
    border-radius: 3px;
    color: #fff;
    display: inline-block;
    font-size: 1.0666rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    margin-top: 0.8rem;
    padding: 0.75rem 2rem;
}
.wp-block-button.nappi-2 > a:active,
.wp-block-button.nappi-2 > a:focus,
.wp-block-button.nappi-2 > a:hover,
a.nappi-2:active,
a.nappi-2:focus,
a.nappi-2:hover,
a.nappi-2:visited:active,
a.nappi-2:visited:focus,
a.nappi-2:visited:hover {
    background-color: #000000;
    border: 1px solid #000000;
    color: #fff;
}
.sct-content .wp-block-button__link {
    background-color: transparent;
    border-radius: 0;
    padding: 0;
}
.linkkilaatikot {
    display: flex;
    flex-wrap: wrap;
}
@media screen and (min-width: 560px) {
    .linkkilaatikot {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }
}
.linkkilaatikot > div {
    width: 100%;
}


.fluentform .ff_item_selected .ff-el-form-check-label .ff-el-form-check-input {
    background-color:#de6a46;
}

@media screen and (min-width: 560px) {
    .linkkilaatikot > div {
        padding: 0.5rem;
        width: 50%;
    }
}
@media screen and (min-width: 768px) {
    .linkkilaatikot > div {
        width: 33.333333%;
    }
}
@media screen and (min-width: 560px) {
    .linkkilaatikot.col-1 > div {
        width: 100%;
    }
}
@media screen and (min-width: 768px) {
    .linkkilaatikot.col-1 .linkkilaatikko {
        height: 400px;
    }
}
@media screen and (min-width: 560px) {
    .linkkilaatikot.col-2 > div {
        width: 50%;
    }
}
@media screen and (min-width: 768px) {
    .linkkilaatikot.col-2 .linkkilaatikko {
        height: 300px;
    }
}
@media screen and (min-width: 560px) {
    .linkkilaatikot.col-4 > div {
        width: 50%;
    }
}
@media screen and (min-width: 768px) {
    .linkkilaatikot.col-4 > div {
        width: 25%;
    }
}
.linkkilaatikot .linkkilaatikko {
    height: 250px;
    position: relative;
    text-align: center;
}
@media screen and (max-width: 559px) {
    .linkkilaatikot .linkkilaatikko {
        margin-bottom: 1rem;
    }
}
@media screen and (min-width: 768px) {
    .linkkilaatikot .linkkilaatikko {
        height: 250px;
    }
}
.linkkilaatikot .linkkilaatikko img,
.linkkilaatikot .linkkilaatikko picture {
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
}
.linkkilaatikot .linkkilaatikko h3 {
    color: #fff;
    font-size: clamp(1.125rem, 0.984rem + 0.8511vw, 1.125rem);
    letter-spacing: 0;
    margin: auto;
}
.linkkilaatikot .linkkilaatikko a {
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    display: flex;
    font-weight: 800;
    height: 100%;
    left: 0;
    letter-spacing: 1px;
    line-height: 1.6em;
    padding: 15px;
    position: absolute;
    text-transform: uppercase;
    top: 0;
    width: 100%;
}
.linkkilaatikot .linkkilaatikko a:active,
.linkkilaatikot .linkkilaatikko a:hover {
    background: hsla(21, 10%, 55%, 0.85);
}
.linkkilaatikot .linkkilaatikko a span {
    margin: Auto;
    text-align: center;
}
.linkkilaatikot.center {
    justify-content: center;
}
.kapea-sivu .linkkilaatikot-tekstilla {
    justify-content: start;
}
.kapea-sivu .linkkilaatikot-tekstilla.col-3 .linkkilaatikko img,
.kapea-sivu .linkkilaatikot-tekstilla.col-3 .linkkilaatikko picture {
    height: 200px;
}
@media screen and (min-width: 768px) {
    .kapea-sivu .linkkilaatikot-tekstilla.col-3 .linkkilaatikko img,
    .kapea-sivu .linkkilaatikot-tekstilla.col-3 .linkkilaatikko picture {
        height: 230px;
    }
}
.grid-sisaltoalue .linkkilaatikot-tekstilla {
    justify-content: start;
}
.grid-sisaltoalue .linkkilaatikot-tekstilla.col-3 > div {
    width: 100%;
}
@media screen and (min-width: 560px) {
    .grid-sisaltoalue .linkkilaatikot-tekstilla.col-3 > div,
    .grid-sisaltoalue .linkkilaatikot-tekstilla.col-4 > div {
        width: calc(50% - 1rem);
    }
}
@media screen and (min-width: 992px) {
    .grid-sisaltoalue .linkkilaatikot-tekstilla.col-4 > div {
        width: calc(50% - 1rem);
    }
}
.grid-sisaltoalue .linkkilaatikot-tekstilla > .linkkilaatikko img,
.grid-sisaltoalue .linkkilaatikot-tekstilla > .linkkilaatikko picture {
    height: 220px;
}
@media screen and (min-width: 768px) {
    .grid-sisaltoalue .linkkilaatikot-tekstilla > .linkkilaatikko img,
    .grid-sisaltoalue .linkkilaatikot-tekstilla > .linkkilaatikko picture {
        height: 250px;
    }
}
.laatikot {margin-top:-150px}
.linkkilaatikot-tekstilla {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 30px;
    margin-top: 0px;
    width:100%;
}
body:not(.home) .linkkilaatikot-tekstilla {margin-top:30px;}
.linkkilaatikot-tekstilla.has-zoom-efekti .linkkilaatikko:hover {
    transform: scale(1.0125);
}
.linkkilaatikot-tekstilla.has-laatikko .linkkilaatikko {
    background-color: #f8f4f1;
    margin-bottom: 0;
}
.linkkilaatikot-tekstilla.has-laatikko .linkkilaatikko .linkkilaatikkoteksti {
    padding: 1.5rem 0;
}
.linkkilaatikot-tekstilla.has-laatikko.has-varjo .linkkilaatikko {
    background-color: #fff;
    box-shadow: 0 1px 15px -2px rgba(0, 0, 0, 0.1);
}
.linkkilaatikot-tekstilla.has-laatikko.has-varjo .linkkilaatikko.has-linkki:hover {
    box-shadow: 0 2px 18px -2px rgba(0, 0, 0, 0.15);
}
.linkkilaatikot-tekstilla.has-laatikko.has-tumma-taustavari .linkkilaatikko {
        background-color: #f00;
        position: absolute;
        overflow: hidden;
        clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
        top: 20px;
        left: 15px;
        right: 15px;
        bottom: 20px;
        height: auto;
        justify-content: center;
        background-size:cover;
        background-position: center;
    }

.linkkilaatikot-tekstilla.has-laatikko.has-tumma-taustavari .linkkilaatikko .intro,
.linkkilaatikot-tekstilla.has-laatikko.has-tumma-taustavari .linkkilaatikko .sisalto,
.linkkilaatikot-tekstilla.has-laatikko.has-tumma-taustavari .linkkilaatikko a,
.linkkilaatikot-tekstilla.has-laatikko.has-tumma-taustavari .linkkilaatikko h1,
.linkkilaatikot-tekstilla.has-laatikko.has-tumma-taustavari .linkkilaatikko h2,
.linkkilaatikot-tekstilla.has-laatikko.has-tumma-taustavari .linkkilaatikko h3,
.linkkilaatikot-tekstilla.has-laatikko.has-tumma-taustavari .linkkilaatikko h4,
.linkkilaatikot-tekstilla.has-laatikko.has-tumma-taustavari .linkkilaatikko li,
.linkkilaatikot-tekstilla.has-laatikko.has-tumma-taustavari .linkkilaatikko p,
.linkkilaatikot-tekstilla.has-laatikko.has-tumma-taustavari .linkkilaatikko ul {
    /*color: #fff;*/
}
.linkkilaatikot-tekstilla > div {
    width: 100%;
}
@media screen and (min-width: 560px) {
    .linkkilaatikot-tekstilla > div {
        width: calc(50% - 1rem);
    }
}
@media screen and (min-width: 768px) {
    .linkkilaatikot-tekstilla > div {
        width: calc(33.3333% - 1rem);
    }
}
@media screen and (min-width: 560px) {
    .linkkilaatikot-tekstilla.col-2 > div {
        width: calc(50% - 1rem);
    }
}
.linkkilaatikot-tekstilla.col-2 > div .linkkilaatikko img,
.linkkilaatikot-tekstilla.col-2 > div .linkkilaatikko picture {
    height: 300px;
}
@media screen and (min-width: 768px) {
    .linkkilaatikot-tekstilla.col-2 > div .linkkilaatikko img,
    .linkkilaatikot-tekstilla.col-2 > div .linkkilaatikko picture {
        height: 350px;
    }
}
@media screen and (min-width: 560px) {
    .linkkilaatikot-tekstilla.col-4 > div {
        width: calc(50% - 1rem);
    }
}
.linkkilaatikot-tekstilla.col-4 > div:before {
        padding-top: 114.3%;
        content: '';
        display: block;
    }
    .linkkilaatikot-tekstilla.col-4 > div {
        width: calc(25% - 1rem);
        position: relative;
        background: #fff;
        clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    }

.linkkilaatikot-tekstilla.col-4 > div .linkkilaatikko img,
.linkkilaatikot-tekstilla.col-4 > div .linkkilaatikko picture {
    height: 180px;
}
@media screen and (min-width: 768px) {
    .linkkilaatikot-tekstilla.col-4 > div .linkkilaatikko img,
    .linkkilaatikot-tekstilla.col-4 > div .linkkilaatikko picture {
        height: 220px;
    }
}
.linkkilaatikot-tekstilla .linkkilaatikko {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-bottom: 1rem;
    position: relative;
    transition: all 0.2s;
}
.linkkilaatikot-tekstilla .linkkilaatikko.has-linkki {
    cursor: pointer;
}
.linkkilaatikot-tekstilla .linkkilaatikko img,
.linkkilaatikot-tekstilla .linkkilaatikko picture {
    height: 230px;
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
}
@media screen and (min-width: 768px) {
    .linkkilaatikot-tekstilla .linkkilaatikko img,
    .linkkilaatikot-tekstilla .linkkilaatikko picture {
        height: 280px;
    }
}
.linkkilaatikot-tekstilla .linkkilaatikko .linkkilaatikkoteksti {
    padding-top: 1rem;
    z-index:1;
}
.linkkilaatikot-tekstilla .linkkilaatikko .linkkilaatikkoteksti h3 {
    font-size: 1.5rem;
    margin: 0;
    text-align:center;
    text-transform: uppercase;
    color:#fff;
}

.linkkilaatikot-tekstilla .laatikko-gradient {
    background-image: linear-gradient(0deg, rgba(1, 51, 70, 1), transparent);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    transition:all 0.5s linear;
}
.linkkilaatikot-tekstilla .linkkilaatikko .laatikko-gradient:before {
    content:'';
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    background:#de6a46;
    opacity:0;
    transition:all 0.5s linear;
}
.linkkilaatikot-tekstilla .linkkilaatikko:hover .laatikko-gradient:before {
    opacity:1;
    transition:all 0.5s linear;
}
.linkkilaatikot-tekstilla .linkkilaatikko .linkkilaatikkoteksti .sisalto {
    line-height: 1.6;
}
.linkkilaatikot-tekstilla .linkkilaatikko .linkki {
    color: #000000;
    margin: auto 1.5rem 0.25rem;
    position: relative;
    z-index: 1;
}
.linkkilaatikot-tekstilla .linkkilaatikko .linkki:hover {
    color: #000000;
}
.linkkilaatikot-tekstilla .linkkilaatikko .nappi {
    background-color: #000000;
    border-radius: 3px;
    color: #fff;
    display: inline-block;
    font-size: 1.0666rem;
    font-weight: 600;
    line-height: 1.2;
    margin-top: auto !important;
    margin: 0.8rem 0rem 0.5rem;
    padding: 0.75rem 2rem;
    text-align: center;
    z-index: 1;
}
.linkkilaatikot-tekstilla .linkkilaatikko .nappi:hover,
.linkkilaatikot-tekstilla .linkkilaatikko:hover .nappi {
    background-color: #000000;
}
.linkkilaatikot-tekstilla.center {
    justify-content: center;
}
.linkkilaatikot-kuvakkeella {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    margin-bottom: 10px;
    margin-top: 10px;
}
@media screen and (min-width: 560px) {
    .linkkilaatikot-kuvakkeella {
        margin-left: -1rem;
        margin-right: -1rem;
    }
}
.linkkilaatikot-kuvakkeella > div {
    margin-bottom: 1.5rem;
    width: 100%;
}
@media screen and (min-width: 560px) {
    .linkkilaatikot-kuvakkeella > div {
        padding: 0 0.5rem;
        width: 50%;
    }
}
@media screen and (min-width: 768px) {
    .linkkilaatikot-kuvakkeella > div {
        width: 33.333333%;
    }
}
@media screen and (min-width: 1400px) {
    .linkkilaatikot-kuvakkeella > div {
        padding: 0 1rem;
    }
}
@media screen and (min-width: 560px) {
    .linkkilaatikot-kuvakkeella.col-2 > div,
    .linkkilaatikot-kuvakkeella.col-4 > div {
        width: 50%;
    }
}
@media screen and (min-width: 768px) {
    .linkkilaatikot-kuvakkeella.col-4 > div {
        width: 25%;
    }
}
.linkkilaatikot-kuvakkeella .linkkilaatikko {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
    position: relative;
    transition: all 0.2s;
}
.linkkilaatikot-kuvakkeella .linkkilaatikko.has-laatikko {
    padding: 2rem;
}
.linkkilaatikot-kuvakkeella .linkkilaatikko.has-varjo {
    background-color: #fff;
    box-shadow: 0 1px 15px -2px rgba(0, 0, 0, 0.1);
}
.linkkilaatikot-kuvakkeella .linkkilaatikko.has-taustavari {
    background-color: #f8f4f1;
}
.linkkilaatikot-kuvakkeella .linkkilaatikko.has-linkki:hover {
    transform: translateY(-10px);
}
.linkkilaatikot-kuvakkeella .linkkilaatikko.has-linkki:hover.has-varjo {
    box-shadow: 0 2px 18px -2px rgba(0, 0, 0, 0.15);
}
.linkkilaatikot-kuvakkeella .linkkilaatikko.text-center .ylaosa {
    align-items: center;
}
.linkkilaatikot-kuvakkeella .linkkilaatikko .ylaosa {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.linkkilaatikot-kuvakkeella .linkkilaatikko .ylaosa.has-kuvake-vasemmalla {
    flex-direction: row;
    height: 100%;
}
.linkkilaatikot-kuvakkeella .linkkilaatikko .ylaosa .kuva {
    flex: 0 0 auto;
    height: 53px;
    margin-bottom: 1rem;
    max-width: 53px;
}
.linkkilaatikot-kuvakkeella .linkkilaatikko .ylaosa .kuva img {
    height: 150%;
    -o-object-fit: contain;
    object-fit: contain;
    width: 150%;
}
.linkkilaatikot-kuvakkeella .linkkilaatikko .ylaosa .sisalto {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: start;
}
.linkkilaatikot-kuvakkeella .linkkilaatikko .ylaosa .sisalto h3,
.linkkilaatikot-kuvakkeella .linkkilaatikko .ylaosa .sisalto p {
    margin: 0;
}
.linkkilaatikot-kuvakkeella .linkkilaatikko .ylaosa .sisalto .linkki,
.linkkilaatikot-kuvakkeella .linkkilaatikko .ylaosa .sisalto .nappi-1 {
    margin-top: auto;
}
.linkkilaatikot-kuvakkeella .linkkilaatikko .teksti {
    margin: 0;
}
.linkkilaatikot-kuvakkeella .linkkilaatikko.has-linkki-nappi-tyyli .teksti {
    margin: 0 0 0.5rem;
}
.linkkilaatikot-kuvakkeella .linkkilaatikko .linkki {
    color: #000000;
    display: inline-block;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}
.linkkilaatikot-kuvakkeella .linkkilaatikko .linkki:hover {
    color: #000000;
}
.linkkilaatikot-kuvakkeella .linkkilaatikko .nappi-1 {
    border-radius: 3px;
    display: inline-block;
    font-size: 1.0666rem;
    font-weight: 600;
    line-height: 1.2;
    margin: auto auto 0;
    padding: 0.75rem 2rem;
    text-align: center;
    width: 100%;
    z-index: 1;
}
.linkkilaatikot-kuvakkeella .linkkilaatikko:hover .nappi-1 {
    background-color: #000000;
}
.sivulinkit {
    margin: 1rem 0;
}
.sivulinkit ul {
    margin: 0;
    padding: 0;
}
.sivulinkit ul li {
    display: inline-block;
}
.sivulinkit a,
.sivulinkit a:active,
.sivulinkit a:focus,
.sivulinkit a:visited {
    background-color: #f8f4f1;
    border-radius: 3px;
    color: #9c6f4e;
    display: inline-block;
    font-weight: 400;
    margin-bottom: 0.5rem;
    margin-right: 0.5rem;
    padding: 0.5rem 1rem;
}
.sivulinkit a:active:hover,
.sivulinkit a:focus:hover,
.sivulinkit a:hover,
.sivulinkit a:visited:hover {
    background-color: #f0e7e0;
    color: #9c6f4e;
}
.uutislaatikot.referenssit {
    justify-content: left;
}
.uutislaatikot.referenssit .uutislaatikko {
    background-color: #f8f4f1;
    box-shadow: none;
    padding-bottom: 0;
}


@media screen and (max-width: 991px) {
    .linkkilaatikot-tekstilla .linkkilaatikko .linkkilaatikkoteksti h3 {padding:0 20px; font-size:1.2rem;}
    
}
.contact-wrap {max-width:1400px; margin:50px auto !important;}
.uutislaatikot.referenssit .uutislaatikko.has-linkki:hover {
    transform: translateY(-10px);
}
.uutislaatikot.referenssit .uutislaatikko .uutiskuva {
    overflow: hidden;
}
.uutislaatikot.referenssit .uutislaatikko .uutiskuva img {
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
    width: 100%;
}
.uutislaatikot.referenssit .uutislaatikko .uutisteksti {
    padding: 1rem 2rem 2rem;
}
.uutislaatikot.referenssit .uutislaatikko .uutisteksti h3 {
    word-break: break-word;
}
.uutislaatikot.referenssit .uutislaatikko .logo,
.uutislaatikot.referenssit .uutislaatikko .logo img {
    max-height: 4rem;
    width: auto;
}
.uutislaatikot.referenssit .uutislaatikko .quote {
    display: block;
    margin-top: 1rem;
}
.uutislaatikot.referenssit .uutislaatikko .quote svg {
    fill: #000000;
    height: 1.5rem;
    width: 1.5rem;
}
.uutislaatikot.referenssit .uutislaatikko .asiakas {
    align-items: center;
    display: flex;
    gap: 1rem;
    line-height: 1.5;
    margin: 2rem 0 0.5rem;
}
.uutislaatikot.referenssit .uutislaatikko .asiakas picture {
    display: block;
    width: 4rem;
}
.uutislaatikot.referenssit .uutislaatikko .asiakas img {
    border-radius: 100%;
    height: auto;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: 50% 50%;
    object-position: 50% 50%;
    width: 100%;
}
.uutislaatikot.referenssit .uutislaatikko .asiakas strong {
    font-size: 0.9rem;
    text-transform: uppercase;
}
.uutislaatikot.referenssit .uutislaatikko .link {
    color: #000000;
    display: block;
    font-weight: 700;
    padding-top: 1rem;
}
.uutislaatikot.referenssit .uutislaatikko:hover .link {
    color: #000000;
}
.haitari,
.wp-block-yoast-faq-block {
    margin: 2rem auto;
    max-width: 68.75em;
    width: 100%;
}
.haitari .item,
.haitari .schema-faq-section,
.wp-block-yoast-faq-block .item,
.wp-block-yoast-faq-block .schema-faq-section {
    margin-bottom: 0.5rem;
}
.haitari .item .schema-faq-question,
.haitari .item h3,
.haitari .schema-faq-section .schema-faq-question,
.haitari .schema-faq-section h3,
.wp-block-yoast-faq-block .item .schema-faq-question,
.wp-block-yoast-faq-block .item h3,
.wp-block-yoast-faq-block .schema-faq-section .schema-faq-question,
.wp-block-yoast-faq-block .schema-faq-section h3 {
    text-wrap: balance;
    background-color: #f8f4f1;
    color: #0e0e0e;
    cursor: pointer;
    display: block;
    font-size: clamp(1.375rem, 1.3333vw + 1rem, 1.525rem);
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    padding: 1.25rem 2rem;
    position: relative;
}
.haitari .item .schema-faq-question:after,
.haitari .item h3:after,
.haitari .schema-faq-section .schema-faq-question:after,
.haitari .schema-faq-section h3:after,
.wp-block-yoast-faq-block .item .schema-faq-question:after,
.wp-block-yoast-faq-block .item h3:after,
.wp-block-yoast-faq-block .schema-faq-section .schema-faq-question:after,
.wp-block-yoast-faq-block .schema-faq-section h3:after {
    content: "+";
    display: block;
    height: 2rem;
    line-height: 1.8rem;
    position: absolute;
    right: 1rem;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    width: 2rem;
}
.haitari .item .schema-faq-question.is-active:after,
.haitari .item h3.is-active:after,
.haitari .schema-faq-section .schema-faq-question.is-active:after,
.haitari .schema-faq-section h3.is-active:after,
.wp-block-yoast-faq-block .item .schema-faq-question.is-active:after,
.wp-block-yoast-faq-block .item h3.is-active:after,
.wp-block-yoast-faq-block .schema-faq-section .schema-faq-question.is-active:after,
.wp-block-yoast-faq-block .schema-faq-section h3.is-active:after {
    content: "-";
    line-height: 1.5rem;
}
.haitari .accordion-content,
.haitari .schema-faq-answer,
.wp-block-yoast-faq-block .accordion-content,
.wp-block-yoast-faq-block .schema-faq-answer {
    display: none;
    padding: 1rem 2rem;
}
.haitari .accordion-content p,
.haitari .schema-faq-answer p,
.wp-block-yoast-faq-block .accordion-content p,
.wp-block-yoast-faq-block .schema-faq-answer p {
    margin: 0;
}
.wp-block-media-text .haitari .item .schema-faq-question,
.wp-block-media-text .haitari .item h3,
.wp-block-media-text .haitari .schema-faq-section .schema-faq-question,
.wp-block-media-text .haitari .schema-faq-section h3,
.wp-block-media-text .wp-block-yoast-faq-block .item .schema-faq-question,
.wp-block-media-text .wp-block-yoast-faq-block .item h3,
.wp-block-media-text .wp-block-yoast-faq-block .schema-faq-section .schema-faq-question,
.wp-block-media-text .wp-block-yoast-faq-block .schema-faq-section h3 {
    background-color: #f3ece7;
}
.sct-content .nostot {
    margin: 2rem 0;
    padding: 0;
}
.sct-content .nostot .container {
    padding: 0;
}
@media screen and (min-width: 60em) {
    .sct-content .nostot .container {
        display: grid;
        gap: 1rem;
        grid-template-columns: repeat(3, 1fr);
    }
}
.nostot .nosto {
    margin-bottom: 1.5rem;
    overflow: hidden;
    position: relative;
}
@media screen and (min-width: 64em) {
    .nostot .nosto {
        margin-bottom: 0;
    }
}
.nostot .thumb {
    height: 320px;
    overflow: hidden;
}
.nostot img {
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: 50% 50%;
    object-position: 50% 50%;
    width: 100%;
}
.nostot .caption {
    background: #fff;
    background: linear-gradient(0deg, hsla(0, 0%, 100%, 0) 50%, rgba(35, 31, 32, 0.6));
    bottom: 0;
    color: #fff;
    left: 0;
    padding: 0 1.5rem;
    position: absolute;
    right: 0;
    text-align: left;
    top: 0;
    transition: all 0.2s linear;
    z-index: 1;
}
.nostot .nosto h3 {
    color: #fff;
    font-size: clamp(1.2rem, 1vw + 1rem, 1.4rem);
    line-height: 1.2;
    margin: 1rem 0;
    padding: 0.5rem 0 0;
}
@media screen and (max-width: 559px) {
    .nostot .nosto h3 {
        padding-top: 1rem;
    }
}
.nostot .nosto p {
    font-weight: 400;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.2s linear;
}
.nostot .nosto:hover .caption p {
    opacity: 1;
    transform: translateY(0);
}
.nostot .nosto:before {
    background: rgba(35, 31, 32, 0.8);
    bottom: 0;
    content: "";
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: opacity 0.2s linear;
    z-index: 1;
}
.nostot .nosto:hover:before {
    opacity: 1;
}
.nostot.show-excerpt a {
    background-color: #f8f4f1;
}
.nostot.show-excerpt .nosto {
    height: 100%;
    opacity: 1;
}
.nostot.show-excerpt .nosto .thumb {
    max-height: 250px;
    position: relative;
}
.nostot.show-excerpt .nosto .thumb:after {
    background-color: rgba(0, 0, 0, 0.8);
    content: "";
    inset: 0;
    opacity: 0;
    position: absolute;
    transition: opacity 0.2s linear;
}
.nostot.show-excerpt .nosto:after,
.nostot.show-excerpt .nosto:before {
    display: none;
}
.nostot.show-excerpt .nosto .caption {
    background: transparent;
    color: #464646;
    opacity: 1;
    padding-bottom: 3rem;
    position: relative;
}
.nostot.show-excerpt .nosto .caption h3 {
    color: #464646;
}
.nostot.show-excerpt .nosto .caption p {
    opacity: 1;
    transform: none;
}
.nostot.show-excerpt .nosto span.read-more {
    bottom: 1.5rem;
    color: #000000;
    left: 1.5rem;
    position: absolute;
}
.nostot.show-excerpt .nosto:hover .thumb {
    background-color: #e3d5ca;
}
.nostot.show-excerpt .nosto:hover .thumb:after {
    opacity: 0.8;
}
.nostot.show-excerpt .nosto:hover span.read-more {
    color: #000000;
}
.logot-lohko {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 4rem;
    margin-top: 3rem;
}
.logot-lohko img {
    max-height: 60px;
    max-width: 100%;
    -o-object-fit: contain;
    object-fit: contain;
    -o-object-position: center;
    object-position: center;
}
.container {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    width: 100%;
}
.content-wrapper {max-width:1400px; width:100%; margin:0 auto; display:flex; flex-flow:wrap;}
.custom-slider-block .content-wrapper {justify-content: center;text-align:center;}
.single-post .content-wrapper {max-width:980px;}
.sct-padd {
    padding: 0rem !important;
}
@media screen and (max-width: 559px) {
    .grid-showfirst > div:not(:first-of-type) {
        display: none;
    }
}
.x-pos-right {
    position: absolute;
    right: 0;
    top: 0;
}
.x-pos-left {
    left: 0;
    position: absolute;
    top: 0;
}
.x-flx-b {
    justify-content: center;
}
.x-flx-b,
.x-flx-v {
    align-items: center;
    display: flex;
}
.x-flx-h {
    display: flex;
    justify-content: center;
}
.grid {
    display: flex;
    flex-wrap: wrap;
}
.grid > div {
    flex: 1;
}
.grid-gutter {
    margin-left: -1em;
    margin-right: -1em;
}
.grid-gutter > div {
    margin: 0 1em;
}
.img-cover {
    overflow: hidden;
    position: relative;
}
.img-cover img {
    display: inline-block;
    left: 50%;
    max-width: none;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}
@media screen and (min-width: 560px) {
    .grid-table {
        display: table;
        table-layout: fixed;
        width: 100%;
    }
    .grid-table > div {
        display: table-cell;
        vertical-align: top;
    }
}
@media screen and (min-width: 768px) {
    .grid-sisalto {
        display: flex;
        width: 100%;
    }
    .grid-sisalto > .grid-sisaltoalue {
        width: 77%;
    }
}
html {
    -webkit-tap-highlight-color: transparent;
    background-color: #fff;
    font-family: "refrigerator-deluxe", sans-serif;
font-style: normal;
    font-size: 14px;
    scroll-behavior: smooth;
    font-weight:400;
}

html,body {font-weight:300 !important;}
@media screen and (min-width: 560px) {
    html {
        font-size: 16px;
    }
}
svg {
    height: 1em;
    width: 1em;
}

a:hover {
    color: #444;
}
p {line-height:2rem;}

.btn-primary {
  position: relative;
  color: #fff !important;
  z-index: 1;
  font-weight:300;
  background: #de6a46;
  border:none !important;
}
.btn-primary:hover {
   background: #fff;
   color:#013346 !important;
}
.btn-secondary {
    background:#de6a46 !important;
    color:#fff;
}
.btn-secondary:hover {
     background: #fff !important;
     border: none;
     color:#013346;
}
.btn-secondary {border:none !important;}

@media (max-width:767px) {
    .sct-content {font-size:16px;}
    .sct-padd {padding:0 !important;}
}
@media (max-width:565px) {
    .sct-content {font-size:14px;}
}

  /* -------------------
   PERUSPohja & yleiset
------------------- */

.logot {
background: #002735;
}
.logot ul {
    margin: 0;
    padding: 40px;
    list-style: none;
    display: flex;
    flex-flow: wrap;
    justify-content: center;
}
.logot ul li {
    flex: none;
}
.logot ul li a {
    text-transform: uppercase;
    color: #fff;
    padding: 10px 10px;
}
.logot ul li a:hover {
    color:#de6a46;
}

@media (max-width:1600px) {
    .logot ul li {
        flex: 0 0 16.66%;
    }
    .logot ul li a{display:block; text-align:left; padding: 3px 10px 3px 0px;}
    .logot ul {justify-content: left;}
}
@media (max-width:740px) {
    .logot ul li {
        flex: 0 0 20%;
    }
}
@media (max-width:520px) {
    .logot ul li {
        flex: 0 0 25%;
    }
}
@media (max-width:420px) {
    .logot ul li {
        flex: 0 0 33.33%;
    }
}
.custom-two-column-block-unique {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 50px 0px;
  background: #0f3748;
  flex-wrap: wrap;
  color:#fff;
  margin: 0;
}
.custom-two-column-block-unique.white-block {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 50px 0px;
  background: #fff;
  flex-wrap: wrap;
  color:#013346;
  margin: 0;
}
.custom-two-column-block-unique.image-right .content-wrapper {
  flex-direction: row-reverse;
}

.custom-two-column-block-unique .left-image-unique,
.custom-two-column-block-unique .right-content-unique {
  flex: 0 0 50%;
}
.custom-two-column-block-unique .right-content-unique {align-content:center;}
.custom-two-column-block-unique .left-image-unique {
  padding:0 15px;
  margin:-110px 0;
  position:relative;
  background: #fff;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.custom-two-column-block-unique .left-image-unique svg {
  color: #fff;
  width: 70%;
  height: auto;
}
.left-image-unique:before {
    content: '';
    padding-top: 114.3%;
    display: block;
}
.custom-two-column-block-unique .left-image-unique img {
height: calc(100% - 50px) !important;
    width: calc(100% - 40px) !important;
    object-fit: cover;
    display: flex;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 25px;
    bottom: 25px;
    z-index: 100;
    background-position: center;
    background-size: auto 100%;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.custom-two-column-block-unique .left-image-unique svg .cls-1 {
  fill: #fff;
}
.wp-block-columns {margin:0;}
.custom-two-column-block-unique h2, .custom-two-column-block-unique h1 {
  font-size: 62px;
  color: #fff;
  text-transform: uppercase;
  margin: 0;
  font-weight:800;
}
.custom-two-column-block-unique.white-block h2, .custom-two-column-block-unique.white-block h1 {
    color: #013346;
}
.custom-two-column-block-unique h1+h2 {
    color:#fff;
    font-size:24px;
}
.custom-two-column-block-unique .text-content-unique {
  padding: 40px 20px 40px 50px;
}

.custom-two-column-block-unique .text-content-unique ul svg {
  fill: #68aa96 !important;
  position: absolute;
  left: 10px;
  top: 4px;
}
.custom-two-column-block-unique .text-content-unique ul svg .cls-1 {
    fill: #68aa96 !important;
}
.custom-two-column-block-unique .text-content-unique ul li {
  position: relative;
}

.custom-slider-block {display:flex; flex-flow:wrap;
background-size: auto 100%;
background-position:center;
    position:relative;
    color:#fff;
    padding:250px 0 250px 0;
    background-size:cover;
}
body:not(.home) .custom-slider-block {padding:250px 0 150px 0; background-size:cover;}
.custom-slider-block:before {
    content:'';
    position:absolute;
    top:0;
    left:0;
    bottom:0;
    right:0;
    opacity:0.4;
    background:linear-gradient(90deg, #000000, transparent);
}
.custom-slider-block:after {
    content:'';
    position:absolute;
    top:0;
    left:0;
    height:200px;
    right:0;
    opacity:1;
    background:linear-gradient(180deg, #013346, transparent);
}
.custom-slider-block .content-wrapper {position:relative;z-index:1;}
  .slide1 {
    border-radius:20px;
    text-align:center;
    padding:40px;
    max-width:400px;
    justify-self: center;
  }
  .btn-primary, .btn-secondary {
    padding:20px 30px;
    font-weight:800 !important;
    text-transform: uppercase;
    display:inline-block;
  }

  .custom-slider-block .left-content h1 {margin:0; font-size:40px; line-height:40px;margin-bottom:15px;font-weight:800 !important;
    display:inline-block;
    position:relative;
    color:#fff;
    text-transform:uppercase;
}

  .custom-slider-block h2, .single-post .custom-slider-block .left-content h1 {margin:0;font-size:150px;
font-weight:900;
text-transform: uppercase;
line-height:0.8em;
  }
  .single-post .custom-slider-block .left-content h1 {line-height:1em}
  .single-post .custom-slider-block .left-content {max-width:70%; flex: 0 0 70%;}
  body:not(.home) .custom-slider-block h2, .single-post .custom-slider-block .left-content h1 {
    font-size:120px;
}
  .custom-slider-block .left-content .text {margin:30px 0;font-weight:300; font-size:20px; line-height:2rem;}



.logos {display:flex; justify-content: center;margin-top:50px;}
  .logos img {max-width:35px; height:auto; margin:0 10px !important;}
.full-basic-content {padding:50px 20px;}
.full-basic-content h2:nth-child(1) {font-size:42px; color:#A30006;}


@keyframes pressEffect {
  0%, 100% {
    transform: translateY(0) scale(1);

  }
  50% {
    transform: translateY(4px) scale(0.95);
  }
}

div.rainbow::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  right: 3px;
  bottom: 3px;

  border-radius: 90px;
  z-index: -1;
  background: #fff; /* taustaväri tekstin taakse */
}

#animated-input {
  width:100%;
  padding:15px 20px;
  border:1px solid #ddd;
  border-radius:30px;
  text-align: center;
  margin-top:50px;
  font-size:14px;
  color:#212121;
  pointer-events: none;
}
.gemini-icon {max-width:200px;}

  .slide1 {padding-top:80px !important;border:1px solid #ddd; padding-bottom:20px; margin:50px 0;}
/* Linkit ja painikkeet */
a.rainbow-unique, a.rainbow {
  position: relative;
  display: inline-block;
  padding: 1em 1.5em;
  border-radius: 90px;
  line-height:1.5rem;
  color: #fff;
  z-index: 1;
  font-weight: 300;
  background: linear-gradient(153deg, #f6b93b, #e55039, #5f27cd, #1dd1a1);
  margin: 15px 0 0 0;
}

a.rainbow-unique::before, a.rainbow::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  right: 3px;
  bottom: 3px;
  border-radius: 90px;
  z-index: -1;
  background: #000;
}

a.rainbow-unique:hover::before, a.rainbow:hover::before {
  background: none;
}

h2.rainbow {
  position: relative;
  display: inline-block;
  padding: 0.6em 1.5em;
  border-radius: 90px;
  color: #fff;
  z-index: 1;
  font-weight: 300;
  background: linear-gradient(153deg, #f6b93b, #e55039, #5f27cd, #1dd1a1);
  margin: 15px 0 0 0;
}

h2.rainbow::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  right: 3px;
  bottom: 3px;
  border-radius: 90px;
  z-index: -1;
  background: #000;
}


/* AI block */

.custom-ai-block {
  display: flex;
  flex-flow: wrap;
  padding: 40px 0;
  overflow: hidden;
  background: #000;
  color: #fff;
  border-radius: 20px;
}

.left-ai, .right-ai {
  flex: 0 0 50%;
  max-width: 50%;
  box-sizing: border-box;
  padding: 1rem;
}

.right-ai {
  align-content: center;
  padding-right: 0;
  text-align: right;
}

.left-ai {
  text-align: center;
  padding: 5rem 3rem;
}

.ai-sisalto {
  padding: 10px 50px;
}

.ai-samples {
  display: flex;
  gap: 10px;
  max-width: 400px;
  margin: 0 auto;
}

.ai-sample {
  box-sizing: border-box;
  flex: 1 1 50%;
  max-width: 50%;
  padding: 20px;
  border: 1px solid #3F4046;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  border-radius: 10px;
}

.ai-input {
  background: #2E303D;
  border-radius: 50px;
  max-width: 430px;
  border: 1px solid #707070;
  color: #C2C4D1;
  margin: 20px auto 0 auto;
  padding: 15px 30px;
  font-size: 16px;
  text-align: left;
}

.ai-kuva {
  width: auto;
  max-height: 500px;
}

.ai-laatikot {
  width: 800px;
  position: relative;
  height: 380px;
}

.laatikko-ai {
  height: 120px;
  background: #fff;
  width: 100%;
  position: absolute;
  box-sizing: border-box;
  padding: 10px;
}

.laatikko-ai1, .laatikko-ai2, .laatikko-ai4 {
  opacity: 0.25;
  border-color: #ddd;
}

.s-result-box {
  border-radius: 12px;
  padding: 15px;
  align-items: center;
  background-color: #fff;
  max-width: 700px;
  margin: 0 auto;
  box-sizing: border-box;
}

.ai-laatikot .s-result-box {
  display: flex;
}

.s-result-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.s-result-header {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 17px;
  color: #4a4a4a;
}

.laatikko-ai1 .s-result-header,
.laatikko-ai2 .s-result-header,
.laatikko-ai4 .s-result-header,
.ai-laatikot .rating-stars {
  display: flex;
  align-items: center;
  gap: 3px;
  font-weight: 600;
  color: #444;
  font-size: 13px;
}

.ai-laatikot .rating-stars .star {
  color: #f1c40f;
  font-size: 15px;
}

.ai-laatikot .review-count {
  color: #999;
  font-size: 15px;
  margin-left: 4px;
}

.s-result-metrics {
  display: flex;
  align-items: center;
}

.ai-laatikot .rank {
  padding: 2px 8px;
  font-size: 10px;
  line-height: 14px;
  width: 60px;
  height: 15px;
}

.ai-laatikot .rank-state1,
.ai-laatikot .rank-state2,
.ai-laatikot .rank-state3 {
  position: absolute;
  left: 0;
  right: 0;
  top: 1px;
  bottom: 0;
}

.rank-percentage {
  position: relative;
  color: #28a745;
  font-weight: 600;
  font-size: 16px;
  height: 24px;
}

.s-result-description {
  color: #cdbdb6;
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 15px;
}

.s-result-description span {
  width: 45%;
  background-color: #eee;
  border-radius: 6px;
  height: 10px;
}

.s-result-description span:nth-child(1) {
  width: 52%;
}

.s-result-description span:nth-child(2) {
  width: 30%;
}

.s-result-description span:nth-child(3) {
  width: 35%;
}

.s-result-description span:nth-child(4) {
  width: 40%;
}

.s-result-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 12px;
  white-space: nowrap;
  flex-direction: column;
  width: 70px;
}

.s-result-link svg {
  width: 24px;
  height: 24px;
}

.s-result-link:hover {
  color: #2a57e6;
}

.s-result-link:hover svg {
  fill: #2a57e6;
}

/* Slider block */
.custom-slider-block {
  display: flex;
  flex-flow: wrap;
}

.left-content,
.right-slider {
  flex: 0 0 70%;
  max-width: 70%;
  box-sizing: border-box;
  padding: 1rem;
}

.left-content {
  align-content: center;
}

.left-content h1 {
  margin: 0;
  font-size: 90px;
  font-weight: 800;
  display: inline-block;
  position: relative;
}

.left-content h3 {
  margin: 0;
  font-size: 40px;
}

.left-content .text {
  margin: 30px 0;
  font-weight: 300;
  font-size: 20px;
  line-height: 2rem;
}

/* Chat container */
.chat-container {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  width: 100%;
  height: 500px;
  border: 1px solid #eee;
  border-radius: 10px;
  background: #fff;
  padding: 16px;
  margin: 40px auto;
  font-size: 15px;
  line-height: 18px;
}

.messages {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.message {
  margin: 8px 0;
  padding: 12px;
  border-radius: 10px;
  max-width: 75%;
  white-space: pre-wrap;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.message.user {
  background: #000;
  align-self: flex-end;
  color: #fff;
  max-width: 50%;
}

.message.bot {
  align-self: flex-start;
  color: #000;
  background: #e9e9e980;
  max-width: 100%;
}
.message.bot p {margin-top:0 !important; margin-bottom:0 !important;}
.message.bot h4 {
    font-weight:700;
    font-size:17px;
    margin:15px 0 7px 0 !important;
}

.input-container {
  display: flex;
  border-top: 1px solid #eee;
  padding-top: 8px;
}

.fake-input {
  flex: 1;
  padding: 12px;
  font-size: 15px;
  border-radius: 25px;
  border: none;
  background: #e9e9e980;
  color: #aaa;
  height: 40px;
  outline: none;
  line-height: 15px;
  white-space: pre-wrap;
  user-select: none;
}

.fake-input.typing {
  color: #000;
}

.fake-input.typing::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 16px;
  background: black;
  margin-left: 2px;
  animation: blink 1s step-start infinite;
  vertical-align: bottom;
}

.message.welcome-message {
  text-align: center;
  margin: 0 auto;
  font-size: 22px;
  line-height: 24px;
  padding: 0;
  background: none;
}

/* Spinner */
.spinner {
  width: 12px;
  height: 12px;
  border: 2px solid #0b93f6;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  float:left;
  margin-right:7px;
}

/* Animated checklist */
.animated-checklist {
  max-width: 440px;
  width: 100%;
  margin: -20px 0;
}

.check-desk {
  display: flex;
  flex-flow: wrap;
}

.check-desk span {
  width: 45%;
  background-color: rgba(255,255,255,0.2);
  border-radius: 6px;
  height: 10px;
  margin: 2px;
}

.check-desk span:nth-child(1) {
  width: 52%;
}

.check-desk span:nth-child(2) {
  width: 30%;
}

.animated-checklist .check-wrap {
  list-style: none;
  padding: 0;
  margin: 0;
}

.animated-checklist .check-wrap .check-item {
  position: relative;
  padding: 8px 5px 8px 3rem;
  margin: 1rem 0;
  color: #fff;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  line-height: 1.4;
  user-select: none;
  font-weight: 700;
  text-align: left;
  border: 1px solid rgba(255,255,255,0.2);
}

.animated-checklist .check-item::before {
  content: '';
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  box-sizing: border-box;
  transition: background-color 0.3s, border-color 0.3s;
}

.animated-checklist .check-item.checked::before {
  background: #68aa96;
  border-color: transparent;
}

.animated-checklist .check-item.checked::after {
  content: '';
  width: 10px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  position: absolute;
  left: 20px;
  top: 22px;
  transform: rotate(-45deg);
  color: white;
  font-weight: bold;
  font-size: 1rem;
}

/* Animations for AI boxes */
.laatikko-ai3 {
  top: 250px;
  left: 0;
  right: 0;
  animation: laatikko-ai3 5s ease-in-out infinite;
}

.laatikko-ai1 {
  top: 0px;
  left: 0;
  right: 0;
  animation: laatikko-ai1 5s ease-in-out infinite;
}

.laatikko-ai2 {
  top: 120px;
  left: 0;
  right: 0;
  animation: laatikko-ai2 5s ease-in-out infinite;
}

/* Keyframes */

@keyframes laatikko-ai3 {
  0% {
    top: 260px;
    transform: scale(1);
  }

  25% {
    transform: scale(1.1);
  }

  30% {
    transform: scale(1.1);
  }

  33% {
    top: 130px;
    transform: scale(1);
  }

  40% {
    top: 130px;
    transform: scale(1);
  }

  65% {
    transform: scale(1.1);
  }

  70% {
    transform: scale(1.1);
  }

  73% {
    top: 0px;
    transform: scale(1);
  }

  92% {
    top: 0px;
    transform: scale(1);
  }

  100% {
    top: 260px;
  }
}

@keyframes laatikko-ai1 {
  0% {
    top: 0px;
  }

  33% {
    top: 0px;
  }

  40% {
    top: 0px;
  }

  73% {
    top: 130px;
    transform: scale(1);
  }

  92% {
    top: 130px;
    transform: scale(1);
  }

  100% {
    top: 0px;
  }
}

@keyframes laatikko-ai2 {
  0% {
    top: 130px;
  }

  33% {
    top: 260px;
  }

  40% {
    top: 260px;
  }

  73% {
    top: 260px;
    transform: scale(1);
  }

  92% {
    top: 260px;
    transform: scale(1);
  }

  100% {
    top: 130px;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes dots {
  0%,
  20% {
    color: rgba(0, 0, 0, 0);
    text-shadow: 0.25em 0 0 rgba(0, 0, 0, 0), 0.5em 0 0 rgba(0, 0, 0, 0);
  }

  40% {
    color: black;
    text-shadow: 0.25em 0 0 rgba(0, 0, 0, 0), 0.5em 0 0 rgba(0, 0, 0, 0);
  }

  60% {
    text-shadow: 0.25em 0 0 black, 0.5em 0 0 rgba(0, 0, 0, 0);
  }

  80%,
  100% {
    text-shadow: 0.25em 0 0 black, 0.5em 0 0 black;
  }
}





  .inline-blocks {
    margin: 0 auto;
    padding:0;
}
.inline-blocks h2 {
  font-size:50px;
  font-weight:400;
  text-align:center;
  margin:0 auto 30px auto;
  line-height:3.2rem;
}
.inlines-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
    width:100%;
    padding:0px;
}

.inline-item {
    width: 100%;
    flex: 1;
    max-width: 100%;
    padding: 80px 30px;
    text-align:center;
    display:flex;
    flex-flow: column;
    background:#de6b47;
    color:#fff;
}
.inline-item:nth-child(2) {background:#c15939;}
.inline-item h2 {font-size:40px; font-weight:800;line-height:40px; margin:0;margin-bottom:20px;text-transform: uppercase;}
.inline-item h3 {
    padding:0;
    margin:0;
    font-weight:800;
    font-size:60px;
}

.inline-item a {
  font-weight:800;
  color:#fff;
}
.inline-item a:hover {
  color:#212121;
}
.inline-item a:after {
  content:' ›';
}



.palstat {gap:0;background:#de6b47;padding: 50px 0;}
.palstat .wrapper {max-width:1400px; margin: 0 auto;gap:0;}
.palstat .wp-block-column {
    padding:50px 30px;
color:#fff;
}
.palstat h2 {
    color:#fff;
    font-weight:800;
    font-size:36px;
    text-transform: uppercase;
}

.palstat .wp-block-column:nth-child(2) {
    border-left:2px solid #c15939;
    border-right:2px solid #c15939;
}


/* -------------------
   MEDIA QUERIES
------------------- */


/* Common media queries for multiple components */

@media (max-width:1500px) {
    .home .custom-slider-block {background-size: auto 100%;background-position:center;}
}

@media (max-width:1340px) {
    .section-topbar-logo {
        max-width: 170px;
    }
}

@media (max-width:1220px) {
.inline-item h3 {font-size:48px;}
body:not(.home) .custom-slider-block h2 {
    font-size:80px;
}
body:not(.home) .custom-slider-block .left-content h1 {
    font-size:30px;
}

}
@media (max-width:1160px) {

}
@media (max-width: 1100px) {
  h2.rainbow {
    padding: 0.6rem 1.5rem;
    font-size: 26px;
  }
  .ai-sisalto {
    font-size: 16px;
    padding: 10px 25px;
  }
  .left-ai {
    padding-right: 1rem;
  }

  .left-content h1 {
    font-size: 72px;
  }

  .left-content .text {
    font-size: 17px;
    line-height: 1.7rem;
  }

  .left-content a {
    font-size: 16px;
  }

  
  .custom-slider-block .left-content h1 {font-size:24px; line-height:28px;}
  .custom-slider-block h2, .single-post .custom-slider-block .left-content h1 {margin:0;font-size:65px;}
}
@media (max-width:1100px) {
.custom-slider-block .left-content .text {font-size:17px;line-height:1.7rem;}
.custom-slider-block .left-content a {font-size:16px;}
}

@media (max-width: 1024px) {

  .right-slider {
    max-width: 400px;
    padding: 0;
  }
  .left-content, .single-post .custom-slider-block .left-content {
    flex: 0 0 calc(100% - 400px);
    max-width: 100%;
  }

  
}

@media (max-width:991px) {
    .custom-two-column-block-unique .left-image-unique {
        margin-left:auto;
        margin-right:auto;
        margin-bottom:20px;
    }
    .custom-two-column-block-unique .right-content-unique {
        margin-left:auto;
        margin-right:auto;
        flex: 0 0 100%;
    }
    .section-topbar-bg {padding-left:10px; padding-right:10px;}
        .left-content, .single-post .custom-slider-block .left-content {
        flex: 0 100%;
        max-width: 100%;
        text-align:center;
    }
    #mega-menu-wrap-menu-1 .mega-menu-toggle + #mega-menu-menu-1 {
        background:#013346 !important;
        border-color:#003f57;
    }
    #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item.mega-toggle-on > a.mega-menu-link {
        background:#003f57;
        color:#fff;
    }
    #mega-menu-wrap-menu-1 #mega-menu-menu-1 li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator {
        color:#de6a46;
    }
    #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-flyout ul.mega-sub-menu, #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:hover, #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:focus {
        background:#003f57;
    }
    #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
        background:#014c69;
        color:#fff;
        text-transform: uppercase;
    }
    #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link {color:#fff;}
    #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link, #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link, #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item.mega-current-page-ancestor > a.mega-menu-link {
        background:#003f57;
    }
.inline-item h3 {font-size:34px;}
.section-topbar-bg.fixed-margin {
        background: #013346;
        border-bottom:1px solid #003f57;
        padding-top:5px;
        padding-bottom: 5px;
    }
    .linkkilaatikot-tekstilla.has-laatikko.has-tumma-taustavari .linkkilaatikko {
    top: 10px;
    left: 8px;
    right: 8px;
    bottom: 10px;
}
.section-topbar-logo img {max-height:50px;}
.laatikot {margin-top:-90px;}
}

@media (max-width: 800px) {
  .left-content h1, .single-post .custom-slider-block .left-content h1 {
    font-size: 56px;
  }

  .left-content h3 {
    font-size: 24px;
  }

  .left-content .text {
    font-size: 15px;
    line-height: 1.5rem;
  }

}

@media (max-width: 767px) {

.inline-item  {
    flex: 1 1 calc(100%);
    max-width: 100%;
}
.slide1 {
    padding-top: 20px;
    border: none;
    padding-bottom: 0px;
}
.logos {margin-top:20px;}
.logos img {
    max-width: 29px;
    height: auto;
    margin: 0 6px !important;
}
.gemini-icon {
    max-width: 140px;
}
#animated-input {
  padding:13px 15px;
  margin-top:25px;
  font-size:13px;
  pointer-events: none;
}
  /* Custom two column block */
  .custom-two-column-block-unique .text-content-unique {
    line-height: 1.5rem;
  }
  .custom-two-column-block-unique h2 {font-size:32px; line-height:1.2em;}
  .custom-two-column-block-unique .slide {
    padding-left: 0;
    padding-right: 0;
  }

body:not(.home) .custom-slider-block h2 {
    font-size:64px;
}
body:not(.home) .custom-slider-block .left-content h1 {
    font-size:24px;
}
  /* AI block */
  .custom-ai-block {
    margin-top: 40px;
  }

  h2.rainbow {
    padding: 0.4rem 1.5rem;
    font-size: 22px;
  }

  .ai-sisalto {
    font-size: 14px;
    padding: 10px 15px;
  }

  .left-ai {
    padding-right: 1rem;
    padding-left: 1.5rem;
    flex: 0 0 60%;
    max-width: 60%;
  }

  .right-ai {
    flex: 0 0 40%;
    max-width: 40%;
  }

  .ai-sample {
    padding: 20px 10px;
    font-size: 10px;
  }

  /* Slider & chat */
  .right-slider,
  .left-content {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .right-slider {
    order: 1;
  }

  .left-content {
    order: 2;
    text-align: center;
    margin-top: 0;
  }

  .fake-input {
    font-size: 12px;
  }

  .message.welcome-message {
    font-size: 16px;
    line-height: 20px;
  }

  .chat-container {
    height: 390px;
    margin-bottom: 20px;
  }

  .message {
    font-size: 13px;
  }

  .left-content h1 {
    font-size: 36px;
  }

  /* Animated checklist (inside media 767) */
  .animated-checklist .check-wrap {
    display: flex;
    flex-flow: wrap;
    gap: 3px;
  }

  .animated-checklist .check-wrap .check-item {
    padding: 8px 5px 8px 30px;
    flex: 0 0 calc(50% - 3px);
    font-size: 10px;
    width: 100%;
    max-width: 50%;
    margin: 0;
  }

  .animated-checklist .check-item::before {
    width: 15px;
    height: 15px;
    top: 8px;
    left:8px;
    transform: unset;
  }

  .animated-checklist .check-item.checked::after {
    height: 2px;
    width: 6px;
    top: 13px;
    left: 12px;
  }

  .check-desk span {
    height: 5px;
  }

  .animated-checklist {
    margin: 20px 0 0 0;
    overflow: hidden;
  }
  .custom-two-column-block-unique, .custom-two-column-block-unique.white-block {padding:30px; margin:0;}
  .custom-two-column-block-unique .left-image-unique {padding:15px 0; margin-bottom:15px; min-height:350px;}
  .custom-two-column-block-unique .laatikot {
    height: 300px;
  }
  .custom-two-column-block-unique .text-content-unique {
    padding:0px;
  }
  .custom-two-column-block-unique .right-content-unique {
    flex: 0 0 100%;
  }
}
@media (min-width:651px) {
    .linkkilaatikot-tekstilla > div:nth-child(3) {displaY:none;}
}
@media (max-width:650px) {
.inline-item p {margin-top:0;}
.single-post .custom-slider-block .left-content h1 {font-size:42px;}
.custom-slider-block {
    padding: 150px 0 130px 0;
}
.linkkilaatikot-tekstilla > div:nth-child(3) {margin:-14% 50px;}
.custom-two-column-block-unique .left-image-unique {margin: -50px auto 10px auto;max-width:75%;flex: 0 0 75%}
.linkkilaatikot-tekstilla {gap: 0;}
.linkkilaatikot-tekstilla.col-4 > div {
    width: calc(50% - 1rem);
}
.left-image-unique:before {padding-top:100%;}
.custom-two-column-block-unique .right-content-unique {
    margin-top: 30px;
}
.linkkilaatikot-tekstilla{position: relative;}
.linkkilaatikot-tekstilla:before {
    content: '';
    position: absolute;
    height: 49vw;
    width: 43vw;
    background: #eee;
    top: 50%;
    transform: translateY(-50%);
    left: calc(100% - 25vw);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.linkkilaatikot-tekstilla:after {
    content: '';
    position: absolute;
    height: 49vw;
    width: 43vw;
    background: #eee;
    top: 50%;
    transform: translateY(-50%);
    right: calc(100% - 25vw);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    /* padding-top: 114%; */
}
}
/*
.linkkilaatikot-tekstilla.has-laatikko.has-tumma-taustavari > div:nth-child(1) .linkkilaatikko,
.linkkilaatikot-tekstilla.has-laatikko.has-tumma-taustavari > div:nth-child(2) .linkkilaatikko,
.linkkilaatikot-tekstilla.col-4 > div:nth-child(1),
.linkkilaatikot-tekstilla.col-4 > div:nth-child(2) {
    clip-path: polygon(50% 0%, 100% 25%, 100% 100%, 50% 100%, 0 100%, 0 25%);
}
.linkkilaatikot-tekstilla.has-laatikko.has-tumma-taustavari > div:nth-child(3) .linkkilaatikko,
.linkkilaatikot-tekstilla.has-laatikko.has-tumma-taustavari > div:nth-child(4) .linkkilaatikko,
.linkkilaatikot-tekstilla.col-4 > div:nth-child(3),
.linkkilaatikot-tekstilla.col-4 > div:nth-child(4) {
    clip-path: polygon(50% 0%, 100% 0%, 100% 75%, 50% 100%, 0 75%, 0 0);
}
*/
@media (max-width:560px) {
    .linkkilaatikot-tekstilla .linkkilaatikko .nappi {
        margin-left:10px;
        margin-right:10px;
    }
    .linkkilaatikot-tekstilla.has-laatikko .linkkilaatikko .linkkilaatikkoteksti {padding:1.5rem 10px;}
}

@media (max-width: 540px) {
    .single-post .custom-slider-block .left-content h1 {font-size:34px;}
  .ai-input {
    padding: 12px 30px;
    font-size: 11px;
  }

  .laatikko-ai {
    height: 90px;
  }

  .laatikko-ai3 {
    top: 200px;
    left: 0;
    right: 0;
    animation: laatikko-ai3 5s ease-in-out infinite;
  }

  .laatikko-ai1 {
    top: 0px;
    left: 0;
    right: 0;
    animation: laatikko-ai1 5s ease-in-out infinite;
  }

  .laatikko-ai2 {
    top: 100px;
    left: 0;
    right: 0;
    animation: laatikko-ai2 5s ease-in-out infinite;
  }

  .ai-laatikot {
    height: 290px;
  }

  .s-result-header {
    font-size: 13px;
  }

  .ai-laatikot .rank {
    font-size: 9px;
  }

  .ai-laatikot .rating-stars .star {
    font-size: 9px;
  }

  .ai-laatikot .review-count {
    font-size: 11px;
  }

  .laatikko-ai1 .s-result-header,
  .laatikko-ai2 .s-result-header,
  .laatikko-ai4 .s-result-header,
  .ai-laatikot .rating-stars {
    font-size: 10px;
  }
  .custom-two-column-block-unique .search-result-link {
    font-size:10px;
    width:50px;
  }
.inline-item h3 {font-size:34px;}
}

@media (max-width: 460px) {
    .inline-item {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
  .left-ai {
    flex: 1;
    max-width: 100%;
    order: 2;
    padding: 35px;
  }
      .custom-slider-block h2, .single-post .custom-slider-block .left-content h1 {
        margin: 0;
        font-size: 50px;
    }
    body:not(.home) .custom-slider-block h2 {
    font-size:44px;
}
body:not(.home) .custom-slider-block .left-content h1 {
    font-size:22px;
}

.custom-two-column-block-unique .left-image-unique {max-width:100%;flex: 0 0 100%}
.inline-item h3 {font-size:34px;}
.custom-two-column-block-unique h2 {font-size:25px;}
  
  .right-ai {
    flex: 0 0 100%;
    max-width: 100%;
    order: 1;
    height: 213px;
    overflow: hidden;
  }

  .ai-laatikot {
    max-width: 260px;
    margin: 0 auto;
  }

  .ai-laatikot .s-result-link {
    display: none;
  }

  .rank-percentage {
    font-size: 11px;
    height: 14px;
  }

  .custom-ai-block {
    padding-bottom: 0;
  }
}


@media (min-width:992px) {
    .section-topbar-bg.fixed-margin {
        background: linear-gradient(180deg, rgba(1, 51, 70, 0.6), transparent);
    }
    #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item:last-child > a.mega-menu-link {background:#de6a46 !important; padding:0 20px; margin-left:10px;color:#fff;}
    #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item:last-child:hover > a.mega-menu-link {background:#fff !important; color:#013346;padding:0 20px;}
    #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item.mega-current-menu-item:last-child > a.mega-menu-link {
        color:#fff;
    }
    #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item.mega-current-menu-item:last-child:hover > a.mega-menu-link {
        color:#013346;
    }
}


.gw-smartflow {
    background: #212121;
    background-repeat: no-repeat;
    background-size: cover;
    padding-block: 5vh;
    background-position: center center;
}

.home .gw-smartflow {
    padding-bottom:80px;
}
@media (max-width: 500px) {
    .gw-smartflow {
        padding-block: 0;
    }
}
