@charset "UTF-8";
/*
Theme Name: Syvinvointi 2025
Author: Pasi Lehtinen ja Mikko Hopia Oy
Author URI: https://mikkohopia.net
Description: ACF-pohjainen joustaviin sisältölohkoihin perustuva sivupohja.
Version: 1.0
*/
/*@font-face {
	font-display: auto;
  font-family: 'Montserrat';
  font-weight: 400;
  src: url(fonts/Montserrat-Regular.ttf);
}*/
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Hopia adds
   ========================================================================== */
div {
  box-sizing: border-box;
}

body {
  background-color: #183724;
  color: #D7D0C4;
  font-family: "larken", "Arial", sans-serif;
  font-size: 20px;
  font-size: 1.25rem;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* body.sticky-header {
} */
iframe {
  aspect-ratio: 16/9;
  height: 100%;
  max-width: 500px;
  width: 100%;
}

.clear {
  clear: both;
  height: 0;
}

body.navi-open main,
body.navi-open footer {
  display: none;
}

@media only screen and (max-width: 1000px) {
  body {
    font-size: 16px;
    font-size: 1rem;
  }
}
@media only screen and (max-width: 600px) {
  body {
    font-size: 14px;
    font-size: 0.875rem;
  }
}
header#top {
  height: 100px;
}

body.sticky-header header#top {
  animation: sticky-header 0.3s normal forwards ease-in-out;
  animation-iteration-count: 1;
  background-color: #fff;
  left: 0;
  position: fixed;
  top: -100px;
  width: 100%;
  z-index: 10;
}

@keyframes sticky-header {
  from {
    top: -100px;
  }
  to {
    top: 0;
  }
}
p.site-title {
  margin: 0;
  padding: 0;
}

p.site-title a {
  background: url("img/trans.png") center center no-repeat;
  background-size: contain;
  box-sizing: border-box;
  display: block;
  height: 50px;
  left: 0px;
  overflow: hidden;
  position: absolute;
  text-indent: 100%;
  transition-duration: 0s;
  top: 0;
  white-space: nowrap;
  width: 100px;
  z-index: 2;
}

@media only screen and (max-width: 1000px) {
  header#top .wrap {
    max-width: calc(100% - 100px);
  }
}
@media only screen and (max-width: 600px) {
  header#top .wrap {
    max-width: calc(100% - 40px);
  }
}
button.hamburger {
  display: none;
}

nav.main-navi > ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 0;
  top: 0;
}
nav.main-navi > ul > li {
  display: block;
  position: relative;
  /* &.current-menu-item > a,
  &.current-menu-parent > a,
  &.current-menu-ancestor > a {
  } */
}
nav.main-navi > ul > li > a {
  display: block;
  padding: 0 22px;
  text-decoration: none;
}
nav.main-navi > ul > li > ul {
  display: none;
}

@media only screen and (max-width: 1000px) {
  nav.main-navi {
    display: none;
    left: -50px;
    min-height: 100vh;
    position: absolute;
    top: 0;
    width: calc(100% + 100px);
    z-index: 1;
  }
  nav.main-navi > ul {
    display: block;
    padding-top: 200px;
    position: relative;
    right: auto;
    text-align: center;
    top: auto;
  }
  nav.main-navi > ul > li {
    display: block;
    margin-bottom: 30px;
  }
  nav.main-navi > ul > li:before, nav.main-navi > ul > li:after {
    display: none;
  }
  nav.main-navi > ul > li > a {
    line-height: 1;
    padding: 0;
  }
  nav.main-navi > ul > li.some {
    display: inline-block;
    margin-left: 0 !important;
    width: 44px;
  }
  nav.main-navi > ul > li.some a {
    box-sizing: border-box;
    line-height: 24px;
    width: 100%;
  }
  button.hamburger {
    background: none;
    border: 0;
    cursor: pointer;
    display: block;
    height: 18px;
    margin: 0;
    outline: none;
    padding: 0;
    position: absolute;
    right: 0;
    top: 43px;
    width: 25px;
    z-index: 5;
  }
  span#nav-icon {
    display: block;
  }
  #nav-icon span {
    display: block;
    position: absolute;
    height: 4px;
    width: 25px;
    background: #fff;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
    width: 100%;
  }
  #nav-icon span:nth-child(1) {
    top: 0;
    transform-origin: left center;
  }
  #nav-icon span:nth-child(2) {
    top: 7px;
    transform-origin: left center;
  }
  #nav-icon span:nth-child(3) {
    top: 14px;
    transform-origin: left center;
  }
  #nav-icon.open span:nth-child(1) {
    transform: rotate(45deg);
    top: 0;
    left: 0;
    width: 25px;
  }
  #nav-icon.open span:nth-child(2) {
    width: 0%;
    opacity: 0;
  }
  #nav-icon.open span:nth-child(3) {
    transform: rotate(-45deg);
    top: 18px;
    left: 0;
    width: 25px;
  }
}
@media only screen and (max-width: 600px) {
  nav.main-navi {
    left: -20px;
    width: calc(100% + 40px);
  }
}
footer .col-wrap {
  display: block;
}

main {
  box-sizing: border-box;
  padding-bottom: 200px;
  position: relative;
}

body.error404 main {
  min-height: 50vh;
}

section.yksi-palsta .wrap {
  max-width: 495px;
}
section.yksi-palsta .col-wrap {
  display: block;
}
section.no-top-margin .col-wrap {
  padding-top: 0;
}
section.top-border .col-wrap {
  border-top: 1px solid #000;
}
section.kaksi-palstaa .wrap {
  padding: 0 150px;
}
section.kaksi-palstaa .col-wrap {
  align-items: center;
}
section.kaksi-palstaa.a-top .col-wrap {
  align-items: flex-start;
}

.wrap {
  clear: both;
  margin: 0 auto;
  max-width: 1440px;
  position: relative;
  z-index: 1;
}

.col-wrap {
  clear: both;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 80px 0;
  position: relative;
  width: 100%;
}

section + section .col-wrap {
  padding-bottom: 0;
}

.no-bot-pad {
  padding-bottom: 0;
}

.no-top-pad {
  padding-top: 0;
}
.no-top-pad .col-wrap {
  padding-top: 0;
}

.password-form {
  min-height: 500px;
  padding-top: 100px;
}

.col-2 {
  width: calc(50% - 75px);
}

.col-3 {
  width: calc(33.33% - 26px);
}

.col-4 {
  width: calc(25% - 30px);
}

@media only screen and (max-width: 1640px) {
  .wrap {
    max-width: calc(100% - 200px);
  }
  body.error404 .wrap {
    max-width: calc(100% - 200px);
  }
}
@media only screen and (max-width: 1100px) {
  section.kaksi-palstaa .wrap {
    padding: 0 80px;
  }
  .col-2 {
    width: calc(50% - 40px);
  }
}
@media only screen and (max-width: 1000px) {
  section.kaksi-palstaa.a-top .col-wrap {
    flex-direction: column;
  }
  section.kaksi-palstaa.a-top .col-wrap .col-2 {
    width: 55%;
  }
  section.kaksi-palstaa.a-top .col-wrap .col-2:first-child {
    padding-bottom: 25px;
  }
  section.kaksi-palstaa.a-top .col-wrap .col-2:last-child {
    padding-left: 45%;
    width: 100%;
  }
  section.kaksi-palstaa.a-top .col-wrap h2.hidden {
    display: none;
  }
  .col-wrap {
    padding: 50px 0;
  }
  section.yksi-palsta .wrap {
    max-width: 370px;
  }
  body.error404 .wrap {
    max-width: calc(100% - 100px);
  }
}
@media only screen and (max-width: 600px) {
  .wrap,
  section.yksi-palsta .wrap,
  section.kaksi-palstaa .wrap {
    max-width: calc(100% - 60px);
  }
  .col-wrap {
    flex-direction: column;
    padding: 30px 0;
  }
  .col-2,
  .col-3,
  .col-4 {
    width: 100%;
  }
  .col-2:first-child {
    padding-bottom: 30px;
  }
  .col-3:first-child, .col-3:nth-child(2) {
    padding-bottom: 20px;
  }
  .col-4:first-child, .col-4:nth-child(2), .col-4:nth-child(3) {
    padding-bottom: 20px;
  }
  section.kaksi-palstaa .wrap {
    padding: 0;
  }
  section.kaksi-palstaa.a-top .col-wrap .col-2 {
    width: 100%;
  }
  section.kaksi-palstaa.a-top .col-wrap .col-2:last-child {
    padding-left: 0;
    width: 100%;
  }
  main {
    padding-bottom: 50px;
  }
  body.error404 .wrap {
    max-width: calc(100% - 60px);
  }
}
.col-wrap img {
  height: auto;
  max-width: 100%;
}

.wp-caption {
  font-size: 14px;
  font-size: 0.875rem;
  max-width: 100%;
}

.aligncenter {
  display: block;
  margin: 0 auto;
}

.alignleft {
  float: left;
  margin: 0 40px 40px 0;
}

.alignright {
  float: right;
  margin: 0 0 40px 20px;
}

div.gform_wrapper {
  margin: 0 auto;
  position: relative;
}
div.gform_wrapper .gform_fields .gfield {
  /* label {
    &.gfield_label {
      display: none;
    }
  } */
}
div.gform_wrapper .gform_fields .gfield input,
div.gform_wrapper .gform_fields .gfield select,
div.gform_wrapper .gform_fields .gfield textarea {
  border: 1px solid #000;
  box-sizing: border-box;
  margin-bottom: 20px;
  padding: 12px 10px;
  width: 100%;
}
div.gform_wrapper .gform_fields .gfield div.ginput_recaptcha {
  margin-bottom: 20px;
  text-align: center;
}
div.gform_wrapper .gform_fields .gfield div.ginput_recaptcha > div {
  margin: 0 auto;
}
div.gform_wrapper .gform_fields .gfield textarea {
  height: 200px;
}
div.gform_wrapper .gform_footer {
  text-align: center;
}
div.gform_wrapper .gform_footer input[type=submit] {
  background-color: #000;
  border: none;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 700;
  padding: 12px 30px;
  transition-duration: 0.3s;
  /* &:hover {
    background-color: $white;
    color: $black;
  } */
}

div.password-form label {
  display: block;
  margin-bottom: 10px;
}

div.gform_validation_container,
p.gform_required_legend {
  display: none;
}

div.gform_validation_errors {
  color: red;
}
div.gform_validation_errors h2 {
  color: red;
  font-family: "larken", "Arial", sans-serif;
  font-size: 16px;
  font-size: 1rem;
  letter-spacing: normal;
}

div.validation_message {
  color: red;
  font-weight: 700;
  margin-top: -10px;
}

@media only screen and (max-width: 1000px) {
  div.gform_wrapper .gform_fields .gfield textarea {
    height: 100px;
  }
}
/* table {
  border-collapse: collapse;
  line-height: 1.6;
  margin: 0 auto;
  margin-bottom: 20px;
  max-width: 460px;
  text-align: right;
  width: 100%;

  &:last-child {
    margin-bottom: 0;
  }
}

table th {
  border-bottom: 1px solid $black;
  border-right: 1px solid $black; 
  padding: 2px 10px;
  text-align: right;
}

table td {
  border-bottom: 1px solid $black; 
  border-right: 1px solid $black; 
  padding: 2px 10px;
  vertical-align: top;
} */
@media only screen and (max-width: 600px) {
  /* table {
    @include fontSize(12px);
  } */
}
a {
  color: #FF6700;
  transition-duration: 0.3s;
}
a.btn {
  background-color: #FF6700;
  background-image: url(img/syvinvointi-logo-vihrea.svg);
  background-position: center right 10px;
  background-repeat: no-repeat;
  background-size: 30px;
  border-radius: 40px;
  color: #183724;
  display: inline-block;
  font-family: "gotham", "Arial", sans-serif;
  font-weight: 700;
  padding: 10px 60px 10px 20px;
  text-decoration: none;
  transform: translateX(-20px);
}
a.btn:hover {
  background-color: #D7D0C4;
}

p,
.col-wrap ul,
.col-wrap ol,
blockquote {
  line-height: 1.5;
  margin: 0;
  margin-bottom: 20px;
  padding: 0;
}

p.ingressi {
  font-size: 32px;
  font-size: 2rem;
  line-height: 1.375;
}

p.orange {
  color: #FF6700;
}

blockquote {
  color: #FF6700;
  font-size: 32px;
  font-size: 2rem;
  font-style: italic;
  line-height: 1.375;
  margin-bottom: 20px;
}
blockquote:last-child {
  margin-bottom: 0;
}
blockquote p {
  line-height: 1.375;
}

.col-wrap ul,
.col-wrap ol {
  padding-left: 20px;
}

.col-wrap p:last-child,
.col-wrap ul:last-child,
.col-wrap ol:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.04;
  margin: 0;
  padding: 0;
}
h1:last-child,
h2:last-child,
h3:last-child,
h4:last-child,
h5:last-child,
h6:last-child {
  margin-bottom: 0;
}
h1.logo,
h2.logo,
h3.logo,
h4.logo,
h5.logo,
h6.logo {
  background-image: url(img/syvinvointi-logo-ruskea.svg);
  background-position: top left;
  background-repeat: no-repeat;
  background-size: 50px;
  padding-top: 70px;
}
h1.hidden,
h2.hidden,
h3.hidden,
h4.hidden,
h5.hidden,
h6.hidden {
  opacity: 0;
}

h1,
h2 {
  font-family: "gotham", "Arial", sans-serif;
  font-size: 48px;
  font-size: 3rem;
  margin-bottom: 30px;
}

h3 {
  font-family: "larken", "Arial", sans-serif;
  font-size: 30px;
  font-size: 1.875rem;
  margin-bottom: 20px;
}

h4 {
  font-family: "gotham", "Arial", sans-serif;
  font-size: 20px;
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.col-wrap p + h2,
.col-wrap p + h3,
.col-wrap p + h4 {
  margin-top: 80px;
}

.center {
  text-align: center;
}

span.tavuviiva {
  display: none;
}

.hide-text {
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
}

em {
  color: #FF6700;
}

@media only screen and (max-width: 1000px) {
  h1,
  h2 {
    font-size: 32px;
    font-size: 2rem;
  }
  p.ingressi,
  blockquote {
    font-size: 24px;
    font-size: 1.5rem;
  }
  a.btn {
    font-size: 20px;
    font-size: 1.25rem;
    transform: translateX(0);
  }
}
@media only screen and (max-width: 600px) {
  h1 {
    font-size: 24px;
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  h2 {
    font-size: 24px;
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  h3 {
    font-size: 20px;
    font-size: 1.25rem;
  }
  p.ingressi,
  blockquote {
    font-size: 20px;
    font-size: 1.25rem;
  }
  p,
  .col-wrap ul,
  .col-wrap ol,
  blockquote {
    line-height: 1.42;
  }
  .col-wrap p + h2,
  .col-wrap p + h3,
  .col-wrap p + h4 {
    margin-top: 50px;
  }
}
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal;
}

.screen-reader-text:focus {
  background-color: #fff;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  -webkit-clip-path: none;
  clip-path: none;
  color: #000;
  display: block;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 20px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

section.hero {
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}
section.hero > img:not(.over-hero, .logo-over-hero, .over-hero-gradient),
section.hero > video {
  display: block;
  height: 710px;
  max-width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
  width: 100%;
  z-index: 1;
}
section.hero > img + video {
  left: 0;
  position: absolute;
  top: 0;
  z-index: 2;
}
section.hero > img.over-hero {
  left: calc(50% - 409px);
  position: absolute;
  top: 0;
  z-index: 1;
}
section.hero > img.logo-over-hero {
  left: calc(50% - 263px);
  position: absolute;
  top: calc(50% - 120px);
  z-index: 1;
}
section.hero > img.over-hero-gradient {
  left: calc(50% - 533px);
  position: absolute;
  top: 0;
  z-index: 1;
}
section.hero div.text-wrap {
  align-items: flex-end;
  display: flex;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
  justify-content: center;
  left: 0;
  padding: 0;
  position: absolute;
  text-align: center;
  top: 0;
  width: 100%;
  z-index: 3;
}
section.hero div.text-wrap div.text {
  max-width: 800px;
}
section.hero div.text-wrap h1 {
  color: #FF6700;
  font-size: 36px;
  font-size: 2.25rem;
  font-weight: 300;
  letter-spacing: 3.6px;
  line-height: 1.2;
  text-transform: uppercase;
}
section.hero div.text-wrap span.line {
  border-bottom: 1px solid #D7D0C4;
  display: inline-block;
  transform: translateY(-7px);
  width: 54px;
}
section.hero div.text-wrap p:last-child {
  margin-bottom: 0;
}
section.hero div.text-wrap p.love {
  font-family: "gotham", "Arial", sans-serif;
  font-size: 24px;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}
section.hero::after {
  background: linear-gradient(180deg, rgba(24, 55, 36, 0) 0%, #183724 100%);
  bottom: 0;
  content: "";
  display: block;
  height: 473px;
  left: 0;
  position: absolute;
  width: 100%;
  z-index: 2;
}

@media only screen and (max-width: 1000px) {
  section.hero > img:not(.over-hero, .logo-over-hero),
  section.hero > video {
    height: 95vw;
  }
  section.hero > img.logo-over-hero {
    top: calc(50% - 125px);
  }
  section.hero div.text-wrap h1 {
    font-size: 30px;
    font-size: 1.875rem;
  }
  section.hero > img.over-hero {
    height: auto;
    left: 10px;
    max-width: calc(100% - 20px);
    width: calc(100% - 20px);
  }
  section.hero div.text-wrap h1,
  section.hero div.text-wrap p.love {
    padding: 0 10px;
  }
  section.hero > img.over-hero-gradient {
    left: 0;
    width: 100%;
  }
}
@media only screen and (max-width: 600px) {
  section.hero {
    overflow: hidden;
  }
  section.hero > img:not(.over-hero, .logo-over-hero),
  section.hero > video {
    height: 120vw;
  }
  section.hero > img.logo-over-hero {
    left: 10vw;
    width: 80vw;
  }
  section.hero div.text-wrap h1,
  section.hero div.text-wrap p.love {
    font-size: 16px;
    font-size: 1rem;
  }
  section.hero div.text-wrap span.line {
    transform: translateY(-5px);
    width: 36px;
  }
  section.hero > img.over-hero {
    left: -50px;
    max-width: calc(100% + 100px);
    width: calc(100% + 100px);
    z-index: 2;
  }
  section.hero > img.logo-over-hero {
    top: calc(50% - 110px);
    z-index: 4;
  }
  section.hero::after {
    height: 400px;
    z-index: 3;
  }
  section.hero div.text-wrap {
    z-index: 5;
  }
}
@media only screen and (max-width: 350px) {
  section.hero div.text-wrap span.line {
    transform: translateY(-4px);
    width: 16px;
  }
}
section.kaksi-palstaa-teksti-kuva .col-wrap {
  align-items: center;
}
section.kaksi-palstaa-teksti-kuva .col-wrap .col-2 {
  width: calc(50% - 75px);
}
section.kaksi-palstaa-teksti-kuva .col-wrap .col-2:last-child img {
  width: 100%;
}
section.kaksi-palstaa-teksti-kuva.col-img-text .col-2:first-child {
  order: 2;
  padding-right: 150px;
}
section.kaksi-palstaa-teksti-kuva.col-img-text .col-2:last-child {
  order: 1;
}
section.kaksi-palstaa-teksti-kuva.col-text-img .col-2:first-child {
  padding-left: 150px;
}
section.kaksi-palstaa-teksti-kuva.bg-grad1 .wrap {
  background-image: url(img/grad1.svg);
  background-position: left top -150px;
  background-repeat: no-repeat;
}
section.kaksi-palstaa-teksti-kuva.bg-grad2 .wrap {
  background-image: url(img/grad1.svg);
  background-position: right -200px top -110px;
  background-repeat: no-repeat;
}
section.kaksi-palstaa-teksti-kuva.bg-grad3 .wrap {
  background-image: url(img/grad1.svg);
  background-position: left bottom -140px;
  background-repeat: no-repeat;
}
section.kaksi-palstaa-teksti-kuva.bg-grad3 .col-wrap {
  padding-bottom: 80px;
}
section.kaksi-palstaa-teksti-kuva.bg-grad4 .wrap {
  background-image: url(img/grad1.svg);
  background-position: right -150px bottom -150px;
  background-repeat: no-repeat;
}
section.kaksi-palstaa-teksti-kuva.bg-grad4 .col-wrap {
  padding-bottom: 80px;
  padding-top: 0;
}

@media only screen and (max-width: 1640px) {
  .wrap {
    max-width: 100%;
  }
}
@media only screen and (max-width: 1500px) {
  section.kaksi-palstaa-teksti-kuva.bg-grad1 .wrap {
    background-position: left top -100px;
    background-size: 75vw;
  }
  section.kaksi-palstaa-teksti-kuva.bg-grad2 .wrap {
    background-position: right -100px top -110px;
    background-size: 75vw;
  }
}
@media only screen and (max-width: 1100px) {
  section.kaksi-palstaa-teksti-kuva.col-img-text .col-2:first-child {
    padding-right: 80px;
  }
  section.kaksi-palstaa-teksti-kuva.col-text-img .col-2:first-child {
    padding-left: 80px;
  }
  section.kaksi-palstaa-teksti-kuva .col-wrap .col-2 {
    width: calc(50% - 40px);
  }
}
@media only screen and (max-width: 1000px) {
  section.kaksi-palstaa-teksti-kuva .col-wrap .col-2 {
    width: calc(50% - 25px);
  }
  section.kaksi-palstaa-teksti-kuva.col-img-text .col-2:first-child {
    width: 55%;
  }
  section.kaksi-palstaa-teksti-kuva.col-img-text .col-2:last-child {
    padding-right: 50px;
    width: 45%;
  }
  section.kaksi-palstaa-teksti-kuva.col-img-text .col-2:last-child img {
    aspect-ratio: 1/1;
    display: block;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center center;
       object-position: center center;
  }
  section.kaksi-palstaa-teksti-kuva.col-text-img .col-2:first-child {
    padding-right: 50px;
    width: 55%;
  }
  section.kaksi-palstaa-teksti-kuva.col-text-img .col-wrap .col-2:last-child {
    width: 45%;
  }
  section.kaksi-palstaa-teksti-kuva.col-text-img .col-wrap .col-2:last-child img {
    aspect-ratio: 1/1;
    display: block;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center center;
       object-position: center center;
  }
  section.kaksi-palstaa-teksti-kuva.bg-grad1 .wrap {
    background-position: left 100px center;
  }
  section.kaksi-palstaa-teksti-kuva.bg-grad2 .wrap {
    background-position: right center;
  }
  section.kaksi-palstaa-teksti-kuva.bg-grad3 .wrap {
    background-position: left -200px center;
  }
  section.kaksi-palstaa-teksti-kuva.bg-grad4 .wrap {
    background-position: right -500px center;
  }
}
@media only screen and (max-width: 600px) {
  section.kaksi-palstaa-teksti-kuva .wrap {
    max-width: 100%;
  }
  section.kaksi-palstaa-teksti-kuva.col-img-text .col-2:first-child {
    order: 2;
    padding: 0 30px;
    width: 100%;
  }
  section.kaksi-palstaa-teksti-kuva.col-img-text .col-2:last-child {
    margin-bottom: 30px;
    order: 1;
    padding-right: 0;
    width: 100%;
  }
  section.kaksi-palstaa-teksti-kuva.col-text-img .col-2:first-child {
    padding-left: 30px;
    padding-right: 30px;
    width: 100%;
  }
  section.kaksi-palstaa-teksti-kuva.col-text-img .col-wrap .col-2:last-child {
    width: 100%;
  }
  section.kaksi-palstaa-teksti-kuva.col-img-text .col-2:last-child img,
  section.kaksi-palstaa-teksti-kuva.col-text-img .col-wrap .col-2:last-child img {
    aspect-ratio: 390/219;
  }
  section.kaksi-palstaa-teksti-kuva.bg-grad4 .col-wrap {
    padding-bottom: 30px;
  }
  section.kaksi-palstaa-teksti-kuva.bg-grad1 .wrap {
    background-position: left top 80px;
    background-size: 120%;
  }
  section.kaksi-palstaa-teksti-kuva.bg-grad2 .wrap {
    background-position: left bottom 50px;
    background-size: 120%;
  }
  section.kaksi-palstaa-teksti-kuva.bg-grad3 .wrap {
    background-position: left top 70px;
    background-size: 120%;
  }
  section.kaksi-palstaa-teksti-kuva.bg-grad4 .wrap {
    background-position: left bottom 50px;
    background-size: 120%;
  }
  section.kaksi-palstaa-teksti-kuva.bg-grad3 .col-wrap {
    padding-bottom: 50px;
  }
}
/*# sourceMappingURL=style.css.map */
