@charset "UTF-8";
/*!
Theme Name: Malskin Bistro
Description: Malskin Bistron teema 2026
Author: Jani Paasonen, Design On Demand
Text Domain: malski
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: #efe7e1;
  --color-primary: #822300;
  --font-size-pixels: 17;
  --font-size-base: 1.1rem;
  --base-line-height: 1.5;
  --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: 1rem;
}

/* BREAKPOINTS */
/* TRANSITIONS */
@media (max-width: 768px) {
  :root {
    --global-padding: 1rem;
  }
}
@font-face {
  font-family: "intro-demo";
  src: url("fonts/introdemo-blackcaps-webfont.woff2") format("woff2"), url("fonts/introdemo-blackcaps-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
/*
    GLOBAL
*/
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: "Karla", Arial, sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  color: var(--color-primary);
}
@media (max-width: 630px) {
  html.overflow {
    overflow: hidden;
    -webkit-overflow-scrolling: auto; /* Stops scrolling immediately */
  }
}
html.overflow2 {
  overflow: hidden;
}

body {
  background: var(--color-base);
  color: black;
  -webkit-text-size-adjust: none;
  font-size: var(--font-size-base);
  line-height: var(--base-line-height);
}
img, figure, video {
  height: auto;
  max-width: 100%;
  margin-bottom: var(--margin);
}

figure img {
  margin-bottom: 0;
}

p {
  margin-bottom: 1.2em;
}

a {
  color: var(--color-primary);
  text-decoration: underline;
}

b, strong {
  font-weight: 700;
}

ul, ol {
  padding-left: 2.5rem !important;
  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;
  max-width: 50px;
  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;
}

blockquote {
  font-style: italic;
  color: var(--color-grey);
  font-size: 1.3rem;
  line-height: 1.3;
  margin-bottom: var(--margin);
  border-left: 5px solid var(--color-primary);
  padding-left: 2rem;
}

h1, .h1, h2, .h2, h3, .h3, h4, h5, h6 {
  font-family: "intro-demo", Arial, sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, .h1 {
  font-size: 2.4rem;
  line-height: 1.2;
  color: var(--color-primary);
  margin-bottom: var(--margin);
}
@media (max-width: 630px) {
  h1, .h1 {
    font-size: 2.1rem;
  }
}

h2, .h2 {
  font-size: 1.3rem;
  line-height: 1.2;
  margin-bottom: var(--margin);
  color: var(--color-primary);
}
.home h2, .home .h2 {
  font-size: 2.4rem;
}
@media (max-width: 630px) {
  .home h2, .home .h2 {
    font-size: 1.7rem;
  }
}

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

.bg-secondary {
  background-color: var(--color-secondary);
}

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

.tt {
  text-transform: uppercase;
}

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

.hide {
  display: none !important;
}

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

/*
  GLOBAL LAYOUT
*/
.site-footer {
  padding-left: var(--global-padding);
  padding-right: var(--global-padding);
}

.site-main {
  padding-top: 1rem;
}
.home .site-main {
  padding-top: 0;
}

/*
  HEADER
*/
.site-header {
  z-index: 10;
  display: flex;
  padding: 1rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  align-items: center;
  background-color: transparent;
  font-family: "intro-demo";
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (max-width: 1250px) {
  .site-header {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
}

.site-header-wrapper {
  display: flex;
  justify-content: center;
  transition: 0.5s all ease-in-out;
  padding: 0 1rem;
  z-index: 3;
  width: 100%;
}
@media (max-width: 630px) {
  .site-header-wrapper {
    padding: 0;
  }
}

.site-logo-link {
  position: absolute;
  left: 50%;
  top: 0.7rem;
  transform: translateX(-50%);
  z-index: 1;
  margin: 0 !important;
  padding: 0 !important;
}
.site-logo-link.on-mobile {
  display: none;
}
@media (max-width: 1250px) {
  .site-logo-link.on-mobile {
    display: inline-block;
    margin-bottom: 0 !important;
  }
}
@media (max-width: 1250px) {
  .site-logo-link {
    order: 1;
    position: relative;
    left: auto;
    top: auto;
    transform: translateX(0);
    display: inline-block;
    margin-bottom: 1.2rem !important;
  }
}

.site-logo {
  margin-bottom: 0;
  width: 7rem;
  vertical-align: bottom;
  transition: 0.2s all linear;
}
@media (max-width: 1250px) {
  .site-logo {
    width: 5rem;
    margin-top: 1rem;
  }
}
.on-mobile .site-logo {
  width: 5rem;
}

/*
  NAVIGATION
*/
.site-nav {
  display: flex;
  width: 100%;
  height: 7rem;
  position: relative;
}
@media (max-width: 1250px) {
  .site-nav {
    position: fixed;
    background-color: var(--color-base);
    transform: translateX(-20rem);
    transition: 1s all linear;
    right: 0;
    top: 0;
    z-index: 1;
    display: none;
    border-left: 1px solid var(--color-grey);
    max-width: none;
    width: 100%;
    transform: translateX(-100%);
    padding-top: 0.5rem;
    padding-bottom: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
    border-left: none;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.4);
    height: auto;
    flex-direction: column;
    align-items: center;
  }
}
.site-nav.open {
  transform: translateX(0);
  display: flex;
  transition: 1s all linear;
}
.site-nav li {
  margin: 0;
  margin-left: 0;
  list-style-type: none;
}
@media (max-width: 1250px) {
  .site-nav li {
    display: inline-block;
  }
}
.site-nav a {
  display: block;
  margin: 0.3rem 0.2rem;
  padding: 0.4rem 0.7rem 0.3rem;
  line-height: 1.1;
  font-size: 1rem;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--color-primary);
}
@media (max-width: 1250px) {
  .site-nav a {
    display: inline-block;
    font-size: 1rem;
  }
}
@media (max-width: 1400px) {
  .site-nav a {
    margin-left: 0.2rem;
    margin-right: 0.2rem;
  }
}
.site-nav a:hover {
  text-decoration: none;
  color: var(--color-primary);
}
.site-nav .menu {
  display: flex;
  margin-left: 0;
  margin-bottom: 0;
  margin-top: 0;
  align-items: center;
  padding-left: 0 !important;
}
@media (max-width: 1250px) {
  .site-nav .menu {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding-left: 0 !important;
  }
}
.site-nav .outbound {
  margin-left: 0.5rem;
  border: 2px solid var(--color-primary);
  border-radius: 2rem;
}
@media (max-width: 1250px) {
  .site-nav .outbound {
    align-self: flex-start;
    margin-top: 0.5rem;
  }
}
.site-nav .current-menu-item a {
  position: relative;
}
.site-nav .current-menu-item a::after {
  content: "";
  display: block;
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: -0.3rem;
  height: 2px;
  background-color: var(--color-primary);
}
@media (max-width: 1250px) {
  .site-nav .current-menu-item a {
    color: black;
  }
  .site-nav .current-menu-item a::after {
    display: none;
  }
}

.site-nav-left {
  position: absolute;
  transform: translateX(-100%);
  padding-right: 5rem;
  padding-left: 0;
  top: 35%;
  left: 50%;
}
@media (max-width: 1250px) {
  .site-nav-left {
    padding-right: 0;
    order: 2;
    top: auto;
    left: auto;
    position: relative;
    transform: translateX(0);
  }
}

.site-nav-right {
  position: absolute;
  top: 35%;
  left: 50%;
  padding-left: 5rem !important;
  display: flex;
}
@media (max-width: 1250px) {
  .site-nav-right {
    order: 3;
    top: auto;
    left: auto;
    position: relative;
    transform: translateX(0);
    padding-left: 0 !important;
    flex-direction: column;
  }
}

.lang-nav {
  padding-left: 0 !important;
  margin-bottom: 0;
  margin-top: 0;
  display: flex;
  align-items: center;
  margin-left: 1rem;
  position: relative;
}
.lang-nav li {
  list-style-type: none;
  margin-bottom: 0;
}
.lang-nav a {
  text-transform: uppercase;
  text-decoration: none;
  margin: 0.2rem;
  padding: 0.4rem 0.4rem 0.3rem;
}
.lang-nav .current-lang a {
  color: black;
}
.lang-nav li:not(:first-child)::before {
  content: "/";
  position: absolute;
  top: 0.5rem;
  margin-left: -0.3rem;
}
@media (max-width: 1250px) {
  .lang-nav {
    justify-content: center;
    margin-left: 0;
    margin-top: 1rem;
  }
}

/*
  Hero
*/
.hero-image-section {
  max-width: 1300px !important;
  margin-top: 0.5rem;
}
.hero-image-section img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  max-width: none;
}

.hero-image-container {
  height: 35rem;
  width: 100%;
  max-width: none;
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
}
@media (max-width: 630px) {
  .hero-image-container {
    height: 20rem;
  }
}

.arrow-down {
  position: relative;
  margin: 0;
  /* Pystysuora viiva */
}
.arrow-down::after {
  content: "";
  display: block;
  width: 2px;
  height: 3rem;
  background-color: var(--color-primary);
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.arrow-down {
  /* Nuolen kärki */
}
.arrow-down::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  position: absolute;
  bottom: -2rem; /* Sama sijainti kuin viivan alapää */
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  z-index: 2;
}

/*
  Articles page
*/
.article-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  max-width: 1200px;
  margin: 2rem auto 0;
}
@media (max-width: 1100px) {
  .article-list {
    gap: 1rem;
  }
}
@media (max-width: 900px) {
  .article-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 630px) {
  .article-list {
    grid-template-columns: 1fr;
  }
}

.article-list-item {
  background-color: var(--color-primary);
  border-radius: var(--border-radius);
}
.article-list-item h2 {
  color: var(--color-base);
  font-size: 1rem;
  margin-bottom: 0;
  margin-top: 0;
}
.article-list-item time {
  color: #bda267;
  font-size: 0.9rem;
}
.article-list-item a {
  text-decoration: none;
}
.article-list-item-image {
  border-radius: var(--border-radius);
  overflow: hidden;
}
.article-list-item-image img {
  vertical-align: bottom;
  margin-bottom: 0;
}

.article-list-item-content {
  padding: 1.2rem 1.5rem;
}

/*
  Single article
*/
.article-header {
  margin-bottom: 3rem;
}

.post-thumbnail-wrapper {
  text-align: center;
}
.post-thumbnail-wrapper img {
  max-height: 43rem;
  width: auto;
  border-radius: var(--border-radius);
}

.article-right-col .article-meta {
  font-style: italic;
}

.article-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
@media (max-width: 768px) {
  .article-cols {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/*
  Food menu
*/
.food-menu strong, .food-menu b {
  color: var(--color-primary);
}
.food-menu h3 {
  margin-top: 3rem !important;
}
.food-menu .wp-block-column > :first-child {
  margin-top: 0 !important;
}
@media (max-width: 768px) {
  .food-menu .wp-block-column:first-child > h3:first-child {
    margin-top: 1rem !important;
  }
}
.food-menu .wp-block-column:first-child {
  position: relative;
  padding-right: 1rem;
}
@media (max-width: 768px) {
  .food-menu .wp-block-column:first-child {
    padding-right: 0;
  }
}
.food-menu .wp-block-column:first-child::after {
  content: "";
  position: absolute;
  display: inline-block;
  top: 0;
  bottom: 0;
  right: -0.5rem;
  width: 2px;
  background-color: var(--color-primary);
}
@media (max-width: 768px) {
  .food-menu .wp-block-column:first-child::after {
    display: none;
  }
}
.food-menu .wp-block-column:last-child {
  padding-left: 1rem;
}
@media (max-width: 768px) {
  .food-menu .wp-block-column:last-child {
    padding-left: 0;
  }
}

/*
  Footer
*/
.site-footer {
  margin-top: 2rem;
  color: var(--color-base);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: var(--global-padding);
}
.site-footer .site-footer-columns {
  max-width: var(--wp--style--global--wide-size, 1200px);
  background: var(--color-primary);
  padding: 3rem;
  border-radius: var(--border-radius);
  margin-left: auto;
  margin-right: auto;
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}
@media (max-width: 900px) {
  .site-footer .site-footer-columns {
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
  }
}
@media (max-width: 630px) {
  .site-footer .site-footer-columns {
    grid-template-columns: 1fr;
    grid-gap: 2rem 0;
  }
}
.site-footer .footer-1 {
  align-items: center;
  display: flex;
}
@media (max-width: 900px) {
  .site-footer .footer-1 {
    grid-column: 1/4;
    text-align: center;
    justify-content: center;
  }
}
@media (max-width: 630px) {
  .site-footer .footer-1 {
    grid-column: auto;
  }
}
.site-footer .footer-5 {
  align-items: center;
  display: flex;
  justify-content: center;
}
.site-footer .footer-5 img {
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .site-footer .footer-5 {
    grid-column: span 3;
    text-align: center;
    justify-content: center;
  }
}
@media (max-width: 630px) {
  .site-footer .footer-5 {
    grid-column: auto;
  }
}
.site-footer h3, .site-footer h4 {
  margin-bottom: 1rem;
}
.site-footer ul {
  padding-left: 0 !important;
}
.site-footer a {
  color: inherit;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum";
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}
@media (max-width: 420px) {
  .site-footer {
    padding: 1rem 1rem 2.5rem;
    font-size: 1rem;
  }
}
.site-footer .site-logo-footer {
  margin-bottom: 0;
  max-width: 7rem;
}
.site-footer .wp-block-paragraph {
  margin-top: 0;
}
.site-footer .wp-block-paragraph:last-child {
  margin-bottom: 0;
}

.some-links {
  display: flex;
  margin-bottom: 1rem;
  align-items: center;
  flex-shrink: 0;
  gap: 1.2rem;
}
.site-footer .some-links {
  margin-bottom: 0;
  justify-content: center;
}
.some-links img {
  height: 1.4rem;
  width: auto;
}

/*
  Buttons
*/
.btn, .wp-block-button__link, input[type=submit] {
  font-family: "intro-demo", Arial, sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: inline-block;
  padding: 0.9rem 1.7rem 0.8rem;
  min-width: 200px;
  background-color: var(--color-primary);
  text-transform: uppercase;
  text-align: center;
  font-size: 1rem;
  line-height: 1.1;
  border: 2px solid var(--color-primary);
  transition: all 0.8s ease-out;
  position: relative;
  color: white;
  text-decoration: none;
  border-radius: 2rem;
}

.is-style-outline a {
  padding: 0.9rem 1.7rem 0.8rem;
}

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

.btn:hover, .wp-block-button__link:hover {
  background-color: var(--color-primary);
  color: var(--color-base);
  transition: all 0.1s ease-in;
}

.btn-light {
  border-color: var(--color-base);
  color: var(--color-base);
}
.btn-light:hover {
  background-color: var(--color-base);
  color: var(--color-primary);
}

.btn-grey {
  background-color: var(--color-grey);
}

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

/*!
 * Hamburgers
 * @description Tasty CSS-animated hamburgers
 * @author Jonathan Suh @jonsuh
 * @site https://jonsuh.com/hamburgers
 * @link https://github.com/jonsuh/hamburgers
 */
.hamburger {
  z-index: 2;
  padding: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition-property: opacity, filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  font: inherit;
  color: inherit;
  text-transform: none;
  background-color: transparent;
  border: 0;
  margin: 0;
  overflow: visible;
  right: 1.5rem;
  top: 2rem;
  border-radius: 2.5rem;
  background-color: var(--color-base);
  padding: 0.6rem;
  border: 0;
}
@media (max-width: 1250px) {
  .hamburger {
    display: flex;
    position: fixed;
    /* TÄMÄ KORJAA HYPPIMISEN MOBIILISSA: */
    will-change: transform; /* Kertoo selaimelle, että elementti pysyy paikallaan */ /* Pakottaa rautakiihdytyksen (iOS Safari korjaus) */
    transform: translateZ(0);
  }
}

.hamburger-title {
  margin-top: 0.2rem;
  color: var(--color-primary);
  text-transform: uppercase;
  font-size: 0.45rem;
  font-weight: 400;
}

.hamburger-box {
  width: 28px;
  height: 22px;
  display: inline-block;
  position: relative;
}

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -2px;
}

.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
  width: 28px;
  height: 3px;
  background-color: var(--color-primary);
  position: absolute;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: ease;
}

.hamburger-inner::before, .hamburger-inner::after {
  content: "";
  display: block;
}

.hamburger-inner::before {
  top: -8px;
}

.hamburger-inner::after {
  bottom: -5px;
}

/*
/*
   * Collapse
   */
.hamburger--collapse .hamburger-inner {
  top: auto;
  bottom: 0;
  transition-duration: 0.13s;
  transition-delay: 0.13s;
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--collapse .hamburger-inner::after {
  top: -16px;
  transition: top 0.2s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), opacity 0.1s linear;
}

.hamburger--collapse .hamburger-inner::before {
  transition: top 0.12s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--collapse.is-active .hamburger-inner {
  transform: translate3d(0, -10px, 0) rotate(-45deg);
  transition-delay: 0.22s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

.hamburger--collapse.is-active .hamburger-inner::after {
  top: 0;
  opacity: 0;
  transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333), opacity 0.1s 0.22s linear;
}

.hamburger--collapse.is-active .hamburger-inner::before {
  top: 0;
  transform: rotate(-90deg);
  transition: top 0.1s 0.16s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.13s 0.25s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/*
  Pagination
*/
.pagination {
  display: flex;
  justify-content: flex-end;
  margin: 1rem 0 2rem 0;
  max-width: 100%;
}

.page-numbers {
  width: 2rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0.2rem;
  text-decoration: none;
}
.page-numbers.current {
  background-color: var(--color-primary);
  color: var(--color-base);
  width: 2.5rem;
  height: 2.5rem;
}

.page-numbers.next {
  background-color: var(--color-grey);
}
.page-numbers.next svg {
  width: 15px;
  transform: rotate(-90deg);
}
.page-numbers.next svg polyline {
  stroke: var(--color-primary) !important;
}

.page-numbers.prev {
  background-color: var(--color-grey);
}
.page-numbers.prev svg {
  width: 15px;
  transform: rotate(90deg);
}
.page-numbers.prev svg polyline {
  stroke: var(--color-primary) !important;
}

/*
  Social share
*/
.social-share-links {
  display: inline-flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
.social-share-links a {
  background-color: var(--color-primary);
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  padding: 0.5rem;
}
.social-share-links svg {
  margin-bottom: 0;
  vertical-align: bottom;
  height: 100%;
  width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.social-share-links svg path, .social-share-links svg rect {
  fill: var(--color-base) !important;
}

/*
  Popup
*/
body.hidden {
  overflow: hidden;
}

.popup-wrap {
  display: grid;
  position: fixed;
  z-index: 1060;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: minmax(min-content, auto) minmax(min-content, auto) minmax(min-content, auto);
  height: 100%;
  padding: 1rem;
  overflow-x: hidden;
  transition: background-color 0.1s;
  -webkit-overflow-scrolling: touch;
  background-color: rgba(0, 0, 0, 0.7);
}

.popup-btn-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 3rem;
  height: 3rem;
  border-radius: 1.5rem;
  background-color: var(--color-primary);
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.popup-btn-close svg {
  width: 40%;
}

.popup-content {
  position: relative;
  color: var(--color-secondary);
  font-size: 1rem;
  max-width: 1000px;
  margin: 2rem auto 2rem;
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  justify-self: center;
  position: relative;
  width: 100%;
  max-width: 700px;
  background: var(--color-base);
  padding-left: 3rem;
  padding-right: 3rem;
  padding-bottom: 3rem;
  padding-top: 3rem;
}
@media (max-width: 630px) {
  .popup-content {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    margin-top: 0;
    margin-bottom: 0;
  }
}
.popup-content h2 {
  margin-top: 0;
}
.popup-content label, .popup-content legend {
  color: var(--color-secondary);
  font-weight: 800;
  padding: 0.3rem 0;
  font-size: 1rem;
}
.popup-content input[type=text], .popup-content input[type=email], .popup-content input[type=tel], .popup-content input[type=date], .popup-content textarea {
  border-radius: 0;
  border: 2px solid var(--color-primary);
  background: transparent;
  padding: 0.8rem 1rem 0.8rem 1rem;
  width: 100%;
  color: black;
  font-size: 1rem;
  margin-top: 0.3rem;
}
@media (max-width: 630px) {
  .popup-content input[type=text], .popup-content input[type=email], .popup-content input[type=tel], .popup-content input[type=date], .popup-content textarea {
    font-size: 1rem;
  }
}
.popup-content input[type=text]:focus-visible, .popup-content input[type=email]:focus-visible, .popup-content input[type=tel]:focus-visible, .popup-content input[type=date]:focus-visible, .popup-content textarea:focus-visible {
  outline: 2px solid var(--color-primary);
}
.popup-content input[type=date] {
  width: 50%;
  padding-bottom: 0.2rem;
  padding-top: 0.6rem;
}
.popup-content input[type=checkbox] {
  display: inline-block;
  border: 1px solid white;
  width: auto;
  margin-bottom: 0;
  width: 1rem;
  height: 1rem;
}
.popup-content input[type=checkbox]:focus {
  outline: 1px solid white;
}
.popup-content input[type=checkbox]:checked {
  background: url("images/icon-check-white.svg") no-repeat 10% 10%;
  background-size: contain;
}
.popup-content fieldset {
  border: 0;
  padding: 0;
  margin-bottom: 1rem;
}
.popup-content fieldset .wpcf7-list-item {
  display: block;
  margin-left: 0;
}
.popup-content fieldset .wpcf7-list-item-label {
  font-weight: 400;
}
.popup-content input[type=submit] {
  background-color: var(--color-primary);
  color: var(--color-base);
  margin-top: var(--margin);
}
.popup-content input[type=submit]:hover {
  transform: translateY(-0.2rem);
}
.popup-content 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;
  margin-top: 0.3rem;
  background: white url("images/icon-arrow-down.svg") no-repeat center right 1rem;
  background-size: auto 20%;
  color: black;
}
.popup-content ::-moz-placeholder {
  color: rgb(150, 150, 150);
}
.popup-content ::placeholder {
  color: rgb(150, 150, 150);
}

.form-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1rem;
}
.form-inputs > *:last-child {
  grid-column: 1/-1;
}
@media (max-width: 768px) {
  .form-inputs {
    grid-template-columns: 1fr;
  }
}

.mfp-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  overflow: hidden auto;
  background-color: rgba(0, 0, 0, 0.5);
}
@media (max-width: 630px) {
  .mfp-wrap {
    top: 0;
  }
}

.mfp-container {
  position: absolute;
  text-align: center;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.mfp-container::before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  z-index: 1045;
  text-align: left;
  width: 100%;
}

.popup-close {
  position: absolute;
  right: 2rem;
  top: 2rem;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  width: 1.5rem;
  height: 1.5rem;
  z-index: 2000;
  margin-bottom: 0;
}
.popup-close img {
  position: absolute;
  top: 0;
  margin-bottom: 0;
  vertical-align: bottom;
}
.popup-close:focus-visible {
  outline: 2px solid white;
}

/*
  MENU
*/
.menu-tabs-wrapper {
  padding-left: var(--global-padding);
  padding-right: var(--global-padding);
}
@media (max-width: 768px) {
  .menu-tabs-wrapper {
    margin-bottom: 0;
  }
}

.menu-tabs-wrapper {
  margin: 3rem auto;
  max-width: 1000px;
}

.menu-tabs-wrapper .custom-menu-pane {
  margin-bottom: 4rem;
}
.menu-tabs-wrapper .custom-menu-pane h2 {
  margin-bottom: 2rem;
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  color: var(--color-primary);
}
@media (max-width: 768px) {
  .menu-tabs-wrapper .custom-menu-pane h2 {
    width: auto;
    height: auto;
    overflow: visible;
    white-space: normal;
    position: relative;
    border: 0;
  }
}
.menu-tabs-wrapper .custom-menu-pane h3 {
  margin-top: 3rem;
  font-size: 1.7rem;
  color: var(--color-primary);
}
.menu-tabs-wrapper .custom-menu-pane h4 {
  color: var(--color-primary);
}
.menu-tabs-wrapper .custom-menu-pane b, .menu-tabs-wrapper .custom-menu-pane strong {
  color: var(--color-primary);
  font-weight: 400 !important;
  font-family: "intro-demo";
  font-size: 0.9em;
  letter-spacing: 0 !important;
  text-transform: uppercase;
}
.menu-tabs-wrapper .custom-menu-pane .wp-block-column {
  border-right: 2px solid var(--color-primary);
  padding-right: 2rem;
}
@media (max-width: 768px) {
  .menu-tabs-wrapper .custom-menu-pane .wp-block-column {
    border: 0;
    padding-right: 0;
  }
}
.menu-tabs-wrapper .custom-menu-pane .wp-block-column :first-child {
  margin-top: 0;
}
@media (max-width: 768px) {
  .menu-tabs-wrapper .custom-menu-pane .wp-block-column :first-child {
    margin-top: 1rem;
  }
}
.menu-tabs-wrapper .custom-menu-pane .wp-block-column:last-child {
  border: 0;
}
@media (max-width: 768px) {
  .menu-tabs-wrapper .custom-menu-pane .wp-block-column:last-child {
    padding-left: 0;
  }
}
@media (max-width: 768px) {
  .menu-tabs-wrapper .custom-menu-pane {
    border-bottom: 2px solid var(--color-primary);
    border-radius: var(--border-radius);
    padding-right: 0;
    margin-bottom: 1rem;
  }
}

.menu-nav-buttons {
  border-bottom: 0;
}

.menu-tab-trigger {
  padding: 0.5rem 1rem;
  color: var(--color-primary);
  font-family: "intro-demo";
  text-transform: uppercase;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.menu-tab-trigger.active {
  color: var(--color-primary);
}

.menu-tab-trigger.active::after {
  bottom: 0;
  left: 1rem;
  right: 1rem;
  width: auto;
  background-color: var(--color-primary);
}

.custom-aspect img {
  aspect-ratio: 16/10.3;
  width: 100% !important;
  height: auto !important;
}

/* 3. Kun lohko on "Wide" (Levitetty sisältö) */
.alignwide {
  max-width: var(--wp--style--global--wide-size, 1400px);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* 4. Kun lohko on "Full" (Täysileveä tausta) */
.alignfull {
  max-width: 100%;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* ==========================================================================
   KARUSELLIN TYYLIT (Swiper overrides)
   ========================================================================== */
/* 1. Karusellin pääsäiliö (pyöristetyt kulmat ja varjo) */
.wp-block-gallery.is-style-swiper-slider {
  display: block !important;
  position: relative;
  overflow: hidden;
  border-radius: 1rem; /* Karusellin reunojen pyöristys */
  padding-bottom: 3rem; /* Tilaa navigaatiopisteille */
  margin-top: 5rem;
  margin-bottom: 2rem;
}

/* 2. Kuvien / slidejen pyöristys ja sovittaminen */
.wp-block-gallery.is-style-swiper-slider .swiper-slide {
  border-radius: 1rem;
  overflow: hidden;
}

.wp-block-gallery.is-style-swiper-slider .swiper-slide img {
  border-radius: 1rem;
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

/* 3. Navigaatiopisteet (Pagination Dots) */
.wp-block-gallery.is-style-swiper-slider .swiper-pagination-bullet {
  border-radius: 0.5rem; /* Pisteiden reunan pyöristys */
  width: 1.6rem;
  height: 0.8rem;
  background-color: #000000;
  transition: all 0.3s ease;
}

.wp-block-gallery.is-style-swiper-slider .swiper-pagination-bullet-active {
  background-color: var(--color-primary);
}

/* 4. Navigaationuolet */
.wp-block-gallery.is-style-swiper-slider .swiper-button-next,
.wp-block-gallery.is-style-swiper-slider .swiper-button-prev {
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.5);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.wp-block-gallery.is-style-swiper-slider .swiper-button-next:hover,
.wp-block-gallery.is-style-swiper-slider .swiper-button-prev:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.wp-block-gallery.is-style-swiper-slider .swiper-button-next::after,
.wp-block-gallery.is-style-swiper-slider .swiper-button-prev::after {
  font-size: 1rem; /* Pienennetään nuolikuvaketta hieman */
  font-weight: bold;
}

/* Piilotetaan kuvatekstit Swiper-kuvaliukurista */
.wp-block-gallery.is-style-swiper-slider figcaption {
  display: none !important;
}

/* 3. Navigaatiopisteet (Pagination Dots) */
.testimonial-dot {
  border-radius: 0.5rem; /* Pisteiden reunan pyöristys */
  width: 1.6rem;
  height: 0.8rem;
  background-color: #fff;
  transition: all 0.3s ease;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 0;
}

.testimonial-dot.active {
  background-color: var(--color-primary);
}

/*
    Slider
*/
.splide {
  margin-bottom: 2rem;
}

.splide__arrow--prev, .site .splide__arrow--prev {
  left: -2.3rem;
  transform: scaleX(-1) translateY(-50%);
}

.splide__arrow--next, .site .splide__arrow--next {
  right: -2.3rem;
  transform: translateY(-50%);
}

.splide__arrow, .site .splide__arrow {
  background: rgba(0, 0, 0, 0);
  border: 0;
  color: #e5eeee;
  cursor: pointer;
  position: absolute;
  top: 50%;
}

.splide__arrow svg {
  width: 30px;
}

.splide__arrow svg path {
  fill: white;
}

.logo-slider .splide__arrow svg path {
  fill: var(--color-grey);
}

/*
    FORMS
*/
label {
  display: block;
  width: 100%;
  margin-bottom: 0.3em;
  color: var(--color-primary);
}

input {
  display: block;
  margin-bottom: 1rem;
  width: 100%;
  font-family: inherit;
  font-size: inherit;
  border: 0;
  background-color: var(--color-grey);
  border-radius: 0;
  padding: 0.8rem 0.8rem;
}

textarea {
  padding: 0.8em;
  width: 100%;
  font-family: inherit;
  font-size: inherit;
  margin-bottom: 1rem;
  border: 0;
  background-color: var(--color-grey);
  border-radius: 0;
}

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

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

.wpcf7-spinner {
  position: absolute;
}
