@charset "UTF-8";
.template-2025-home {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #eeeeef;
}
.template-2025-home .main-image {
  width: 100%;
  height: 720px;
  max-height: 75vh;
  overflow: hidden;
}
.template-2025-home .main-image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.template-2025-home .main-card {
  width: 100%;
  background-color: #dacdc8;
  color: #000000;
}
.template-2025-home .main-card .content {
  max-width: 660px;
  padding: 4rem 1rem;
  margin: 0 auto;
  text-align: center;
}
.template-2025-home .main-card .content h2 {
  font-size: 2rem;
}
.template-2025-home .main-card .content p {
  font-size: 1.2rem;
}
.template-2025-home .card-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-wrap: wrap;
  width: calc(100% - 2rem);
  max-width: 1080px;
}
@media (min-width: 800px) {
  .template-2025-home .card-row {
    flex-direction: row;
  }
}
.template-2025-home .card-row .card {
  position: relative;
  transition: 0.25s box-shadow;
}
.template-2025-home .card-row .card::after {
  content: "Lue lisää";
  opacity: 0;
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 0.25rem 0.5rem;
  transition: 0.5s opacity;
  background-color: #2dbad6;
  color: #FFFFFF;
  font-weight: 700;
}
.template-2025-home .card-row .card:hover {
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.2);
}
.template-2025-home .card-row .card:hover::after {
  opacity: 1;
}
.template-2025-home .card-row .card {
  flex: 1 0 calc(33.3333333333% - 2rem);
  display: flex;
  flex-direction: column;
  background-color: #FFFFFF;
  color: inherit;
  text-decoration: inherit;
  border-radius: 0.5rem;
  overflow: hidden;
}
@media not all and (min-width: 800px) {
  .template-2025-home .card-row .card.small {
    flex-direction: row;
  }
  .template-2025-home .card-row .card.small .content {
    padding: 1rem;
  }
}
.template-2025-home .card-row .card .image {
  transition: 0.25s all;
}
.template-2025-home .card-row .card .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.template-2025-home .card-row .card .content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem 2rem 2rem;
  text-align: center;
}
.template-2025-home .card-row .card .content h2 {
  font-size: 1.25rem;
}
.template-2025-home .card-row .card .content .category {
  color: #565c60;
}
.template-2025-home .card-row {
  margin: 4rem 1rem 1rem 1rem;
}
.template-2025-home .wide-card {
  position: relative;
  transition: 0.25s box-shadow;
}
.template-2025-home .wide-card::after {
  content: "Lue lisää";
  opacity: 0;
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 0.25rem 0.5rem;
  transition: 0.5s opacity;
  background-color: #2dbad6;
  color: #FFFFFF;
  font-weight: 700;
}
.template-2025-home .wide-card:hover {
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.2);
}
.template-2025-home .wide-card:hover::after {
  opacity: 1;
}
.template-2025-home .wide-card {
  display: flex;
  flex-direction: column;
  width: calc(100% - 2rem);
  max-width: 1080px;
  margin: 1rem 1rem 4rem 1rem;
  color: inherit;
  text-decoration: inherit;
  border-radius: 0.5rem;
  overflow: hidden;
}
@media (min-width: 660px) {
  .template-2025-home .wide-card {
    flex-direction: row;
  }
}
.template-2025-home .wide-card .image {
  flex: 2;
  transition: 0.25s all;
}
.template-2025-home .wide-card .image img {
  object-fit: cover;
  width: 100%;
  height: 400px;
}
.template-2025-home .wide-card .content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem;
  background-color: #FFFFFF;
  text-align: center;
}
@media (min-width: 660px) {
  .template-2025-home .wide-card .content {
    padding-top: 0;
  }
}
.template-2025-home .wide-card .content img, .template-2025-home .wide-card .content svg {
  width: 4.5rem;
  margin-bottom: 1.5rem;
}
.template-2025-home .wide-card .content h2 {
  font-size: 1.25rem;
}
.template-2025-home .instagram-feed {
  width: 100%;
  background-color: #FFFFFF;
}
.template-2025-home .instagram-feed .content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: calc(100% - 1rem);
  max-width: 1080px;
  padding: 4rem 0;
  margin: 0 auto;
  text-align: center;
}
.template-2025-home .instagram-feed .content .images {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.template-2025-home .instagram-feed .content .images .image {
  position: relative;
  transition: 0.25s box-shadow;
}
.template-2025-home .instagram-feed .content .images .image::after {
  content: "Lue lisää";
  opacity: 0;
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 0.25rem 0.5rem;
  transition: 0.5s opacity;
  background-color: #2dbad6;
  color: #FFFFFF;
  font-weight: 700;
}
.template-2025-home .instagram-feed .content .images .image:hover {
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.2);
}
.template-2025-home .instagram-feed .content .images .image:hover::after {
  opacity: 1;
}
.template-2025-home .instagram-feed .content .images .image {
  width: calc((1080px - 6rem) / 4);
  height: calc((1080px - 6rem) / 4);
  color: inherit;
  text-decoration: inherit;
  overflow: hidden;
}
.template-2025-home .instagram-feed .content .images .image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.template-2025-home .table-of-contents {
  width: 100%;
  background-color: #2dbad6;
  color: #FFFFFF;
}
.template-2025-home .table-of-contents .content {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 2rem 1rem;
  max-width: 1080px;
  margin: 0 auto;
  padding: 2rem 0;
}
@media (min-width: 400px) {
  .template-2025-home .table-of-contents .content {
    padding: 2rem 1rem;
  }
}
@media (min-width: 660px) {
  .template-2025-home .table-of-contents .content {
    padding: 4rem;
  }
}
@media (min-width: 800px) {
  .template-2025-home .table-of-contents .content {
    flex-direction: row;
  }
}
.template-2025-home .table-of-contents .content .target {
  flex-basis: calc(50% - 0.5rem - 2rem);
  display: flex;
  flex-direction: row;
  gap: 1rem;
  padding: 1rem;
  color: inherit;
  text-decoration: inherit;
  border-radius: 0.25rem;
}
@media (min-width: 660px) {
  .template-2025-home .table-of-contents .content .target {
    gap: 2rem;
  }
}
.template-2025-home .table-of-contents .content .target:hover {
  outline: 1px solid rgb(31.7300796813, 140.8505976096, 162.5199203187);
}
.template-2025-home .table-of-contents .content .target .icon {
  background-image: url(/css/icons/navigation-sprite.png);
  background-position: 0 0;
  background-size: cover;
  min-width: 4rem;
  height: 4rem;
  transform: scale(1);
  margin: 0rem;
}
.template-2025-home .table-of-contents .content .target .text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.template-2025-home .table-of-contents .content .target .text span {
  font-size: 1.2rem;
}
.template-2025-home .link-2 {
  padding: 0.5rem 1rem;
  background-color: #2dbad6;
  color: #FFFFFF;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  border-radius: 0.25rem;
}

/*# sourceMappingURL=template-home.css.map */
