:root {
    /* Common Margins */
    --margin-bottom-desktop: 12px;
    --margin-bottom-tablet: 12px;
    --margin-bottom-mobile: 12px;

    /* Area offset */
    --area-offset-desktop: -70px;
    --area-offset-tablet: -50px;
    --area-offset-mobile: 0px;

    /* Header height */
    --header-height-desktop: 500px;
    --header-height-tablet: 350px;
    --header-height-mobile: 200px;

    /* Header logo width */
    --header-logo-width-desktop: 237px;
    --header-logo-width-tablet: 158px;
    --header-logo-width-mobile: 101px;

    /* Header logo height */
    --header-logo-height-desktop: 75px;
    --header-logo-height-tablet: 50px;
    --header-logo-height-mobile: 32px;


    /* Colors and backgrounds */
    --body-text-color: rgba(25, 25, 25, 1);
    --body-background: rgba(255, 255, 255, 1);

    --header-text-color: #fff;
    /* --header-background-image: url('../images/is-landing-page-banner-default.png'); */
    /* --header-background-image: linear-gradient(0deg, rgba(218, 32, 39, 0.75) 0%, rgba(218, 32, 39, 0.75) 100%); */
    --header-background-image: none;
    --header-background-color: rgba(130, 2, 2, 1);
    --header-logo-background-image: url(../images/is-extra-logo-white.svg);


    --card-background: rgba(247, 247, 243, 1);
    --card-border-color: transparent;

    --product-name-color: rgba(25, 25, 25, 1);

    --product-image-extra: url("../images/product-is-extra.png");
    --product-image-extraplus: url("../images/product-is-extraplus.png");
    --product-image-extraplus-ruutuplus: url("../images/product-is-extraplus-ruutuplus-nega.png");
    --product-image-extraplus-ruutuplus-urheilu: url("../images/product-is-extraplus-ruutuplus-urheilu-nega.png");


    --product-feature-color: rgba(25, 25, 25, 1);
    --product-feature-background: transparent url("../images/Checkmark-Circled-Filled-IS.svg") top left no-repeat;
    --product-feature-highlight-color: rgba(25, 25, 25, 1);
    --product-feature-highlight-background: transparent url("../images/Checkmark-Circled-Filled-IS-hl.svg") top left no-repeat;

    --product-price-color: rgba(25, 25, 25, 1);
    --product-price-normal-color: rgba(25, 25, 25, 1);

    --product-action-color: rgba(255, 255, 255, 1);
    --product-action-background: rgba(179, 2, 2, 1);
    --product-action-hover-background: rgba(179, 2, 2, 1);

    --cancellation-info-color: rgba(25, 25, 25, 1);

    /* Ruutu */
    --ruutu-card-background: rgb(15, 30, 69);
    --ruutu-card-border-color: transparent;

    --ruutu-product-name-color: rgba(255, 255, 255, 1);
    --ruutu-product-name-highligh-color: rgba(53, 214, 209, 1);

    --ruutu-product-feature-color: rgba(255, 255, 255, 1);
    --ruutu-product-feature-background: transparent url("../images/Checkmark-Circled-Filled-Ruutu.svg") top left no-repeat;
    --ruutu-product-feature-highlight-color: rgba(53, 214, 209, 1);
    --ruutu-product-feature-highlight-background: transparent url("../images/Checkmark-Circled-Filled-Ruutu-hl.svg") top left no-repeat;

    --ruutu-product-price-color: rgba(255, 255, 255, 1);
    --ruutu-product-price-normal-color: rgba(255, 255, 255, 1);

    /*
    --ruutu-product-action-color: rgba(255, 255, 255, 1);
    --ruutu-product-action-background: rgba(179, 2, 2, 1);
    */

    --ruutu-cancellation-info-color: rgba(255, 255, 255, 1);

}

body.header-special {
    /* Header height */
    --header-height-desktop: 600px;
    --header-height-tablet: 500px;
    --header-height-mobile: 300px;

    /* Colors and backgrounds */
    --header-text-color: white;
    --header-background-color: #000;
    --header-background-image: url('../images/IS_Extra_flash_landari_tausta_1600x1030_2024_11.jpg');
    --header-disclaimer-color: #fff;

    --header-button-text-color: rgba(255, 255, 255, 1);
    --header-button-background-color: rgba(130, 2, 2, 1);
    --header-button-hover-color: #b30202;
    --header-button-border-color: white;

}

@media (prefers-color-scheme: dark) {
    :root {
        /* Colors and backgrounds */
        --body-text-color: rgba(255, 255, 255, 1);
        --body-background: rgba(10, 10, 10, 1);

        --header-text-color: #fff;
        /* --header-background-image: url('../images/is-landing-page-banner-default-dark.png'); */
        /* --header-background-image: linear-gradient(95deg, rgba(218, 32, 39, 0.75) 9.12%, rgba(218, 32, 39, 0.00) 74.05%); */
        --header-background-image: none;
        /* --header-background-color: rgba(169, 35, 32, 1); */
        --header-background-color: rgba(10, 10, 10, 1);
        --header-logo-background-image: url(../images/is-extra-logo-redwhite.svg);

        --card-background: rgba(35, 31, 31, 1);
        --card-border-color: transparent;

        --product-name-color: rgba(240, 235, 230, 1);

        /* --product-image-extra: url("../images/product-is-extra.png"); */
        --product-image-extraplus: url("../images/product-is-extraplus-nega.png");
        /* --product-image-extraplus-ruutuplus: url("../images/product-is-extraplus-ruutuplus-nega.png");
        --product-image-extraplus-ruutuplus-urheilu: url("../images/product-is-extraplus-ruutuplus-urheilu-nega.png"); */


        --product-feature-color: rgba(240, 235, 230, 1);
        --product-feature-background: transparent url("../images/Checkmark-Circled-Filled-Ruutu.svg") top left no-repeat;
        --product-feature-highlight-color: rgba(240, 235, 230, 1);
        --product-feature-highlight-background: transparent url("../images/Checkmark-Circled-Filled-IS-hl-dark.svg") top left no-repeat;

        --product-price-color: rgba(240, 235, 230, 1);
        --product-price-normal-color: rgba(240, 235, 230, 1);

        --product-action-color: rgba(255, 255, 255, 1);
        --product-action-background: rgba(230, 35, 42, 1);
        --product-action-hover-background: rgba(230, 35, 42, 1);

        --cancellation-info-color: rgba(240, 235, 230, 1);

        /* Ruutu */
        --ruutu-card-background: rgba(35, 31, 31, 1);
        --ruutu-card-border-color: transparent;

        --ruutu-product-name-color: rgba(240, 235, 230, 1);
        --ruutu-product-name-highligh-color: rgba(53, 214, 209, 1);

        --ruutu-product-feature-color: rgba(240, 235, 230, 1);
        --ruutu-product-feature-background: transparent url("../images/Checkmark-Circled-Filled-Ruutu.svg") top left no-repeat;
        --ruutu-product-feature-highlight-color: rgba(53, 214, 209, 1);
        --ruutu-product-feature-highlight-background: transparent url("../images/Checkmark-Circled-Filled-Ruutu-hl.svg") top left no-repeat;

        --ruutu-product-price-color: rgba(240, 235, 230, 1);
        --ruutu-product-price-normal-color: rgba(240, 235, 230, 1);

        /*
        --ruutu-product-action-color: rgba(255, 255, 255, 1);
        --ruutu-product-action-background: rgba(179, 2, 2, 1);
        */

        --ruutu-cancellation-info-color: rgba(240, 235, 230, 1);

    }
}


/* RESET */
/* http://meyerweb.com/eric/tools/css/reset/ 
v2.0 | 20110126
License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* /RESET */

body {
    font-family: "Source Sans Pro", sans-serif;
    font-size: 16px;
    color: var(--body-text-color);
    background: var(--body-background);
}

* {
    box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-style: normal;
    font-stretch: normal;
    letter-spacing: normal;
    line-height: normal;
    line-height: 1;
}

.hidden {
    display: none !important;
}

.page-container {
    /* margin: 0 auto 16px; */
    text-align: center;
    vertical-align: top;
    position: relative;
}


.header {
    min-height: var(--header-height-desktop);
    margin: 0;
    padding: 0;
    background-position: center top;
    background-color: var(--header-background-color);
    background-image: var(--header-background-image);
    color: var(--header-text-color);
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.header,
.header * {
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

.header .inner {
    padding: 0 16px;
}

.header .logo {
    display: inline-block;
    width: var(--header-logo-width-desktop);
    height: var(--header-logo-height-desktop);
    margin-bottom: 16px;
    background-size: auto 100%;
    background-position: center top;
    background-image: var(--header-logo-background-image);

}

.header .title {
    font: normal 600 64px/1.15 "Graphik Condensed", sans-serif;
    color: var(--header-text-color);
    margin-bottom: 16px;
}

.header .subtitle {
    font: normal 600 36px/1.11 "Graphik Condensed", sans-serif;
    color: var(--header-text-color);
}


/* Header special */
/*
#header-special {
    min-height: 700px;
}
*/

#header-special .countdown {
    margin: 1em 0;
}

#header-special .countdown span {
    display: inline-block;
    border: 1px solid var(--header-button-border-color);
    background: var(--header-button-background-color);
    border-radius: 6px;
    padding: 5px 10px;
    margin-right: 5px;
    font-weight: 400;
    font-size: 16px;
    color: var(--header-button-text-color);
    min-width: 65px;
}

.hss-align-aid .countdown span:last-child {
    min-width: 68px;
}

#header-special .countdown span>b {
    font-weight: 900;
    font-size: 32px;
    color: var(--header-button-border-color);
}

#header-special .button {
    display: inline-block;
    text-decoration: none;
    color: var(--header-button-text-color);
    background: var(--header-button-background-color);
    padding: 16px;
    font: normal 600 22px/1 "Graphik Condensed", sans-serif;
    text-transform: uppercase;
    border: 1px solid var(--header-button-border-color);
    margin-bottom: var(--margin-bottom-desktop);
}

#header-special .button:hover {
    background-color: var(--header-button-hover-color);
}

#header-special .disclaimer {
    font: normal 600 12px/1.2 "Graphik Condensed", sans-serif;
    color: var(--header-disclaimer-color);
}



/* /Header special */


.area {
    background: transparent;
    margin: 0 0 20px;
    padding: 10px;
    position: relative;
    top: var(--area-offset-desktop);
}


.combo {
    position: relative;
    /* 4x292px + 3x16px gaps = 1168 + 48 = 1216 */
    /* max-width: 1216px; */
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 16px;
}

/* Normal IS card */
.combo .card {
    background: var(--card-background);
    border: 1px solid var(--card-border-color);
    /* width: 292px; */
    border-radius: 10px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    /* justify-content: flex-end; */
}


/* Product header */
.product-header {
    margin: 0 0 var(--margin-bottom-desktop);
}

.product-name {
    font: normal 600 24px/1.15 "Graphik Condensed", sans-serif;
    color: var(--product-name-color);
}

/* /Product header */

/* Product info */
.product-info {
    margin: 0 0 var(--margin-bottom-desktop);
}

.product-image {
    width: 250px;
    height: 125px;
    margin: 0 0 var(--margin-bottom-desktop);
    background-color: transparent;
    background-position: top left;
    background-repeat: no-repeat;
    background-size: 100%;
}

.is-extra .product-image {
    background-image: var(--product-image-extra);
}

.is-extraplus .product-image {
    background-image: var(--product-image-extraplus);
}

.is-extraplus-ruutuplus .product-image {
    background-image: var(--product-image-extraplus-ruutuplus);
}

.is-extraplus-ruutuplus-urheilu .product-image {
    background-image: var(--product-image-extraplus-ruutuplus-urheilu);
}


/*
.product-image img {
    height: auto;
    max-width: 100%;
}
*/


.product-features {}

.product-features li {
    font: normal 600 15px/1.28 "Graphik Compact", sans-serif;
    margin: 0 0 var(--margin-bottom-desktop);
    background: var(--product-feature-background);
    background-size: 1.125rem;
    padding-left: 1.5rem;
    text-align: left;
    color: var(--product-feature-color);
}

.product-features li.highlight {
    background: var(--product-feature-highlight-background);
    color: var(--product-feature-highlight-color);
}

/* /Product info */

/* Product footer */
.product-footer {
    display: flex;
    flex-direction: column;
    margin-top: auto;
}

.product-price {}

.price {
    font: normal 600 32px/1.1 "Graphik Condensed", sans-serif;
    margin: 0 0 var(--margin-bottom-desktop);
    color: var(--product-price-color);
}

.price span {}

.price-normal {
    font: normal 600 16px/1.1 "Graphik Condensed", sans-serif;
    margin: 0 0 var(--margin-bottom-desktop);
    color: var(--product-price-normal-color);
}

.price-normal span {}



.product-action {
    margin: 0 0 var(--margin-bottom-desktop);
}

.product-action .button {
    display: inline-block;
    text-decoration: none;
    color: var(--product-action-color);
    background: var(--product-action-background);
    padding: 16px;
    font: normal 600 18px/1 "Graphik Condensed", sans-serif;
    text-transform: uppercase;

}

.product-action .button:hover {
    background: var(--product-action-hover-background);
}


.cancellation-info {
    font: normal 400 14px/1.2 "Source Sans Pro", sans-serif;
    color: var(--cancellation-info-color);

}

/* /Product footer */


/* /Normal IS card */


/* Ruutu card */
.card.ruutu {
    background: var(--ruutu-card-background);
    border: 1px solid var(--ruutu-card-border-color);

}

.card.ruutu .product-name {
    color: var(--ruutu-product-name-color);

}

.product-name span.ruutu {
    color: var(--ruutu-product-name-highligh-color);
}

.ruutu .product-features li {
    background: var(--ruutu-product-feature-background);
    color: var(--ruutu-product-feature-color);

}

.ruutu .product-features li.highlight {
    background: var(--ruutu-product-feature-highlight-background);
    color: var(--ruutu-product-feature-highlight-color);
}

.ruutu .product-price .price {
    color: var(--ruutu-product-price-color);
}

.ruutu .product-price .price-normal {
    color: var(--ruutu-product-price-normal-color);
}


.ruutu .cancellation-info {
    color: var(--ruutu-cancellation-info-color);
}

/* /Ruutu card */


.combo-footer {
    width: 100%;
}

.combo-footer p {}


/* DESKTOP */
/* 4 Cards on row */
/* 4x292px + 3x16px gaps = 1168 + 48 = 1216 */
/* 1216 and more */
/* +area paddings 10+10=20 */
@media only screen and (min-width: 1236px) {

    .combo {
        width: 1216px;
    }

    .combo .card {
        width: 292px;
    }

}


/* TABLET */
/* 2 Cards on row */
/* 2x292px wide items + 16px gap between = 600 */
/* between 600 and 1215 */
/* +area paddings 10+10=20 */
@media only screen and (min-width: 620px) and (max-width: 1235px) {

    /*#header-special {
        min-height: 500px;
    }*/

    .header {
        min-height: var(--header-height-tablet);
    }

    .header .logo {
        width: var(--header-logo-width-tablet);
        height: var(--header-logo-height-tablet);
    }

    .header .title {
        font-size: 51px;
        margin-bottom: var(--margin-bottom-tablet);
    }

    .header .subtitle {
        font-size: 27px;
    }


    .area {
        top: var(--area-offset-tablet);
    }


    .combo {
        /* min-width: 600px;
        max-width: 1215px; */
        max-width: 600px;
    }

    .combo .card {
        /* width: calc(50% - 16px); */
        width: 292px;
    }


}

/* MOBILE */
/* 1 Card on row */
/* below 599 */
/* +area paddings 10+10=20 */
@media only screen and (max-width: 619px) {
    /*#header-special {
        min-height: 300px;
    }*/

    .header {
        min-height: var(--header-height-mobile);
    }

    .header .logo {
        width: var(--header-logo-width-mobile);
        height: var(--header-logo-height-mobile);
    }

    .header .title {
        font-size: 28px;
        margin-bottom: var(--margin-bottom-tablet);
    }

    .header .subtitle {
        font-size: 18px;
    }


    .area {
        top: var(--area-offset-mobile);
    }


    .combo {
        max-width: 599px;
    }

    .combo .card {
        /* width: 100%; */
        width: 292px;
    }

}


/*
@media (prefers-color-scheme: dark) {

    body {

        color: var(--body-text-color);
        background: var(--body-background);
        background: rgba(255, 255, 255, 1);
    
        background-color: #101010;
        color: #fff;
    }
}
*/