:root {
    --top-z-index: 999999999;
    --under-top-z-index: 999999998;
    --min-screen-width: 20rem;
    --line-height: 1.6;
    --font-family: Raleway;
    --page-width: min(95%, 1200px);
    --page-width-padding: calc( (100% - var(--page-width)) / 2 );

    /* Primary */
    --color-primary: #137fc4;
    --color-primary-darker: #1178b8;
    --color-on-primary: #ffffff;
    --color-on-primary-darker: #ffffff;

    /* Background */
    --color-background: #fff;
    --color-on-background: #5e5f62;
    
    /* Surface */
    --color-surface: #F5F4F0;
    --color-on-surface: #260000;

    --button-font-size: 12px;
    --button-font-weight: 400;
    --button-border-radius: 4px;
}

@media (min-width: 1280px) {

    :root {
        --page-width: min(70%, 1200px);
    }

}

*,
*::after,
*::before {
    box-sizing: border-box;
}

* {
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: var(--font-family);
    font-weight: 300;
    line-height: var(--line-height);
    color: var(--color-on-background);
    -webkit-font-smoothing: antialiased;
    accent-color: var(--color-primary);
    background-color: var(--color-background);
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

a {
    color: inherit;
}

li {
    list-style: none;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input,
textarea,
select,
button {
    font: inherit;
}

main {
    display: block;
}

textarea {
    min-width: 100%;
    max-width: 100%;
}

.isn-page {
    margin-top: 2rem;
}

.isn-wrapper {
    width: var(--page-width);
    margin-left: auto;
    margin-right: auto;
}

.isn-flex-wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 1rem;
    row-gap: .75rem;
}

.isn-wp-post {
    width: var(--page-width);
    margin-left: auto;
    margin-right: auto;
}

.isn-flex-col {
    display: flex;
    flex-direction: column;
}

.isn-pre-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    color: var(--color-primary);
}

.isn-highlight {
    color: var(--color-primary);
}

.isn-page-hero {
    margin-bottom: 40px;
    padding-top: 32px;
    padding-bottom: 32px;
    background-color: #fafafa;
}

.isn-page-hero__inner {
    display: flex;
    flex-direction: row;
    column-gap: 40px;
    justify-content: space-between;
    align-items: center;
    width: var(--page-width);
    margin-left: auto;
    margin-right: auto;
}

.isn-page-hero__title {
    font-size: 24px;
    font-weight: 300;
}

/* BUTTON [START] */
.button {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    column-gap: .25rem;
    width: fit-content;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 24px;
    padding-right: 24px;
    border: none;
    border-radius: var(--button-border-radius);
    font-size: var(--button-font-size);
    font-weight: var(--button-font-weight);
    text-align: center;
    text-decoration: none;
    appearance: none;
    cursor: pointer;
}

.button svg {
    fill: currentColor;
}

/* Color variants */
.button--primary {
    color: var(--color-on-primary);
    background-color: var(--color-primary);
}

/* Modifiers */
.button--outline {
    border-width: 1px;
    border-style: solid;
    color: inherit;
    background-color: transparent !important;
}

.button--ghost {
    padding: 0;
    border: none;
    box-shadow: none;
    color: inherit;
    background-color: transparent !important;
}

/* States */
.button:hover:not(:disabled),
.button:focus:not(:disabled) {
    opacity: 80%;
}

.button:active:not(:disabled) {
    transform: scale(0.98);
}

.button:disabled {
    opacity: 50%;
    cursor: not-allowed;
}
/* BUTTON [END] */


/* ERROR-PAGE [START] */
.error-page__content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.error-page__title {
    font-size: 6rem;
}

.error-page__message {
    font-size: 1.25rem;
    font-weight: normal;
}

.error-page__actions {
    margin-top: .5rem;
}
/* ERROR-PAGE [END] */


/* HEADER [START] */
.page-header {
    --header-inner-width: var(--page-width);
    --header-bg-color: var(--color-background);
    --header-inner-bg-color: var(--header-bg-color);
    --header-navigation-bg-color: transparent;

    width: 100%;
    height: auto;
    border-bottom: 1px solid #eee;
    background-color: var(--header-bg-color);
}

.page-header__top {
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f1f1;
    background-color: #fff;
}

.page-header-top__inner {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 28px;
    row-gap: 4px;
    width: var(--page-width);
    margin-left: auto;
    margin-right: auto;
}

.page-header-top__link {
    display: flex;
    flex-direction: row;
    column-gap: 8px;
    align-items: center;
    font-size: 14px;
    text-decoration: none;
}

.page-header-top__link svg {
    fill: currentColor;
}

.page-header-top__link--social {
    margin-left: auto;
}

.page-header-top__link--social:hover,
.page-header-top__link--social:focus-visible {
    color: var(--color-primary);
}

.page-header__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    column-gap: 2rem;
    row-gap: .5rem;
    width: var(--header-inner-width);
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-top: .75rem;
    padding-bottom: .75rem;
    background-color: var(--header-inner-bg-color);
}

.page-header__link {
    width: fit-content;
}

.page-header__link:hover {
    filter: brightness(90%);
}

.page-header__menu {
    width: 100%;
}

.page-header__menu-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 1.5rem;
    row-gap: .25rem;
    margin: 0;
    padding: 0;
}

.page-header__menu-list a {
    display: block;
    padding-top: .5rem;
    padding-bottom: .5rem;
    font-size: 13px;
    text-decoration: none;
    text-transform: uppercase;
}

.page-header__menu-list a:hover,
.page-header__menu-list a:focus-visible,
.page-header__menu-list .current-menu-item > a {
    color: var(--color-primary);
}

.page-header__nav {
    position: static;
    display: block;
    flex-grow: 1;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    background-color: var(--header-navigation-bg-color);
}

.page-header__navigation-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    column-gap: 1.5rem;
    row-gap: .5rem;
    width: auto;
    min-height: auto;
    margin: 0;
    padding: 0;
}

.page-header__nav-button {
    color: var(--color-on-primary);
}

.page-header__nav-item {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    column-gap: .25rem;
    width: fit-content;
    padding-top: .25rem;
    padding-bottom: .25rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    border: none;
    font-size: var(--button-font-size);
    font-weight: var(--button-font-weight);
    text-align: center;
    text-decoration: none;
    appearance: none;
    color: #fff;
}

.page-header__nav-item svg {
    fill: currentColor;
}
/* HEADER [END] */


/* FOOTER [START] */
.page__footer {
    --footer-width: var(--page-width);
    --footer-bg-color: var(--color-primary);
    --footer-text-color: var(--color-on-primary);
    --footer-copyright-width: var(--footer-width);
    --footer-copyright-bg-color: var(--footer-bg-color);
    --footer-copyright-text-color: var(--footer-text-color);

    width: 100%;
    height: auto;
    margin-top: 5rem;
    background-color: var(--footer-bg-color);
}

.footer__inner {
    display: flex;
    flex-direction: column;
    justify-content: normal;
    width: var(--footer-width);
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    padding-left: 0;
    padding-right: 0;
    gap: 1.5rem;
    color: var(--footer-text-color);
}

.footer__copyright {
    width: 100%;
    font-size: .75rem;
    color: var(--footer-copyright-text-color);
    background-color: var(--footer-copyright-bg-color);
}

.footer-copyright__inner {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 2rem;
    align-items: center;
    justify-content: space-between;
    width: var(--footer-copyright-width);
    margin-left: auto;
    margin-right: auto;
    padding-top: .5rem;
    padding-bottom: .5rem;
}

.footer-copyright__powered-by {
    text-decoration: none;
}
/* FOOTER [END] */


/* FRONTPAGE [START] */
/* HERO */
.frontpage-hero {
    width: 100%;
    margin-top: 44px;
}

.frontpage-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.frontpage-hero__title {
    margin-bottom: 32px;
    font-size: 36px;
    font-weight: 300;
    text-align: center;
    color: #000;
}

.frontpage-hero__cards {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 40px;
    row-gap: 40px;
    margin-bottom: 40px;
}

.frontpage-hero__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-basis: calc((100% / 3) - 40px);
    flex-grow: 1;
    min-width: min(340px, 100%);
}

.frontpage-hero-card__icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 150px;
    margin-bottom: 16px;
    border-radius: 100vw;
    color: #b4b7bd;
    background-color: #f6f6f6;
}

.frontpage-hero-card__icon svg {
    fill: currentColor;
}

.frontpage-hero-card__title {
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #000;
}

.frontpage-hero-card__desc {
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
}

.frontpage-hero-card__desc a {
    max-width: 80ch;
    color: var(--color-primary);
}

.frontpage-hero__link.button {
    margin-top: 16px;
    text-transform: uppercase;
}

.frontpage-hero__footer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 40px;
    row-gap: 20px;
    justify-content: center;
    width: 100%;
}

.frontpage-hero__footer > * {
    flex-basis: calc(100% / 3);
    min-width: min(400px, 100%);
    text-align: center;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
}

.frontpage-hero__footer a {
    font-weight: 700;
    text-decoration: none;
    color: var(--color-primary);
}

.frontpage-hero__footer span {
    font-weight: 600;
    color: #000;
}

/* FRONTPAGE [END] */

h2.wp-block-heading {
    font-size: 28px;
    font-weight: 400;
}


.wp-block-column h2.wp-block-heading {
    margin-bottom: 16px;
}

.wpcf7 input,
.wpcf7 textarea {
    background: #fff;
    border-color: #137fc4;
    color: #313234;
    border: 1px solid #eee;
    padding: 12px 20px;
    margin-bottom: 30px;
    font-size: 14px
}

.wpcf7 input {
    height: 51px;
}

.wpcf7 input[type="submit"] {
    font-size: 14px;
    line-height: 14px;
    font-weight: 700;
    padding: 14px 26px;
    border: 2px solid #137fc4;
    margin: 0 0 3px;
    display: inline-block;
    cursor: pointer;
    outline: 0;
    color: #fff;
    background: #137fc4;
    text-transform: uppercase;
    text-shadow: none !important;
    text-align: center;
}
