@charset "UTF-8";
/*!
Theme Name: Teollisuuskeskus
Description: Teollisuuskeskus teema 2026
Author: Jani Paasonen, Design On Demand
Text Domain: teollisuuskeskus
Version: 0.1
*/
/*! 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;
}

:root {
  --color-base: #edebe1;
  --color-primary: #034554;
  --color-secondary: #1b9781;
  --font-size-pixels: 17;
  --font-size-base: 1.2rem;
  --base-line-height: 1.4;
  --line-height-s: 1.1;
  --font-size-xxl: 3.1rem;
  --font-size-xl: 1.9rem;
  --font-size-l: 1.2rem;
  --font-size-m: 0.863rem;
  --font-size-s: 0.772rem;
  --font-size-xs: 0.681rem;
  --margin: 1rem;
  --global-padding: 1.5rem;
  --border-radius: 1.5rem;
}

/* BREAKPOINTS */
@media (max-width: 768px) {
  :root {
    --global-padding: 1rem;
  }
}
@media (max-width: 630px) {
  :root {
    --global-padding: 0.5rem;
  }
}
@font-face {
  font-family: "Cocogoose";
  src: url("fonts/Cocogoose-Pro-Regular.woff2") format("woff2"), url("fonts/Cocogoose-Pro-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
/*
    GLOBAL
*/
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: "Playfair", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  min-height: 100%;
  height: 100%;
}

body {
  background: var(--color-base);
  color: var(--color-primary);
  min-height: 100%;
  -webkit-text-size-adjust: none;
  font-size: var(--font-size-base);
  line-height: var(--base-line-height);
  display: grid;
  grid-template-rows: auto 1fr auto;
}

img, figure, video {
  height: auto;
  max-width: 100%;
  margin-bottom: var(--margin);
}

figure img {
  margin-bottom: 0;
}

figure figcaption {
  color: black;
}

p {
  margin-bottom: 1.2em;
}

a {
  color: var(--color-primary);
}

b, strong {
  font-weight: 800;
}

ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1.5rem;
  list-style-position: outside;
}

ol li {
  list-style-type: decimal;
  margin-bottom: 0.5rem;
}

ul li {
  list-style-type: disc;
  margin-bottom: 0.5rem;
}

hr {
  border: none;
  border-top: 2px solid white;
  display: block;
  margin: 0 0 var(--margin);
  text-align: left;
}

em, i {
  font-style: italic;
}

u {
  text-decoration: none;
  border-bottom: 3px solid currentColor;
  display: inline-block;
}

small {
  font-size: 0.85rem;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, h6 {
  font-family: "Alfa Slab One", sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, .h1 {
  font-size: 4rem;
  line-height: 1.1;
  color: var(--color-primary);
  margin-bottom: var(--margin);
}
@media (max-width: 768px) {
  h1, .h1 {
    font-size: 3.4rem;
  }
}

h2, .h2 {
  font-size: clamp(2.3rem, 3vw, 3.3rem);
  line-height: 1.2;
  margin-bottom: 0.9rem;
  text-transform: uppercase;
}
@media (max-width: 768px) {
  h2, .h2 {
    font-size: 1.8rem;
  }
}
@media (max-width: 420px) {
  h2 br, .h2 br {
    display: none;
  }
}

h3, .h3 {
  font-size: 1.2rem;
  line-height: 1.4;
  margin-bottom: var(--margin);
}

.bg-primary {
  background-color: var(--color-primary);
  color: var(--color-secondary);
}
.bg-primary h2, .bg-primary h3 {
  color: var(--color-secondary);
}

.bg-secondary, .bg-paper {
  background-color: var(--color-secondary);
  color: var(--color-primary);
}
.bg-secondary h2, .bg-secondary h3, .bg-paper h2, .bg-paper h3 {
  color: var(--color-primary);
}

/*
    HELPERS
*/
.tac {
  text-align: center;
}

.tt {
  text-transform: uppercase;
}

.icon-arrow-left {
  transform: rotate(90deg);
  margin-bottom: 0;
}

.border-top {
  border-top: 2px solid var(--color-primary);
}

.container {
  margin-left: auto;
  margin-right: auto;
  max-width: 700px;
}

.hide {
  display: none !important;
}

.visually-hidden {
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
          clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/*
  GLOBAL LAYOUT
*/
.site-main {
  background-color: var(--color-base);
}
@media (max-width: 768px) {
  .site-main .intro-section h2 {
    display: none;
  }
}
@media (max-width: 768px) {
  .site-main .intro-section {
    text-align: center;
  }
}
@media (max-width: 768px) {
  .site-main > section:first-child .has-extra-large-font-size {
    font-size: 1.2rem !important;
  }
}

.section-container {
  width: 100%;
  max-width: 1350px;
  padding: 2rem 2rem;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .section-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.container-narrow {
  max-width: 1000px;
}

.container-large {
  max-width: 1400px;
}

/*
  HEADER
*/
.site-header {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 14vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.home .site-header {
  height: 100vh;
}
@media (max-width: 768px) {
  .home .site-header {
    height: 60vh;
  }
}

.site-header-bottom {
  text-align: center;
  position: absolute;
  bottom: 0;
  width: 100%;
  padding-top: 7rem;
  background-color: var(--color-primary);
}
.home .site-header-bottom {
  background: linear-gradient(0deg, rgb(3, 69, 84) 0%, rgba(3, 69, 84, 0) 100%);
}

.hero {
  z-index: -1;
}
.hero img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
  -o-object-position: center center;
     object-position: center center;
  position: fixed;
  top: 0;
}
@media (max-width: 768px) {
  .hero img {
    height: 60vh;
  }
}

.site-logo {
  width: 90%;
  margin-bottom: 0;
  vertical-align: bottom;
  max-width: 1300px;
}
.site-nav-wrapper {
  display: flex;
  padding: 1.3rem 1rem;
  align-items: center;
  z-index: 3;
  justify-content: center;
}
@media (max-width: 630px) {
  .site-nav-wrapper {
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    margin-left: 1rem;
    margin-right: 1rem;
  }
}

.site-nav {
  font-family: "Cocogoose", "Arial Black", sans-serif;
  margin-top: 0rem;
}
.site-nav li {
  margin: 0;
  margin-left: 0;
  list-style-type: none;
}
.site-nav li:before {
  display: none;
}
.site-nav a {
  display: block;
  margin: 0.1rem 1rem;
  padding: 0.2rem 0.3rem;
  line-height: 1;
  letter-spacing: 0.5px;
  font-size: 1rem;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-base);
  font-weight: normal;
}
@media (max-width: 630px) {
  .site-nav a {
    margin-right: 0.3rem;
    margin-left: 0.3rem;
    font-size: 0.9rem;
  }
}
.site-nav .menu {
  display: flex;
  margin-left: 0;
  margin-bottom: 0;
  margin-top: 0;
  padding-left: 0;
}
@media (max-width: 630px) {
  .site-nav {
    margin-top: 0.3rem;
  }
}

/*
  Footer
*/
.site-footer {
  background-color: var(--color-primary);
  color: var(--color-base);
  line-height: 1.4;
}
.site-footer h2 {
  margin-top: 1rem;
}
.site-footer ul {
  padding-left: 0 !important;
}
.site-footer a {
  color: inherit;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum";
}
.site-footer a:hover, .site-footer a:focus {
  text-decoration: underline;
}
@media (max-width: 420px) {
  .site-footer {
    padding: 1rem 1rem 2.5rem;
  }
}

.footer-container {
  padding: 2rem 3rem;
}
@media (max-width: 768px) {
  .footer-container figure.aligncenter {
    text-align: left;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
@media (max-width: 630px) {
  .footer-container {
    padding: 1rem;
  }
}

.site-sub-footer {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}
.site-sub-footer a {
  text-decoration: none;
}
@media (max-width: 420px) {
  .site-sub-footer {
    margin-top: 1rem;
  }
}

/*
  Buttons
*/
.btn, .wp-block-button__link, .wpcf7 input[type=submit] {
  display: inline-block;
  padding: 0.5rem 1.5rem 0.4rem;
  border-radius: 0;
  background-color: var(--color-primary);
  text-align: center;
  line-height: 1.2;
  font-weight: 400;
  font-size: 1rem;
  border: 2px solid var(--color-primary);
  transition: all 0.8s ease-out;
  position: relative;
  color: var(--color-secondary);
  text-decoration: none;
}
.btn::after, .wp-block-button__link::after, .wpcf7 input[type=submit]::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background-color: transparent;
  border: 2px solid var(--color-primary);
  transform: translate(0.4rem, 0.4rem);
  z-index: 0;
}

.btn-large, .is-style-btn-large a {
  font-size: 1rem;
  padding: 0.8rem 3rem;
}

.btn-secondary {
  color: var(--color-primary);
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
}
.btn-secondary::after {
  border-color: var(--color-secondary);
}

.wp-block-buttons {
  margin-bottom: 1.8rem;
}

/* 1. Nollataan pääcontainerin padding mobiilissa, jotta alignfull-lohkot pääsevät reunoihin asti */
.has-global-padding {
  padding-left: var(--global-padding);
  padding-right: var(--global-padding);
}

/* 2. Annetaan kaikille suorille lapsille (lohkoille) padding, JOTTA tekstit eivät osu reunaan */
.has-global-padding > * {
  padding-left: var(--global-padding); /* Voit säätää tätä mobiilipaddingia */
  padding-right: var(--global-padding);
  box-sizing: border-box;
}

/* 3. Poistetaan padding alignfull-lohkoilta, jotta ne täyttävät koko ruudun */
.has-global-padding > .alignfull {
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
  width: 100%;
  max-width: none;
}

/* 4. Jos alignfull-lohkon SISÄLLÄ on tekstiä (kuten Ryhmä-lohko), 
      varmistetaan, että sen sisältö ei osu reunaan mobiilissa */
.has-global-padding > .alignfull > *:not(.alignfull) {
  padding-left: var(--global-padding);
  padding-right: var(--global-padding);
}

@media (max-width: 768px) {
  .wp-block-media-text > .wp-block-media-text__content {
    padding: 0 0.5rem;
  }
}

.wp-block-image img, .wp-block-image {
  padding: 0 !important;
}

/* Korjataan WordPressin puuttuva sääntö */
.is-layout-constrained > .alignwide {
  max-width: var(--wp--style--global--wide-size) !important;
  width: 100%;
}

.wp-element-caption {
  color: var(--color-secondary);
  text-transform: uppercase;
  font-family: Arial, sans-serif;
  font-size: 0.75rem;
  line-height: 1.5;
  letter-spacing: 2px;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

/*
    FORMS
*/
label {
  display: inline-block;
  width: 100%;
  margin-bottom: 0.3em;
  color: var(--color-primary);
  line-height: 1.1;
  padding: 0;
}

input {
  display: inline-block;
  margin-bottom: 0.5rem;
  width: 100%;
  font-family: inherit;
  font-size: inherit;
  border: 2px solid white;
  border-radius: 0.5rem;
  padding: 0.8rem 0.8rem;
  background-color: white;
}

textarea {
  padding: 0.5rem;
  width: 100%;
  font-family: inherit;
  font-size: inherit;
  margin-bottom: 1rem;
  border: 2px solid white;
  border-radius: 0.5rem;
  background-color: white;
}

input[type=submit] {
  width: auto;
  margin-bottom: 0;
  -webkit-appearance: none;
}

input[type=submit]:hover {
  cursor: pointer;
}

.wpcf7-spinner {
  position: absolute;
}

input[type=radio],
input[type=checkbox] {
  display: inline-block;
  font-size: 1rem;
  width: 1rem;
  height: 1rem;
  margin: 0;
  vertical-align: middle;
  padding: 0;
  border: auto;
  border-radius: auto;
}

input[type=file] {
  border: 0;
  padding-left: 0;
  padding-right: 0;
}

input[type=text], input[type=email], input[type=tel], textarea, input[type=search], input[type=url] {
  padding: 0.8em;
  -webkit-appearance: none;
}

input[type=file] {
  background-color: transparent;
}

input:disabled {
  opacity: 0.8;
}

.form-element {
  width: 100%;
}

::-webkit-input-placeholder {
  color: white;
}

:-moz-placeholder { /* Firefox 18- */
  color: white;
}

::-moz-placeholder { /* Firefox 19+ */
  color: white;
}

:-ms-input-placeholder {
  color: white;
}

select {
  width: auto;
  max-width: 100%;
  font-size: 1rem;
  padding: 0.5em;
  min-width: 3rem;
}
@media (max-width: 768px) {
  select {
    width: 100%;
    font-size: 1rem;
  }
}

.hide {
  display: none;
}

fieldset legend {
  line-height: 1.2;
  display: block;
  margin-bottom: 0;
  padding-bottom: 0 !important;
  margin-right: 0;
  padding-right: 0;
}
fieldset label {
  padding: 0 !important;
}

input[type=text], input[type=email], input[type=tel], input[type=date], textarea {
  padding: 0.8rem 1rem 0.8rem 1rem;
  width: 100%;
  color: black;
  font-size: 1rem;
  margin-top: 0.3rem;
}
input[type=text]:focus-visible, input[type=email]:focus-visible, input[type=tel]:focus-visible, input[type=date]:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--color-primary);
}

input[type=date] {
  width: 50%;
  padding-bottom: 0.2rem;
  padding-top: 0.6rem;
}

input[type=checkbox] {
  display: inline-block;
  border: 1px solid white;
  width: auto;
  margin-bottom: 0;
  width: 1rem;
  height: 1rem;
}
input[type=checkbox]:focus {
  outline: 1px solid white;
}
input[type=checkbox]:checked {
  background: url("images/icon-check-white.svg") no-repeat 10% 10%;
  background-size: contain;
}

fieldset {
  border: 0;
  padding: 0;
  margin-bottom: 1rem;
}
fieldset .wpcf7-list-item {
  display: block;
  margin-left: 0;
}
fieldset .wpcf7-list-item-label {
  font-weight: 400;
}

select {
  width: 100%;
  display: block;
  padding: 0.2rem 1rem;
  font-size: 1rem;
  height: 3rem;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border-radius: 0.5rem;
  margin-top: 0.3rem;
  background: white url("images/icon-arrow-down.svg") no-repeat center right 1rem;
  background-size: auto 20%;
  color: black;
}

::-moz-placeholder {
  color: rgb(150, 150, 150);
}

::placeholder {
  color: rgb(150, 150, 150);
}

.wpcf7-list-item {
  margin: 0 1em 0 0 !important;
}

.block-elements .wpcf7-list-item {
  display: block;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 1rem;
}
.form-grid .width-100 {
  grid-column: 1/3;
}
@media (max-width: 768px) {
  .form-grid .width-100 {
    grid-column: auto;
  }
}
.form-grid .width-50 {
  grid-column: span 2;
}
@media (max-width: 768px) {
  .form-grid .width-50 {
    grid-column: auto;
  }
}
.form-grid .width-25 {
  grid-column: span 1;
}
@media (max-width: 768px) {
  .form-grid .width-25 {
    grid-column: auto;
  }
}
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}
