@import url('https://fonts.googleapis.com/css?family=Rubik&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Rubik', sans-serif;
}


/* Navigointivalikko */
.navbar {
  width: 100%;
  background-color: #ffffff; /* Taustaväri */
  z-index: 1000; /* Varmistaa, että se on päällä */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Varjo */
  position: relative; /* Varmistetaan, että navbar on suhteellinen */
}

/* Navigointivalikon säiliö */
.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
}

/* Logo */
.navbar-logo img {
  height: 50px;
  width: auto;
}

.arrow {
  font-size: 20px; /* Nuolen peruskoko */
  margin-left: 5px; /* Väli tekstin ja nuolen välillä */
  position: relative;
  top: -7px; /* Säätää pystysuuntaa suhteessa tekstiin */
}

/* Linkkien tyylit */
.navbar-menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

/* Linkkien tyyli */
.navbar-link {
  text-decoration: none; /* Poista alleviivaus */
  color: #000000; /* Väri musta */
  font-size: 1.3rem;
  padding: 0.5rem 1.5rem; /* Lisää tilaa linkin ympärille */
  transition: background-color 0.3s ease; /* Taustavärin siirtymä */
  border-radius: 1rem;
}

/* Linkkien hover-tyyli */
.navbar-link:hover {
  background-color: var(--secondaryLight); /* Korostus hoverilla */
  border-radius: 1rem;
}

/* Dropdown-menu, joka on piilotettu oletuksena */
.dropdown-menu {
  display: none; /* Piilota oletuksena */
  position: absolute; /* Absoluuttinen sijainti */
  background-color: #ffffff; /* Taustaväri */
  list-style: none; /* Poista luettelomerkit */
  padding: 0; /* Poista tyhjät marginaalit */
  margin: 0; /* Poista tyhjät marginaalit */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Varjo */
  border-radius: 1rem;
}

/* Näytetään dropdown-menu, kun hiiri on dropdown-elementissä */
.dropdown:hover .dropdown-menu {
  display: block; /* Näytä valikko, kun hiiri on päällä */
  border-radius: 1rem;
}

/* Dropdown-linkkien tyyli normaalitilassa */
.dropdown-item {
text-decoration: none; /* Poistaa alleviivauksen */
color: var(--primary); /* Tekstiväri ei muutu siniseksi */
display: block; /* Täyttää leveys */
padding: 0.5rem 1rem; /* Lisää tilaa linkin ympärille */
transition: background-color 0.3s ease; /* Taustavärin siirtymä */
border-radius: 1rem;
}

/* Dropdown-linkkien hover-tyyli */
.dropdown-item:hover {
background-color: var(--secondaryLight); /* Käytetään toissijaista väriä hover-tilassa */
color: var(--primary); /* Teksti pysyy samana värinä hoverissa */
text-decoration: none; /* Varotoimi, ettei alleviivaus palaa */
border-radius: 1rem;
}

/* Hampurilaisvalikon säiliö */
.navbar-toggle {
  display: none; /* Näytä vain pienillä näytöillä */
}

.navbar-icon {
  display: none; /* Näytä vain pienillä näytöillä */
  font-size: 2rem;
  color: #000000; /* Väri musta */
  cursor: pointer;
}

/* Pienet näytöt */
@media (max-width: 768px) {
  .navbar-container {
      padding: 1rem; /* Pienennä tyhjää tilaa */
  }

  /* Mobiilivalikon sivulle liukuva tyyli */
  .side-menu {
      display: none;
      position: fixed;
      left: 0;
      top: 0;
      height: 100%;
      width: 80%;
      background-color: #ffffff;
      transform: translateX(-100%);
      transition: transform 0.3s ease;
      box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
      z-index: 1000;
      padding-top: 2rem;
  }

  .navbar-toggle:checked ~ .side-menu {
      transform: translateX(0);
      display: block;
  }

  .navbar-menu {
      position: column; /* Valikon sijainti on absoluuttinen */
      top: 0; /* Kiinnitetään valikko navbarin alapuolelle */
      left: 0;
      width: 100%;
      background-color: #ffffff; /* Taustaväri */
      flex-direction: column;
      overflow: hidden;
      transition: max-height 0.3s ease-in-out; /* Siirtymä avattaessa */
      z-index: 999;
      padding: 0; /* Poista tyhjät marginaalit */
  }

  /* Lisää marginaali linkkien väliin ja kasvata fonttikokoa */
  .navbar-link {
      text-decoration: none; /* Poista alleviivaus */
      color: #000000; /* Väri musta */
      font-size: 1.5rem; /* Fonttikoko */
      padding: 1rem; /* Lisää tilaa linkin ympärille */
      display: block; /* Täytä leveys */
      margin-bottom: 15px; /* Lisää väli linkkien välille */
  }

  /* Avaa valikko, kun toggle on aktiivinen */
  .navbar-toggle:checked + .navbar-icon + .navbar-menu {
      max-height: 300px; /* Aseta maksimikorkeus, kun valikko on avattu */
  }

  .navbar-icon {
      display: block; /* Näytä valikkokuvake pienillä näytöillä */
  }

  /* Mobiilivalikon sisällön tyyli */
  .navbar-menu {
      display: flex; /* Näytetään valikko */
  }

  /* Dropdown-valikko mobiilissa */
  .dropdown.active .dropdown-menu {
      display: block;
  }

  .dropdown-menu {
      display: none; /* Piilotettu oletuksena */
      position: relative; /* Suhteellinen sijainti */
      background-color: #ffffff; /* Taustaväri */
      padding: 0; /* Poista tyhjät marginaalit */
      margin: 0; /* Poista tyhjät marginaalit */
      z-index: 1001; /* Varmista, että se on päällä */
      border-radius: 1rem;
      box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
  }

  /* Lisää marginaali dropdown-linkkien väliin ja kasvata fonttikokoa */
  .dropdown-item {
      text-decoration: none; /* Poista alleviivaus */
      color: #000000; /* Väri musta */
      font-size: 1.2rem; /* Fonttikoko */
      padding: 1rem; /* Lisää tilaa linkin ympärille */
      display: block; /* Täytä leveys */
      margin-bottom: 10px; /* Lisää väli dropdown-linkkien välille */
  }
}



 /*-- -------------------------- -->
<---       Ota Yhteyttä        -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #ota-yhteytta {
        padding: var(--sectionPadding);
    }
    #ota-yhteytta .cs-container {
        width: 100%;
        max-width: 80rem;
        margin: auto;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        /* 48px - 64px */
        gap: clamp(3rem, 6vw, 4rem);
    }
    #ota-yhteytta .cs-container {
        width: 100%;
        max-width: 80rem;
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* 48px - 64px */
        gap: clamp(3rem, 6vw, 4rem);
    }
    #ota-yhteytta .cs-content {
        /* set text align to left if content needs to be left aligned */
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        /* centers content horizontally, set to flex-start to left align */
        align-items: center;
    }
    #ota-yhteytta .cs-graphic {
        width: 100%;
        max-width: 26.82352941rem;
        margin: 0 0 1rem 0;
    }
    #ota-yhteytta .cs-title {
        font-size: var(--headerFontSize);
        font-weight: 900;
        line-height: 1.2em;
        text-align: inherit;
        max-width: 43.75rem;
        margin: 0 0 1rem 0;
        color: var(--headerColor);
        position: relative;
    }
    #ota-yhteytta .cs-text {
      font-size: var(--bodyFontSize);
      line-height: 1.5em;
      text-align: inherit;
      width: 100%;
      max-width: 40.625rem;
      margin: 0;
      color: var(--headerColor);
      background-color: transparent;
    }
    #ota-yhteytta .cs-card-group {
        width: 100%;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        /* 16px - 20px */
        gap: clamp(1rem, 2vw, 1.25rem);
    }
    #ota-yhteytta .cs-item {
        list-style: none;
        width: 100%;
        max-width: 25.8125rem;
        position: relative;
        z-index: 1;
    }
    #ota-yhteytta .cs-info {
        width: 85.5%;
        /* 16px - 24px */
        padding: clamp(1rem, 2vw, 1.5rem);
        margin: -3.75rem auto 0;
        box-sizing: border-box;
        background-color: #ffffff;
        box-shadow: 0px 12px 80px 0px rgba(26, 26, 26, 0.08);
        border-top: 4px solid var(--bodyTextColorWhite);
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        z-index: 10;
        border-radius: 1.25rem;
    }
    #ota-yhteytta .cs-name {
        /* 16px - 25px */
        font-size: clamp(1rem, 2vw, 1.5625rem);
        font-weight: 700;
        line-height: 1.2em;
        /* 4px - 8px */
        margin: 0 0 clamp(0.25rem, 1vw, 0.5rem);
        color: var(--headerColor);
        display: block;
        transition: color 0.3s;
    }
    #ota-yhteytta .cs-job {
        /* 14px - 16px */
        font-size: clamp(0.875rem, 1.5vw, 1rem);
        line-height: 1.5em;
        color: var(--headerColor);
        opacity: 0.8;
        display: block;
    }
    #ota-yhteytta .cs-picture {
        width: 100%;
        /* 246px - 500px */
        height: clamp(25rem, 40vw, 32.25rem);
        overflow: hidden;
        display: block;
        position: relative;
        transition: background-color 0.3s;
        z-index: -1;
        border-radius: 1.25rem;
    }
    #ota-yhteytta .cs-picture img {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        /* makes it behave like a background imahe */
        object-fit: cover;
        /* makes the image position itself at the top of the parent */
        object-position: top;
        transition:
            transform 0.6s,
            opacity 0.3s;
    }
    #ota-yhteytta .cs-contacts-list-section-items-group-heading {
        border-bottom: 2px solid #1a1a1a;
        padding-bottom: 10px;
        margin-bottom: 36px;
        font-family: "Rubik", sans-serif;
        font-weight: 700;
        line-height: 1.2;
        color: #1a1a1a;
    }
    }

/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
    #ota-yhteytta .cs-card-group {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        width: 100%;
    }
    #ota-yhteytta .cs-item {
        grid-column: span 6;
    }
}


/* footer */


.cs-footer {
    background-color: #f8f8f8; /* Light background color */
    padding: 20px;
    text-align: center;
    font-size: 0.875rem; /* Slightly smaller font size */
    color: #666666; /* Gray text color */
    border-top: 1px solid #dddddd; /* Optional: adds a line above the footer */
}

.cs-footer .cs-copyright {
    margin: 0;
    line-height: 1.5;
}
/*-- -------------------------- -->
<---           Etusivun laatikot             -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #etusivun-laatikot {
    padding: var(--sectionPadding);
    /* 200px - 300px - leaving extra space for the navigation, ks. kehitystyo*/
    position: relative;
    z-index: 1;
  }
  #etusivun-laatikot .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* 60px - 180px */
    gap: clamp(3.75rem, 13vw, 11.25rem);
    padding-bottom: 00px;
    padding-top: 00px;
  }
  #etusivun-laatikot .cs-content {
    /* set text align to left if content needs to be left aligned */
    text-align: left;
    width: 100%;
    max-width: 48.75rem;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: flex-start;
  }
  #etusivun-laatikot .cs-topper {
    /* 13px - 16px */
    font-size: clamp(0.8125rem, 1.5vw, 1rem);
    line-height: 1.2em;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    position: relative;
  }
  #etusivun-laatikot .cs-chevron {
    --chevronColor: var(--primary);
    width: 3rem;
    height: auto;
  }
  #etusivun-laatikot .cs-title {
    /* 39px - 61px */
    font-size: clamp(2.4375rem, 6.4vw, 3.8125rem);
    font-weight: 700;
    line-height: 1.2em;
    text-align: inherit;
    max-width: 100%;
    margin: 0 0 2.5rem 0;
    color: #fff;
    position: relative;
  }
  #etusivun-laatikot .cs-logo {
      margin: 0 0 2.5rem 0;
      gap: (30rem, 30vw, 30rem);
      padding-bottom: 0px;
      padding-top: 0px;
    }
  #etusivun-laatikot .cs-text {
    /* 16px - 20px */
    font-size: clamp(1rem, 1.95vw, 1.25rem);
    line-height: 1.5em;
    text-align: inherit;
    width: 100%;
    /* 464px - 622px */
    max-width: clamp(29rem, 60vw, 38.785rem);
    margin: 0 0 2.5rem 0;
    color: #fff;
  }
  #etusivun-laatikot .cs-button-solid {
    font-size: 1rem;
    line-height: 3.5em;
    text-decoration: none;
    font-weight: 700;
    overflow: hidden;
    width: auto;
    margin: 0;
    color: #fff;
    padding: 0 3rem;
    background-color: var(--bodyTextColor);
    display: inline-block;
    position: relative;
    z-index: 1;
    transition: color 0.3s;
    border-radius: 1rem;
  }
  #etusivun-laatikot .cs-button-solid:before {
    content: "";
    position: absolute;
    display: block;
    height: 100%;
    width: 0%;
    background: #21256e;
    opacity: 1;
    top: 0;
    left: 0;
    z-index: -1;
    transition: width 0.3s;
  }
  #etusivun-laatikot .cs-button-solid:hover:before {
    width: 100%;
    border-radius: 1rem;
  }
  #etusivun-laatikot .cs-card-group {
    margin: 0;
    padding: 0;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    /* 16px - 20px */
    gap: clamp(1rem, 2.3vw, 1.25rem);
  }
  #etusivun-laatikot .cs-item {
    width: 100%;
    text-align: left;
    list-style: none;
    margin: 0;
    /* 24px - 32px */
    padding: clamp(1.5rem, 3vw, 2rem);
    background-color: #fff;
    box-shadow: 0px 12px 80px 0px rgba(26, 26, 26, 0.08);
    /* prevents padding from affecting height and width */
    box-sizing: border-box;
    grid-column: span 12;
    grid-row: span 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
    z-index: 1;
    border-radius: 1.5rem;
  }
  #etusivun-laatikot .cs-icon {
    width: 3rem;
    height: auto;
    margin: 0 0 1.5rem 0;
  }
  #etusivun-laatikot .cs-h3 {
    /* 20px - 25px */
    font-size: clamp(1.25rem, 2.5vw, 1.5625rem);
    line-height: 1.2em;
    font-weight: bold;
    text-align: inherit;
    margin: 0 0 1rem 0;
    color: var(--headerColor);
  }
  #etusivun-laatikot .cs-item-text {
    /* 14px - 16px */
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    line-height: 1.5em;
    max-width: 28.125rem;
    margin: 0;
    padding: 0;
    color: var(--headerColor);
  }
  #etusivun-laatikot .cs-background {
    width: 100%;
    height: 55%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;
    transform: scale(1.01);
  }
  #etusivun-laatikot .cs-background:before {
    /* Overlay */
    content: '';
    width: 100%;
    height: 100%;
    background: #111926;
    opacity: .8;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    z-index: 1;
    /* prevents the cursor from interacting with it */
    pointer-events: none;
  }
  #etusivun-laatikot .cs-background img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    /* makes the top of the image start at the top of the parent */
    object-position: top;
  }
  #etusivun-laatikot .cs-link {
    text-decoration: none; /* Poista alleviivaus */
    color: #000; /* Linkin väri */
    display: block; /* Täytä koko tilaa */
    padding: 1rem; /* Lisää tilaa linkin ympärille */
    transition: background-color 0.3s; /* Siirtymä taustavärille */
}

/* Hover-efekti koko cs-itemille */
#etusivun-laatikot .cs-item:hover {
  background-color: #f0f0f0; /* Muuta taustaväriä hoverilla */
  box-shadow: 0px 12px 100px 0px rgba(26, 26, 26, 0.15); /* Lisää varjoa hoverilla */
  border-radius: 1.5rem; /* Varmista, että pyöristys säilyy */
}
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #etusivun-laatikot {
    padding-bottom: 0;
  }
  #etusivun-laatikot .cs-container {
    align-items: flex-start;
  }
  #etusivun-laatikot .cs-content {
    text-align: left;
    margin-left: 0;
    align-items: flex-start;
  }
  #etusivun-laatikot .cs-item {
    grid-column: span 6;
  }
  #etusivun-laatikot .cs-background {
    height: 87%;
  }
  #etusivun-laatikot .cs-background:before {
    background: linear-gradient(90deg, #111926 21.41%, rgba(17, 25, 38, 0.72) 34.98%, rgba(17, 25, 38, 0) 62.53%);
    opacity: 1;
  }
}
/* Large Desktop - 1300px */
@media only screen and (min-width: 81.25rem) {
  #etusivun-laatikot .cs-item {
    grid-column: span 3;
  }
}
/* Large Desktop Parallax Effect - 100px */
@media only screen and (min-width: 0rem) {
  #etusivun-laatikot .cs-background {
    background: url("/images/background/tausta.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* creates the parallax effect */
    background-attachment: fixed;
  }
  #etusivun-laatikot .cs-background img {
    display: none;
  }
}

/*-- -------------------------- -->
<---        Side By Side        -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #wrapper-1639 {
    background-color: #ebebeb;
    overflow: hidden;
  }
  #sbs-1639 {
    padding: var(--sectionPadding);
    padding-top: 0;
  }
  #sbs-1639 .cs-container {
    width: 100%;
    /* changes to 1280px at tablet */
    max-width: 36.5rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
  }
  #sbs-1639 .cs-content {
    /* set text align to left if content needs to be left aligned */
    text-align: left;
    width: 100%;
    max-width: 39.375rem;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: flex-start;
    position: relative;
    z-index: 10;
  }
  #sbs-1639 .cs-title {
    margin: 0 0 2.5rem 0;
    color: var(--bodyTextColor);
    margin-top: 30px;
  }
  #sbs-1639 .cs-text {
    margin-bottom: 1rem;
    color: var(--Primary);
    background-color: transparent;
  }
  #sbs-1639 .cs-text:last-of-type {
    margin-bottom: 2rem;
  }
  #sbs-1639 .cs-picture {
    width: 100%;
    height: auto;
    min-height: 26.25rem;
    display: block;
    position: relative;
    z-index: 1;
  }
  #sbs-1639 .cs-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 1rem;
  }
  #sbs-1639 .cs-stats-group {
    width: 100%;
    max-width: 35.625rem;
    display: flex;
    flex-direction: column;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #sbs-1639 .cs-container {
    max-width: 80rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
  }
  #sbs-1639 .cs-stats-group {
    /* 52px - 90px */
    margin-bottom: clamp(3.25rem, 7vw, 5.625rem);
    /* 60px - 120px */
    padding-top: clamp(3.75rem, 10vw, 7.5rem);
    /* 60px - 80px */
    padding-bottom: clamp(3.75rem, 8vw, 5rem);
    position: relative;
    z-index: 1;
  }
  #sbs-1639 .cs-stats-group:before {
    content: '';
    width: 200vw;
    height: 100%;
    background: #fff;
    opacity: 1;
    position: absolute;
    display: block;
    top: 100%;
    left: -100%;
    z-index: -1;
    transform: translateX(-50%);
  }
  #sbs-1639 .cs-picture {
    height: 100%;
  }
}
/*-- -------------------------- -->
<---           Steps            -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #steps-1675 {
    padding: var(--sectionPadding);
    padding-left: 0;
    padding-right: 0;
  }
  #steps-1675 .cs-container {
    width: 100%;
    /* changes to 1920px at tablet */
    max-width: 36.5rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
  }
  #steps-1675 .cs-content {
    /* set text align to left if content needs to be left aligned */
    text-align: center;
    width: 100%;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: center;
  }
  #steps-1675 .cs-text {
    /* Override.  cs-topper cs-title and first cs-text should be removed and put into your global css sheet so it can control every instance of them on your site and is consistent. This selector is a section specific override that stays inside this stitch */
    max-width: 32.625rem;
    background-color: transparent;
    color: var(--Primary);
  }
  #steps-1675 .cs-card-group {
    margin: 0;
    padding: 0;
    display: grid;
    justify-items: flex-start;
    align-items: stretch;
    grid-auto-flow: row;
  }
  #steps-1675 .cs-item {
    list-style: none;
    /* prevents padding and border from affecting height and width */
    box-sizing: border-box;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    /* bottom border */
  }

  #steps-1675 .cs-item:first-of-type {
    padding-top: 0;
  }
  #steps-1675 .cs-item:last-of-type {
    padding-bottom: 0;
  }
  #steps-1675 .cs-item:last-of-type::after {
    content: none;
  }
  #steps-1675 .cs-h3 {
    /* 20px - 25px */
    font-size: clamp(1.25rem, 2vw, 1.5625rem);
    font-weight: 700;
    line-height: 1.2em;
    margin: -1.9375rem 0 1rem 0;
    color: var(--headerColor);
  }
  #steps-1675 .cs-item-text {
    /* 14px - 16px */
    font-size: clamp(0.875rem, 2vw, 1rem);
    line-height: 1.5em;
    text-align: left;
    margin: 0;
    color: var(--bodyTextColor);
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #steps-1675 .cs-container {
    max-width: 120rem;
  }
  #steps-1675 .cs-card-group {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
  #steps-1675 .cs-item {
    /* 24px - 60px */
    padding: clamp(1.5rem, 3vw, 3.75rem);
    /* the specificity of the mobile .cs-item means we need to explicitly define the first and last items here, too */
  }
  #steps-1675 .cs-item::after {
    width: 1px;
    height: 100%;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, #bababa 50%, rgba(255, 255, 255, 0) 100%);
    opacity: .6;
    right: 0;
    left: initial;
  }
  #steps-1675 .cs-item:first-of-type,
  #steps-1675 .cs-item:last-of-type {
    /* 24px - 60px */
    padding: clamp(1.5rem, 3vw, 3.75rem);
  }
}

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #content-page-852 {
      padding: var(--sectionPadding);
      background-color: #fff;
      /* clips the wave background from causing overflow issues when it goes off screen */
      overflow: hidden;
      position: relative;
      z-index: 1;
  }
  #content-page-852 .cs-container {
      width: 100%;
      max-width: 80rem;
      margin: auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      /* 48px - 64px */
      gap: clamp(3rem, 6vw, 4rem);
      position: relative;
  }
  #content-page-852 .cs-content {
      /* set text align to left if content needs to be left aligned */
      text-align: left;
      width: 100%;
      max-width: 46.125rem;
      display: flex;
      flex-direction: column;
      /* centers content horizontally, set to flex-start to left align */
      align-items: flex-start;
  }
  #content-page-852 .cs-title {
      font-size: var(--headerFontSize);
      font-weight: 900;
      line-height: 1.2em;
      text-align: inherit;
      width: 100%;
      max-width: 100%;
      margin: 0 0 1rem 0;
      color: var(--headerColor);
      position: relative;
  }
  #content-page-852 h2,
  #content-page-852 h3,
  #content-page-852 h4,
  #content-page-852 h5,
  #content-page-852 h6 {
      font-weight: 700;
      text-align: inherit;
      margin: 0 0 1rem 0;
      color: var(--headerColor);
  }
  #content-page-852 h2 {
      font-size: 2rem;
      margin-top: 2rem;
      color: var(--bodyTextColor);
  }
  #content-page-852 h3 {
      font-size: 1.5rem;
      color: var(--bodyTextColor);
  }
  #content-page-852 h4,
  #content-page-852 h5,
  #content-page-852 h6 {
      font-size: 1.25rem;
  }
  #content-page-852 .cs-button-solid {
      margin-bottom: 2rem;
  }
  #content-page-852 .cs-no-margin {
      margin: 0;
  }
  #content-page-852 .cs-color {
      color: var(--bodyTextColor);
  }
  #content-page-852 p {
      font-size: var(--bodyFontSize);
      line-height: 1.5em;
      text-align: inherit;
      width: 100%;
      margin: 0 0 1rem 0;
      color: var(--Primary);
  }
  #content-page-852 p:last-of-type {
      margin-bottom: 2rem;
  }
  #content-page-852 p a {
      font-size: inherit;
      line-height: inherit;
      text-decoration: underline;
  }
  #content-page-852 ol,
  #content-page-852 ul {
      padding-left: 1.5rem;
      margin: 0 0 2rem 0;
      color: var(--Primary);
      display: flex;
      flex-direction: column;
      gap: 1rem;
  }
  #content-page-852 ul li {
      list-style: none;
      color: inherit;
      position: relative;
  }
  #content-page-852 ul li:before {
      /* custom list bullet */
      content: "";
      width: 3px;
      height: 3px;
      background: currentColor;
      opacity: 1;
      border-radius: 50%;
      position: absolute;
      display: block;
      top: 0.625rem;
      left: -0.75rem;
  }
  #content-page-852 img {
      width: 100%;
      height: auto;
      display: block;
  }
  #content-page-852 .cs-image-group {
      width: 100%;
      max-width: 27.0625rem;
      display: none;
      flex-direction: column;
      gap: 1.25rem;
      position: relative;
  }
  #content-page-852 .cs-image-group:after {
      /* colored box */
      content: "";
      width: 100%;
      /* 177px - 258px */
      height: clamp(11.0625rem, 19vw, 16.125rem);
      background: var(--primary);
      border-radius: 6.25rem 0 6.25rem;
      opacity: 0.15;
      display: block;
  }
  #content-page-852 .cs-picture {
      width: 100%;
      /* 300px - 520px */
      height: clamp(18.75rem, 40vw, 32.5rem);
      box-shadow: 0px 3.3478px 50.2169px rgba(0, 0, 0, 0.16);
      /* 125px - 200px */
      border-radius: 0 clamp(7.8125rem, 15vw, 12.5rem) 0
          clamp(7.8125rem, 15vw, 12.5rem);
      /* prevents border from affecting height and width */
      box-sizing: border-box;
      /* clips img tag corners */
      overflow: hidden;
      display: block;
      position: relative;
  }
  #content-page-852 .cs-picture img {
      width: 100%;
      height: 100%;
      /* makes it act like a background image */
      object-fit: cover;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #content-page-852 .cs-container {
      flex-direction: row;
      align-items: flex-start;
      justify-content: space-between;
  }
  #content-page-852 .cs-content {
      flex: none;
      width: 60%;
      /* sens it to the right in the 2nd position */
      order: 2;
  }
  #content-page-852 .cs-image-group {
      display: flex;
  }
}
/* Taulukon yleiset tyylit */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden; /* estää taulukon ylityksiä */
  margin-bottom: 40px;
}

thead th {
  background-color: #5c6bc0; /* Tumma taustaväri */
  color: #ffffff;
  padding: 12px;
  font-weight: bold;
  text-align: left;
  font-size: 1rem;
}

tbody td {
  padding: 12px;
  border-bottom: 1px solid #ddd;
  font-size: 0.9rem;
}

tfoot th {
  background-color: #e8eaf6; /* Vaaleampi taustaväri summille */
  padding: 12px;
  font-weight: bold;
  text-align: left;
  border-top: 2px solid #5c6bc0;
  font-size: 1rem;
}

/* Numerosarakkeet oikealle tasattuina */
td:nth-child(2), 
td:nth-child(4),
th:nth-child(2), 
th:nth-child(4) {
  text-align: right;
}


/* Tablet-laitteille */
@media only screen and (min-width: 48rem) and (max-width: 768px) {
  table {
    font-size: 0.95rem;
  }

  thead th, 
  tbody td, 
  tfoot th {
    padding: 10px;
  }
}
/*-- -------------------------- -->
<---            CTA             -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #cta-51 {
      padding: var(--sectionPadding);
      position: relative;
  }
  #cta-51 .cs-container {
      width: 100%;
      max-width: 80rem;
      margin: auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      /* 48px - 64px */
      gap: clamp(3rem, 6vw, 4rem);
  }
  #cta-51 .cs-content {
      /* set text align to left if content needs to be left aligned */
      text-align: center;
      width: 100%;
      display: flex;
      flex-direction: column;
      /* centers content horizontally, set to flex-start to left align */
      align-items: center;
  }

  #cta-51 .cs-title {
      color: var(--bodyTextColorWhite);
  }
  #cta-51 .cs-text {
      margin-bottom: 1rem;
      color: var(--bodyTextColorWhite);
      background-color: transparent;
  }
  #cta-51 .cs-text:last-of-type {
      margin-bottom: 2rem;
  }
  #cta-51 .cs-button-solid {
    font-size: 1rem;
    line-height: 3.5em;
    text-decoration: none;
    font-weight: 700;
    overflow: hidden;
    width: auto;
    margin: 0;
    color: #fff;
    padding: 0 3rem;
    background-color: var(--bodyTextColor);
    display: inline-block;
    position: relative;
    z-index: 1;
    transition: color 0.3s;
    border-radius: 1rem;
  }
  #cta-51 .cs-button-solid:before {
    content: "";
    position: absolute;
    display: block;
    height: 100%;
    width: 0%;
    background: #21256e;
    opacity: 1;
    top: 0;
    left: 0;
    z-index: -1;
    transition: width 0.3s;
  }
  #cta-51 .cs-button-solid:hover:before {
      width: 100%;
  }
  #cta-51 .cs-picture {
      height: 100%;
      width: 100%;
      display: block;
      position: absolute;
      top: 0;
      left: 0;
      z-index: -1;
  }
  #cta-51 .cs-picture:before {
      /* black color overlay */
      content: "";
      position: absolute;
      display: block;
      height: 100%;
      width: 100%;
      background: #000;
      opacity: 0.8;
      top: 0;
      left: 0;
      z-index: 1;
  }
  #cta-51 .cs-picture img {
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      object-fit: cover;
  }
}
/*-- -------------------------- -->
<---          Lomake           -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #laita-viesti {
      position: relative;
      z-index: 1;
  }
  #laita-viesti .cs-container {
      width: 100%;
      max-width: 80rem;
      margin: auto;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      gap: 3rem;
  }
  #laita-viesti .cs-content {
      /* set text aling to left if content needs to be left aligned */
      text-align: center;
      width: 100%;
      display: flex;
      flex-direction: column;
      /* centers content horizontally, set to flex-start to left align */
      align-items: center;
  }

  #laita-viesti .cs-title {
      margin: 0;
  }
  #laita-viesti .cs-right {
      width: 100%;
      /* changes to 630px at desktop */
      max-width: 36.5rem;
      /* moved section padding to the content so the picture can be full width */
      padding: var(--sectionPadding);
      padding-top: 0;
      /* prevents padding and border from affecting height and width */
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 2.5rem;
  }
  #laita-viesti .cs-form {
      width: 100%;
      padding: 0;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      align-items: center;
      flex-direction: column;
      gap: 0.75rem;
  }
  #laita-viesti .cs-label {
      font-size: 1rem;
      width: 100%;
      color: var(--headerColor);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
      gap: 0.5rem;
  }
  #laita-viesti .cs-input {
      font-size: 1rem;
      width: 100%;
      height: 3.5rem;
      padding: 0;
      padding-left: 1.5rem;
      color: var(--headerColor);
      background-color: #f7f7f7;
      border: none;
      /* prevents padding from adding to height and width */
      box-sizing: border-box;
      transition: border-color 0.3s;
  }
  #laita-viesti .cs-input:hover {
      border-color: var(--secondary);
  }
  #laita-viesti .cs-input:focus {
      outline: 1px solid var(--secondary);
  }
  #laita-viesti .cs-input::placeholder {
      color: #767676;
      opacity: 0.8;
  }
  #laita-viesti .cs-textarea {
      min-height: 7.5rem;
      padding-top: 1.5rem;
      margin-bottom: 1.75rem;
      font-family: inherit;
  }
  #laita-viesti .cs-button-solid {
    font-size: 1rem;
    line-height: 3.5em;
    text-decoration: none;
    font-weight: 700;
    overflow: hidden;
    width: auto;
    margin: 0;
    color: #fff;
    padding: 0 3rem;
    background-color: var(--bodyTextColor);
    display: inline-block;
    position: relative;
    z-index: 1;
    transition: color 0.3s;
    border-radius: 1rem;
  }
  #laita-viesti .cs-button-solid:before {
    content: "";
    position: absolute;
    display: block;
    height: 100%;
    width: 0%;
    background: #21256e;
    opacity: 1;
    top: 0;
    left: 0;
    z-index: -1;
    transition: width 0.3s;
  }
  #laita-viesti .cs-button-solid:hover:before {
      width: 100%;
      border-radius: 1rem;
  }
  #laita-viesti .cs-submit {
      min-width: 13.375rem;
      border: none;
      border-radius: 1rem;
  }
  #laita-viesti .cs-submit:hover {
      cursor: pointer;
  }
  #laita-viesti .cs-picture {
      display: block;
      position: relative;
      width: 100%;
      /* 360px - 600px */
      height: clamp(22.5rem, 100vw, 37.5rem);
      border-radius: 1rem;
  }
  #laita-viesti .cs-picture img {
      position: relative;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      object-fit: cover;
      border-radius: 1rem;
  }
  #laita-viesti .cs-item-text {
font-size: small;
color: #767676;
}
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #laita-viesti {
      padding: var(--sectionPadding);
      position: relative;
  }
  #laita-viesti .cs-container {
      flex-direction: row;
      justify-content: flex-end;
  }
  #laita-viesti .cs-form {
      max-width: 39.375rem;
  }
  #laita-viesti .cs-content {
      text-align: left;
      align-items: flex-start;
  }
  #laita-viesti .cs-form {
      align-items: flex-start;
  }
  #laita-viesti .cs-picture {
    height: auto;
    min-height: 32.8125rem;

  }
}
/*-- -------------------------- -->
<---        Side By Side        -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #RPsbs-1587,
  #RPsbsr-1587 {
    padding: var(--sectionPadding);
    position: relative;
    z-index: 1;
  }
  #RPsbs-1587 .cs-container,
  #RPsbsr-1587 .cs-container {
    width: 100%;
    /* changes to 1280px at tablet */
    max-width: 36.5rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(2.5rem, 6vw, 4rem);
  }
  #RPsbs-1587 .cs-picture,
  #RPsbsr-1587 .cs-picture {
    width: 100%;
    height: clamp(25rem, 80vw, 47rem);
    display: block;
    position: relative;

  }
  #RPsbs-1587 .cs-picture img,
  #RPsbsr-1587 .cs-picture img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 1rem;
  }
  #RPsbs-1587 .cs-content,
  #RPsbsr-1587 .cs-content {
    /* set text align to left if content needs to be left aligned */
    text-align: left;
    width: 100%;
    max-width: 39.375rem;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: flex-start;
    justify-content: center;
  }
  #RPsbs-1587 .cs-title,
  #RPsbsr-1587 .cs-title {
    /* 26 characters wide including spaces */
    max-width: 26ch;
    margin: 0;
  }
  #RPsbs-1587 .cs-card-group,
  #RPsbsr-1587 .cs-card-group {
    width: 100%;
    /* 550px - 630px */
    max-width: clamp(34.375rem, 50vw, 39.375rem);
    padding: 0;
    /* 24px - 40px */
    margin: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(1.75rem, 4vw, 2.5rem) 0;
    display: grid;
    align-items: center;
    gap: clamp(1rem, 4vw, 2.5rem);
  }
  #RPsbs-1587 .cs-item,
  #RPsbsr-1587 .cs-item {
    list-style: none;
    /* prevents padding from affecting height and width */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  #RPsbs-1587 .wrapper,
  #RPsbsr-1587 .wrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.625rem;
  }
  #RPsbs-1587 .cs-h3,
  #RPsbsr-1587 .cs-h3 {
    font-size: 1.25rem;
    line-height: 1.2em;
    font-weight: 700;
    margin: 0;
    color: var(--headerColor);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
  }
  #RPsbs-1587 .cs-item-text,
  #RPsbsr-1587 .cs-item-text {
    font-size: 0.875rem;
    line-height: 1.5em;
    margin: 0;
    color: var(--Primary);
  }
  #RPsbs-1587 .cs-button-solid,
  #RPsbsr-1587 .cs-button-solid {
    font-size: 1rem;
    line-height: 3.5em;
    text-decoration: none;
    font-weight: 700;
    overflow: hidden;
    width: auto;
    margin: 0;
    color: #fff;
    padding: 0 3rem;
    background-color: var(--bodyTextColor);
    display: inline-block;
    position: relative;
    z-index: 1;
    transition: color 0.3s;
    border-radius: 1rem;
  }
  #RPsbs-1587 .cs-button-solid:before,
  #RPsbsr-1587 .cs-button-solid:before {
    content: "";
    position: absolute;
    display: block;
    height: 100%;
    width: 0%;
    background: #21256e;
    opacity: 1;
    top: 0;
    left: 0;
    z-index: -1;
    transition: width 0.3s;
  }
  #RPsbs-1587 .cs-button-solid:hover:before,
  #RPsbsr-1587 .cs-button-solid:hover:before {
    width: 100%;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #RPsbs-1587 .cs-container,
  #RPsbsr-1587 .cs-container {
    max-width: 80rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
  }
  #RPsbs-1587 .cs-content,
  #RPsbsr-1587 .cs-content {
    width: 50%;
    max-width: 39.375rem;
    /* prevents flexbox from squishing it */
    flex: none;
  }
  #RPsbs-1587 .cs-card-group,
  #RPsbsr-1587 .cs-card-group {
    grid-template-columns: repeat(12, 1fr);
  }
  #RPsbs-1587 .cs-item,
  #RPsbsr-1587 .cs-item {
    grid-column: span 6;
  }
  #RPsbs-1587 .cs-picture,
  #RPsbsr-1587 .cs-picture {
    height: auto;
    min-height: 32.8125rem;
  }
}
/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #RPsbs-1587 .cs-content,
  #RPsbsr-1587 .cs-content {
    padding: 5.25rem 0;
    align-self: center;
  }
}

/*-- -------------------------- -->
<---   Side By Side Reverse     -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #RPsbsr-1587 {
    background-color: #f7f7f7;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #RPsbsr-1587 .cs-picture {
    order: 2;
  }
}
/*-- -------------------------- -->
<---            Blog            -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #blog-1540 {
    padding: var(--sectionPadding);
    position: relative;
    z-index: 1;
    overflow: hidden;
  }
  #blog-1540:before {
    /* backgorund color */
    content: '';
    width: 100%;
    height: 100%;
    background: var(--primary);
    opacity: .05;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    z-index: -1;
  }
  #blog-1540 .cs-container {
    width: 100%;
    /* changes to 1280px at large desktop */
    max-width: 36.5rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
    position: relative;
  }
  #blog-1540 .cs-content {
    /* set text align to left if content needs to be left aligned */
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: center;
  }
  #blog-1540 .cs-title {
    /* max width of 18 characters, incldues spaces between words */
    max-width: 23ch;
  }
  #blog-1540 .cs-text {
    background-color: transparent;
    color: var(--Primary);
  }
  #blog-1540 .cs-card-group {
    width: 100%;
    margin: 0;
    padding: 0;
    display: grid;
    justify-items: center;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.25rem;
  }
  #blog-1540 .cs-item {
    text-align: left;
    list-style: none;
    /* 16px - 24px */
    padding: clamp(1rem, 3vw, 1.5rem);
    box-sizing: border-box;
    background-color: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 2.5rem;
    grid-column: span 12;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: border-color 0.3s;
  }
  #blog-1540 .cs-item:hover {
    border-color: var(--primary);
  }
  #blog-1540 .cs-link {
    text-decoration: none;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 1;
  }
  #blog-1540 .cs-picture-group {
    width: 100%;
    margin-bottom: 1.5rem;
    position: relative;
  }
  #blog-1540 .cs-picture {
    width: 100%;
    /* 200px - 340px, resets to 200px at desktop */
    height: clamp(12.5rem, 45vw, 21.25rem);
    background-color: #1a1a1a;
    display: block;
    position: relative;
    z-index: 1;
    overflow: hidden;
    /* prevents flexbox from squsihing it */
    flex: none;
  }
  #blog-1540 .cs-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.6s, opacity 0.3s;
  }
  #blog-1540 .cs-mask {
    --maskBG: #fff;
    --maskBorder: #e8e8e8;
    width: 101%;
    height: 101%;
    position: absolute;
    top: -1px;
    right: -1px;
    bottom: -1px;
    left: -1px;
    z-index: 1;
  }
  #blog-1540 .cs-flex {
    margin: 0 0 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
  }
  #blog-1540 .cs-tag {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2em;
    text-align: center;
    width: fit-content;
    margin-right: 0;
    padding: 0.5rem 1rem;
    color: var(--bodyTextColor);
    border-radius: 6.25rem;
    display: block;
    position: relative;
    overflow: hidden;
  }
  #blog-1540 .cs-tag::before {
    content: "";
    width: 100%;
    height: 100%;
    background: var(--primary);
    opacity: 0.1;
    position: absolute;
    top: 0;
    left: 0;
  }
  #blog-1540 .cs-item-text {
    font-size: 1rem;
    line-height: 1.5em;
    font-weight: 400;
    margin: 0;
    color: var(--primary);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
  }
  #blog-1540 .cs-h3 {
    /* 20px - 25px */
    font-size: clamp(1.25rem, 2vw, 1.5625rem);
    font-weight: 700;
    line-height: 1.2em;
    text-align: inherit;
    margin: 0 0 0.5rem 0;
    color: var(--headerColor);
    transition: color 0.3s;
  }
  #blog-1540 .cs-bottom {
    margin: 1.5rem 0 0 0;
    padding: 1.5rem 0 0 0;
    border-top: 1px solid #E8E8E8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
  }
  #blog-1540 .cs-author-group {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
  }
  #blog-1540 .cs-profile {
    width: 3.125rem;
    height: 3.125rem;
    border: 2px solid #BABABA;
    background-color: #BABABA;
    border-radius: 50%;
    /* clips image corners to make circle */
    overflow: hidden;
    position: relative;
    display: block;
  }
  #blog-1540 .cs-profile img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /* makes the image behave like a background image */
    object-fit: cover;
  }
  #blog-1540 .cs-name {
    font-size: 1rem;
    line-height: 1.2em;
    font-weight: 700;
    margin: 0;
    color: var(--headerColor);
    display: block;
  }
  #blog-1540 .cs-wrapper {
    width: 3rem;
    height: 3rem;
    border: 1px solid #bababa;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #blog-1540 .cs-container {
    max-width: 80rem;
  }
  #blog-1540 .cs-picture {
    height: 12.5rem;
  }
  #blog-1540 .cs-item {
    grid-column: span 4;
  }
}