/*
Theme Name: Jukola
Theme URI: https:/jukola.com/tietoja
Author: Zoneatlas Oy
Author URI: https://www.zoneatlas.com
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

:root {
    --font-family-primary: 'Open Sans', sans-serif;
    --font-family-secondary: 'Barlow', sans-serif;
    --color-primary: #007F34;
    --color-primary-darker: #126C1F;
    --color-secondary: #B36600;
    --color-secondary-darker: #985600;
    --color-white: #fff;
    --color-gray: #68676C;
    --color-green: #007F34;
    --color-blue: #1BBBE9;
    --color-blue-darker: #18a5cb;
    --color-brown: #D1AF7C;
    --color-beige: #F6ECE0;
    --color-beige-darker: #e1d7cc;
    --color-skin: #FEF2E7;
    --color-black: #1A171B;
    --link-color: #B36600;
    --color-body-text: #1A171B;
    --font-size-body: 1rem;
    --font-size-nav-list: 0.94rem;
    --font-sizenav-list-upper: 0.75rem;
    --font-size-xxl: 4.75rem;
    --font-size-h1: 4rem;
    --font-size-h2: 2.2rem;
    --font-size-h3: 1.8rem;
    --font-size-btn: 0.94rem;
    --basic-elevation: 0px 10px 15px rgba(31, 84, 100, 0.2);
    --navbar-height: 80px;
    --wrapper-max-width: 1500px;
}

html {
    font-size: 16px;
    font-size: var(--font-size-body);
}

body {
    font-size: 16px;
    font-size: var(--font-size-body);
    font-family: var(--font-family-primary);
    color: var(--color-body-text);
}

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

a:hover {
    color: var(--link-color);
}

h1 {
    font-family: var(--font-family-secondary);
    font-size: var(--font-size-h1);
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0em;
    margin-bottom: .5em;
}

h2 {
    font-family: var(--font-family-secondary);
    font-size: var(--font-size-h2);
    font-style: normal;
    font-weight: 500;
    line-height: 1.33;
    letter-spacing: 0em;
    margin-bottom: .5em;
}

h3 {
    font-family: var(--font-family-secondary);
    font-size: var(--font-size-h3);
    font-style: normal;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0em;
    margin-bottom: .5em;
}

h4 {
    font-family: var(--font-family-secondary);
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1rem;
    letter-spacing: 0.13em;
    margin-bottom: .5em;
}


/* Helpers */

.container-wrapped {
    max-width: var(--wrapper-max-width);
}

.bg-primary {
    background-color: var(--color-primary) !important;
}

.bg-green {
    background-color: var(--color-primary) !important;
}

.bg-forestgreen {
    background-color: #1F842D !important;
}

.bg-primary-darker {
    background-color: var(--color-primary-darker) !important;
}

.bg-blue {
    background-color: var(--color-blue) !important;
}

.bs-default {
    box-shadow: var(--basic-elevation);
}

.text-green {
    color: var(--color-green);
}

.text-blue {
    color: var(--color-blue);
}

.text-brown {
    color: var(--color-brown);
}

.text-beige {
    color: var(--color-beige);
}

.text-skin {
    color: var(--color-skin);
}

.py-medium {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.py-large {
    padding-top: 10rem;
    padding-bottom: 10rem;
}

.bg-cover {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.btn-text {
    text-decoration: none;
    font-family: var(--font-family-primary);
    font-size: var(--font-size-btn);
    font-style: normal;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}


/* buttons */

.jukola-button {
    --border-width: 2px;
    --color: inherit;
    --min-size: 64px;
    --outline-gutter: 2px;
    --outline-width: 3px;
    --border-radius: 4px;
    align-content: flex-start;
    align-items: center;
    background-color: var(--background-color, transparent);
    border: var(--border-width) solid var(--border-color, transparent);
    border-radius: var(--border-radius);
    color: var(--color);
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    min-height: var(--min-size);
    min-width: 16rem;
    padding: 0 2.5rem;
    position: relative;
    vertical-align: top;
    text-decoration: none;
    font-family: var(--font-family-primary);
    font-size: var(--font-size-btn);
    font-style: normal;
    font-weight: 700;
    line-height: 1rem;
    letter-spacing: 0.15em;
    text-align: center;
    text-transform: uppercase;
}

.jukola-button:hover,
.jukola-button:focus {
    transition-property: background-color, border-color, color;
    transition-duration: 85ms;
    transition-timing-function: ease-out;
}

.jukola-button:hover {
    background-color: var(--background-color-hover, transparent);
    color: var(--color-hover);
}

.jukola-button:focus {
    background-color: var(--background-color-focus, transparent);
    color: var(--color-focus);
    outline: none;
}

.jukola-button--wide {
    padding-left: 4rem;
    padding-right: 4rem;
}

.jukola-button--primary {
    --background-color: var(--color-primary);
    --background-color-hover: var(--color-primary-darker);
    --background-color-focus: var(--color-primary);
    --color: var(--color-white);
    --color-hover: var(--color-white);
    --color-focus: var(--color-white);
}

.jukola-button--secondary {
    --background-color: var(--color-secondary);
    --background-color-hover: var(--color-secondary-darker);
    --background-color-focus: var(--color-secondary);
    --color: var(--color-white);
    --color-hover: var(--color-white);
    --color-focus: var(--color-white);
}

.jukola-button--blue {
    --background-color: var(--color-blue);
    --background-color-hover: var(--color-blue-darker);
    --background-color-focus: var(--color-blue);
    --color: var(--color-white);
    --color-hover: var(--color-white);
    --color-focus: var(--color-white);
}

.jukola-button--beige {
    --background-color: var(--color-beige);
    --background-color-hover: var(--color-beige-darker);
    --background-color-focus: var(--color-beige);
    --color: var(--color-black);
    --color-hover: var(--color-black);
    --color-focus: var(--color-black);
}

.jukola-button--brown {
    --background-color: var(--color-secondary);
    --background-color-hover: var(--color-secondary-darker);
    --background-color-focus: var(--color-secondary);
    --color: var(--color-white);
    --color-hover: var(--color-white);
    --color-focus: var(--color-white);
}


/* icons */

.icon {
    height: 1.5rem;
    width: 1.5rem;
}

.icon--large {
    height: 3rem;
    width: 3rem;
}

.icon svg {
    height: 100%;
    width: 100%;
}


/* SVG BG */

.with-svg-bg {
    position: relative;
    overflow: hidden;
}

.loading .circle-years-bg {
    opacity: 0;
}

.circle-years-bg {
    position: absolute;
    z-index: 0;
    color: white;
    opacity: .1;
    height: 54rem;
    pointer-events: none;
    display: flex;
    transition: opacity 0.66s ease;
}

.circle-years-bg svg {
    height: 100%;
}

.circle-years-bg+* {
    z-index: 1;
}

.svg-bg--ycenter .circle-years-bg {
    top: 0;
    bottom: 0;
    margin: auto;
}

.svg-bg--right .circle-years-bg {
    right: 0;
}

.svg-bg--100 .circle-years-bg {
    height: 100%;
}

.svg-bg--beige .circle-years-bg {
    color: var(--color-skin);
    opacity: .7;
}


/* Main navigation */

#main-nav.navbar {
    padding: 0;
}

#main-nav.navbar .nav-link {
    color: #fff;
    font-family: var(--font-family-secondary);
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding-left: 1.5rem;
}

#main-nav.navbar .nav-link::after {
    transform: rotate(-90deg);
    opacity: 0.7;
    font-size: 0.9rem;
    margin-left: .3rem;
    transition: transform 0.05s ease;
}

#main-nav.navbar .nav-link.show::after {
    transform: rotate(0deg);
}

#main-nav .custom-logo-link {
    display: flex;
    align-items: center;
    height: var(--navbar-height);
    background: var(--color-primary);
}

#main-nav .custom-logo {
    top: -2rem;
    z-index: 2;
    max-width: 135px;
    width: 100%;
    height: auto;
}

#main-nav .navbar-nav {
    height: 100%;
    align-items: center;
}

#main-nav .navbar-nav li a {
    position: relative;
}

#main-nav .navbar-nav li.active .nav-link:before {
    content: "";
    border-bottom: 2px solid #F6ECE0;
    height: 2px;
    width: 25%;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.navbar-nav .dropdown-menu {
    margin: 0;
    padding: 0;
    border-radius: 0;
    border: none;
    box-shadow: 0 10px 25px 10px rgba(0, 0, 0, .24)
}

.navbar-nav .dropdown-menu .dropdown-item {
    padding: 0;
    margin: 0;
    background-color: var(--color-gray);
    font-weight: 500;
    padding: 6px 25px;
    line-height: 40px;
    color: #fff;
}

.navbar-toggler {
    --border-radius: 4px;
    padding: 0.475rem 0.75rem;
    border-radius: var(--border-radius);
}


/* Topbar */

#top-bar-navi {
    color: #fff;
    padding-bottom: 10px;
    padding-top: 10px;
}

#top-bar-navi .siteselector {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.jukola-timeline-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.jukola-timeline-links li {
    font-weight: 700;
    color: #fff;
    padding-right: 1.5rem;
    text-transform: uppercase;
    opacity: 0.7;
}

.jukola-timeline-links li.active {
    opacity: 1;
}

.jukola-timeline-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.15rem;
    font-weight: 600;
}

.lang-dropdown {
    color: #fff;
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.15rem;
    font-weight: 600;
}

.jukola-button.lang-dropdown-toggle {
    padding: 0.91rem 0.6rem;
    border: none;
    min-width: 0;
    min-height: auto;
    font-weight: 600;
    font-size: 0.75rem;
    color: #fff;
}

.jukola-button.lang-dropdown-toggle::after {
    transform: rotate(-90deg);
    opacity: 0.7;
    font-size: 0.9rem;
    margin-left: .3rem;
    transition: transform 0.05s ease;
}

.jukola-button.lang-dropdown-toggle.show::after {
    transform: rotate(0deg);
}

.lang-dropdown-menu {
    margin: 0;
    padding: 0;
    min-width: 100%;
}

.lang-dropdown-menu .dropdown-item {
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 0.15rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 1rem 0;
}

.lang-dropdown-menu .dropdown-item:active,
.lang-dropdown-menu .dropdown-item.active {
    background-color: transparent;
    opacity: 0.4;
}


/* Hero */

.loading #hero {
    opacity: 0;
}

#hero {
    color: #fff;
    background-position: center;
    overflow: hidden;
    position: relative;
    opacity: 1;
    transition: opacity 0.33s linear;
}

#hero .hero-inner {
    justify-content: center;
    display: inline-flex;
    flex-flow: column;
    height: 75vh;
    max-height: 633px;
}

#hero .slideshow {
    margin-bottom: 0px;
    min-height: auto;
    padding: 0;
}

#hero .slideshow .slide {
    background-color: transparent;
    position: relative;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 3rem 0 6rem 0;
}

#hero .slide h1 {
    line-height: 1;
    font-size: var(--font-size-xxl);
    margin-bottom: 2rem;
}

#hero .slide p {
    margin-bottom: 2rem;
}


/* Ingress card */

.loading .ingress-card {
    transform: translateY(3rem);
    opacity: 0;
}

.ingress-card {
    margin-top: -3rem;
    padding-bottom: 3rem;
    z-index: 2;
    opacity: 1;
    position: relative;
    transform: translateY(0);
    transition: transform .75s ease, opacity 0.5s ease;
}

.ingress-card .card-image {
    margin-bottom: -3rem;
    margin-left: -3rem;
    margin-right: 1rem;
}

.ingress-card .card-image img {
    max-height: 300px;
}

.ingress-card .card-body {
    font-family: var(--font-family-secondary);
    font-size: 2rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0em;
    text-transform: uppercase;
    padding: 0;
}

.ingress-card .card-body p:last-child {
    margin-bottom: 0;
}

.ingress-card .ingress-card__link {
    position: absolute;
    right: 2rem;
    top: 2rem;
    font-family: var(--font-family-secondary);
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    text-decoration: none;
}


/* News */

.news-card {
    color: inherit;
    text-decoration: none;
}

.news-card .card-title {
    font-size: 1.8rem;
    line-height: 1.2;
}

.news-card .card-body {
    padding: 1.8rem;
}

.news-card .date {
    font-weight: 600;
    letter-spacing: 0.13em;
}

.news-card img {
    object-fit: cover;
    height: 16rem;
}

.category-tabs {
    padding: 0 0 1rem 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid #f0f0f0;
}

.category-tabs .nav-link {
    position: relative;
    color: var(--color-primary);
    text-decoration: none;
    font-family: var(--font-family-secondary);
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0 0 .75rem 0;
}

.category-tabs .nav-link:after {
    content: "";
    margin: 0 10px;
    display: inline-block;
    vertical-align: middle;
    height: 1em;
    width: 1px;
    background: var(--color-primary);
}

.category-tabs .nav-item:last-child .nav-link:after {
    display: none;
}

.category-tabs .nav-link:hover,
.category-tabs .nav-link:focus,
.category-tabs .nav-link:active {
    color: var(--color-primary);
}

.category-tabs .nav-pills .nav-link.active,
.category-tabs .nav-pills .show>.nav-link {
    color: var(--color-primary);
    background-color: transparent;
    font-weight: 700;
}


/* Event section */

section.event-section {
    background-color: #F4F3F0;
    padding: 7rem 0;
}

.event-card .event-card__leftcol {
    min-height: 39rem;
}

.event-card__leftcol__logo {
    max-width: 16rem;
}


/* product card */

.product-card {
    overflow: hidden;
}

.product-card .card-img-top {
    object-fit: contain;
    height: 18rem;
}


/*  some links */

.some-links-section .some-link a {
    text-decoration: none;
}

.some-link {
    position: relative;
}

.some-link:after {
    content: "";
    border-right: 1px solid #fff;
    height: 100%;
    width: 1px;
    vertical-align: middle;
    position: absolute;
    right: 0;
    top: 0;
}

.some-link:last-child:after {
    display: none;
}


/* Footer */

.wp-block-image img {
    height: auto;
}

.footer-navi ul.menu {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
    grid-template-rows: fit-content(50%);
    grid-row-gap: 1em;
    grid-column-gap: 1em;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-navi ul.menu a {
    font-family: var(--font-family-secondary);
    color: var(--color-body-text);
    text-decoration: none;
    text-transform: uppercase;
    display: block;
}

.footer-navi ul.menu>li {
    text-transform: uppercase;
    text-align: left;
    margin: 0;
}

.footer-navi ul.menu>li>a {
    margin: 0 0 0.25rem 0;
    /* cursor: default; */
    font-weight: bold;
    font-size: 1rem;
    letter-spacing: 0.15rem;
    margin-bottom: 4rem;
}

.footer-navi ul.sub-menu {
    display: block;
    text-align: left;
    list-style: none;
    margin: 0 1rem 0 0;
    padding: 0;
}

.footer-navi ul.sub-menu li a {
    font-size: 0.875rem;
    line-height: 1;
    letter-spacing: 0.15rem;
    margin-bottom: 1rem;
}

.footer-navi ul.sub-menu>li {
    display: block;
    font-size: 0.9rem;
    font-weight: normal;
    margin: 0 0 5px 0;
    text-transform: none;
}


/* sponsors */

.sponsorBar .tt_banners {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
}

.sponsorBar .tt_banners .tt_banner_box {
    max-width: 25%;
    flex: 25%;
    text-align: center;
    margin: 1rem 2rem;
}

.sponsors .sponsorgroup {
    display: none;
}

.tt_banners .tt_banner_box img {
    width: auto;
    height: auto;
    max-width: 10rem;
    max-height: 6.25rem;
}

aside#sidebar .sponsorgroup h4 {
    margin-bottom: 1.5rem;
}

.tt_banner_box:last-of-type {
    margin-bottom: 0;
}

.tt_banner_box {
    text-align: center;
    margin-bottom: 1.5rem;
}


/* Single page/polst */

.post-content img {
    max-width: 100%;
    height: auto;
}

.post-content .post-thumbnail {
    margin-bottom: 1.25rem;
}

.post-content {
    font-family: var(--font-family-primary);
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0em;
}


/* Responsive */

@media (max-width: 1199px) {
    #main-nav.navbar .nav-link {
        font-size: 0.9rem;
    }
}

@media (max-width: 991px) {
    #main-nav.navbar {
        position: relative;
    }

    #main-nav .navbar-collapse {
        position: absolute;
        width: 100%;
        top: 100%;
        background: var(--color-primary-darker);
        left: 0px;
        z-index: 2;
    }

    #main-nav.navbar li {
        width: 100%;
    }

    #main-nav.navbar .nav-link,
    .navbar-nav .dropdown-menu .dropdown-item {
        font-size: 1.2rem;
        padding: 1rem;
        text-align: center;
    }

    #main-nav .navbar-nav li.active .nav-link:before {
        display: none;
    }

    #main-nav .navbar-nav li a {
        text-align: center;
    }

    #main-nav .navbar-nav .dropdown-menu {
        box-shadow: none;
    }

    #main-nav .custom-logo {
        z-index: 3;
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-xxl: 3rem;
        --font-size-nav-list: 0.94rem;
        --font-sizenav-list-upper: 0.75rem;
        --font-size-h1: 2.8rem;
        --font-size-h2: 1.8rem;
        --font-size-h3: 1.4rem;
        --font-size-btn: 0.94rem;
    }

    html {
        font-size: 14px;
    }

    #hero .slide h1 {
        word-break: break-word;
    }

    .ingress-card .card-body {
        font-size: 1.5rem;
        margin: 1rem 0;
        line-height: 1.5;
    }

    .some-link:after {
        display: none;
    }

    .jukola-timeline-links {
        justify-content: space-between;
        width: 100%;
    }

    .jukola-timeline-links li {
        padding: 0;
    }

    .jukola-timeline-links li a {
        font-size: 0.5rem;
    }
}

@media (max-width: 420px) {
    .circle-years-bg {
        display: none;
    }
}


.partners_hero img {
    width: 100%;
    height: auto;
    object-fit: cover;
}




/* HEADER GRADIENT */

@media(min-width: 1000px) {

    .page-template-partners-template .bs-default {
        background-color: white;
        margin-top: -200px;
        z-index: 9999;
        width: 100%;
    }

    nav {
        background: rgb(18, 108, 31);
        background: linear-gradient(90deg, rgba(18, 108, 31, 1) 0%, rgba(18, 108, 31, 1) 32%, rgba(27, 124, 40, 1) 32%, rgba(31, 132, 45, 1) 100%);
    }

    #top-bar-navi {
        background: rgb(18, 108, 31);
        background: linear-gradient(90deg, rgba(18, 108, 31, 1) 0%, rgba(18, 108, 31, 1) 32%, rgba(27, 124, 40, 1) 32%, rgba(31, 132, 45, 1) 100%);
        padding-top: 25px;
    }

    /* HEADER TOP MENU */
    div.container-fluid.container-wrapped.justify-content-start.justify-content-md-between {
        padding-top: 0px;
        margin-top: 0px;
        padding-bottom: 15px;
        height: 70px;
    }


}


/* DESKTOP */ 
@media (min-width: 1100px) {
    .page-template-etusivu-2023 .sponsoripalkki {
        background: white;
        z-index: 9999;
        color: blacK;
        height: 655px;
        overflow: auto;
    }
    
    .page-template-etusivu-2023 .tt_banners {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }
    
    .page-template-etusivu-2023 .tt_banner_box {
        width: 50%;
        margin: 0;
    }
    
    .page-template-etusivu-2023 .tt_banner_box a {
        display: block;
        width: 100%;
        overflow: hidden;
    }
    
    .page-template-etusivu-2023 .tt_banner_box a img {
        object-fit: contain;
        display: block;
        width: 100%;
        height: 100px;
    }
    
    .page-template-etusivu-2023 .hero-wrapper .bg {
        padding-top: 140px;
        padding-bottom: 50px;
        position: relative;
        display: block;
        background-position: 0px -600px;
        background-repeat: no-repeat;
        background-size: cover;
    }
    
    .page-template-etusivu-2023 .hero-title {
        padding-bottom: 50px;
    }
    
    .hero-second-row {
        position: relative;
        z-index: 99999;
    }
    
    .page-template-etusivu-2023 .card-body {
        color: #1A171B;
        padding-bottom: 100px;
        ;
    }
    
    .page-template-etusivu-2023 .news-card {
        display: block;
        height: 100%;
    }
    
    
    .page-template-etusivu-2023 .card-button a {
        background-color: #1BBBE9;
        display: block;
        color: white;
        text-decoration: none;
        padding: 15px 30px;
        text-align: center;
        font-size: 15px;
        border-radius: 5px;
        letter-spacing: 0.15em;
        font-family: "Open Sans";
    
        position: absolute;
        bottom: 20px;
    }
    
    .page-template-etusivu-2023 h3.card-title {
        font-family: 'Barlow';
        font-style: normal;
        font-weight: 400;
        font-size: 29px;
        line-height: 100.7%;
        /* or 29px */
        text-transform: uppercase;
    }
}


/* MOBIILI */ 
@media (max-width: 1100px) {
    .page-template-etusivu-2023 .sponsoripalkki {
        background: white;
        z-index: 9999;
        color: blacK;
        overflow: auto;
        margin-top: 50px;
    }
    
    .page-template-etusivu-2023 .tt_banners {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }
    
    .page-template-etusivu-2023 .tt_banner_box {
        width: 25%;
        margin: 0;
    }
    
    .page-template-etusivu-2023 .tt_banner_box a {
        display: block;
        width: 100%;
        overflow: hidden;
    }
    
    .page-template-etusivu-2023 .tt_banner_box a img {
        object-fit: contain;
        display: block;
        width: 100%;
        height: 100px;
    }
    
    .page-template-etusivu-2023 .hero-wrapper .bg {
        padding-top: 50px;

        position: relative;
        display: block;
        background-size: cover;
    }
    
    .page-template-etusivu-2023 .hero-title {
        padding-bottom: 50px;
    }
    
    .hero-second-row {
        position: relative;
        z-index: 99999;
    }
    
    .page-template-etusivu-2023 .card-body {
        color: #1A171B;
        padding-bottom: 100px;
        ;
    }
    
    .page-template-etusivu-2023 .news-card {
        display: block;
        height: 100%;
        margin-bottom: 40px;
    }
    
    
    .page-template-etusivu-2023 .card-button a {
        background-color: #1BBBE9;
        display: block;
        color: white;
        text-decoration: none;
        padding: 15px 30px;
        text-align: center;
        font-size: 15px;
        border-radius: 5px;
        letter-spacing: 0.15em;
        font-family: "Open Sans";
    
        position: absolute;
        bottom: 20px;
    }
    
    .page-template-etusivu-2023 h3.card-title {
        font-family: 'Barlow';
        font-style: normal;
        font-weight: 400;
        font-size: 29px;
        line-height: 100.7%;
        /* or 29px */
        text-transform: uppercase;
    }
}
