/* 
-----------------------------------------
BASE
1. General
2. Typography (general + headings)
3. Links & buttons (links, buttons, skip-link)
4. Spacing
5. Backgrounds
6. Borders
7. Images
8. Breadcrumb
-----------------------------------------
*/

/** 1. GENERAL **/

:root {

    /* Top margin */
    --top-margin-sm: 72px;
    --top-margin-lg: 100px; /* 992 px */
    --top-margin-xl: 112px; /* 1700 px */
}

::selection {
    background-color: var(--primary-color);
    color: #FFFFFF;
}

html {
    scroll-behavior: smooth;
}
 
.scroll-to {
    display: block;
    position: relative;
    top: -112px;
    visibility: hidden;
}

img {
    max-width: 100%;
}

figure {
    margin-bottom: 0;
}

::selection {
    background-color: var(--primary-color);
    color: var(--text-white);
}

/** 2. TYPOGRAPHY **/
/* Change clamp-values according to chosen font-family*/
body, p, li {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, calc(1rem + ((1vw - 0.36rem) * 0.1488)), 1.125rem);
    color: var(--text-dark);
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.max-width-300 {
    max-width: 300px;
}

b, strong {
    font-weight: 700;
}

p strong {
    font-weight: 700;
}

p.ingress,
p.preamble {
    font-size: clamp(1.125rem, 1.09rem + 0.15vw, 1.25rem);
    font-weight: 400;
}

p:last-child {
    margin-bottom: 0;
}

ol, ul {
    padding-left: 1rem;
}

ul.list-style-none {
    list-style: none;
    padding-left: 0;
}

ul:last-child {
    margin-bottom: 0;
}

ul li p {
    margin-bottom: 0;
}

ul.plus-list,
.banner-content ul.plus-list,
.intro-text ul.plus-list {
    list-style: none;
    padding-left: 0;
}

ul.plus-list li,
.banner-content ul.plus-list li {
    background-image: url(/media/jqyeqbaw/circle-plus.svg);
    background-repeat: no-repeat;
    background-position: top clamp(0.188rem, 0.17rem + 0.075vw, 0.25rem) left;
    padding-left: clamp(1.375rem, 1.34rem + 0.15vw, 1.5rem);
    background-size: clamp(0.875rem, 0.84rem + 0.15vw, 1rem);
}

ul.plus-list li + li,
.banner-content ul.plus-list li + li,
.intro-text ul.plus-list li + li  {
    margin-top: 0.5rem;
}

ul.plus-list li::before,
.banner-content ul.plus-list li::before,
.intro-text ul.plus-list li::before {
    display: none;
}

ul.white-plus-list li,
.banner-content ul.white-plus-list li {
    background-image: url(/media/dmdpkvot/circle-plus-white.svg);
}

.limit-1-line {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.limit-2-lines {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.limit-3-lines {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.limit-4-lines {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-primary {
    color: var(--text-primary) !important;
}

.text-dark {
    color: var(--text-dark) !important;
}

.text-white {
    color: var(--text-white) !important;
}

/*Headings*/
/*Change clamp-values according to chosen font-family*/
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6 {
    font-family: "Inter", sans-serif;
    line-height: 1.1;
    margin-bottom: 0.25em;
}

h1, .h1 {
    font-size: clamp(1.75rem, 1.263rem + 2.105vw, 3.5rem);
    font-weight: 500;
}

h2, .h2 {
    font-size: clamp(1.75rem, 1.68rem + 0.301vw, 2rem);
    font-weight: 500;
}

h3, .h3 {
    font-size: clamp(1.25rem, 1.146rem + 0.451vw, 1.625rem);
    font-weight: 500;
}

h4, .h4 {
    font-size: 1.25rem;
    font-weight: 500;
}

h5, .h5 {
    font-size: 1.125rem;
    font-weight: 500;
}

h6, .h6 {
    font-size: 1rem;
    font-weight: 500;
}

p + h2,
p + h3,
p + h4,
p + h5,
p + h6,
p + .h2,
p + .h3,
p + .h4,
p + .h5,
p + .h6 {
    margin-top: 1em;
}

h2 + h3,
h3 + h4,
h4 + h5,
h5 + h6 {
    margin-top: 0.75em;
}

h2:has(+ul) {
    margin-bottom: 1rem;
}

ul:has(+ p.d-none) {
    margin-bottom: 0;
}

.tag {
    color: var(--text-primary);
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
}

/** end TYPOGRAPHY **/

/** 3. LINKS & BUTTONS **/
a, a:link, a:active {
    color: var(--text-dark);
    transition: 0.2s;
    text-decoration: none;
    text-underline-offset: 0.25em;
}

a:hover {
    color: var(--secondary-color);
}

[type=button], [type=reset], [type=submit], button {
    appearance: none;
}

/* Buttons */
a.theme-btn,
button.theme-btn {
    display: inline-block;
    font-size: 0.875rem;
    background-color: var(--primary-color);
    padding: 1.25rem 1.75rem;
    color: var(--text-white);
    font-weight: 600;
    line-height: 1;
    transition: all ease 0.2s;
    border: 2px solid var(--primary-color);
    border-radius: 2rem;
    text-transform: uppercase;
    transition: all ease-in-out .1s;
    min-width: 180px;
    text-align: center;
}

a.theme-btn:hover,
a.theme-btn:focus,
a.theme-btn:active,
button.theme-btn:hover,
button.theme-btn:focus,
button.theme-btn:active {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

/* Outline button */
a.theme-btn.outline-btn,
button.theme-btn.outline-btn {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    background: transparent;
}

a.theme-btn.outline-btn:hover,
a.theme-btn.outline-btn:focus,
a.theme-btn.outline-btn:active,
button.theme-btn.outline-btn:hover,
button.theme-btn.outline-btn:focus,
button.theme-btn.outline-btn:active {
    color: #FFFFFF;
    border-color: var(--primary-color);
    background: var(--primary-color);
}

/* White outline button */
a.theme-btn.white-outline-btn,
button.theme-btn.white-outline-btn {
    color: var(--primary-color-100);
    border: 2px solid var(--primary-color-100);
    background: transparent;
}

a.theme-btn.white-outline-btn:hover,
a.theme-btn.white-outline-btn:focus,
a.theme-btn.white-outline-btn:active,
button.theme-btn.white-outline-btn:hover,
button.theme-btn.white-outline-btn:focus,
button.theme-btn.white-outline-btn:active {
    color: var(--primary-color-100);
    border: 2px solid var(--primary-color-100);
    background: var(--primary-color);
}

/*Focus on tabbing. Important for accessibility*/
a:focus-visible, 
button:focus-visible, 
input:focus-visible, 
.navbar-toggler:focus-visible{
    outline:var(--primary-color) dotted 2px;
    outline-offset:2px;
}

/* ------- Skip to content ------- */
.skip-to-content {
    position: absolute;
    z-index: 1201;
    margin:1rem;
}

a.skip-to-content-btn {
    display: inline-block;
    font-weight: 500;
    background-color: var(--primary-color);
    padding: 0.75em 2em;
    color: var(--text-white);
    border: 1px solid var(--primary-color);
}
   
/** end LINKS & BUTTONS **/

/** 4. SPACING **/
/* ------ Spacing utilities ------ */

/* ------ Spacing utilities ------ */

.rte-container {
    max-width: 1000px;
    margin: 0 auto;
}

.rte-container.richtext-content img {
    max-width: 100%;
    height: auto;
}

@media (min-width: 992px) {

    .rte-container.richtext-content img {
        float: left;
        padding: 1rem;
        padding-left: 0;
        padding-right: 2rem;
    }
}

.container-x {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

@media (min-width: 768px) {

    .container-x {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1400px) {

    .container-x {
        padding-left: calc(50% - 650px);
        padding-right: calc(50% - 650px);
    }
}

@media (min-width: 1700px) {

    .container-x {
        padding-left: calc(50% - 800px);
        padding-right: calc(50% - 800px);
    }
}

.container-y {
    padding-top: clamp(3rem, 1.925rem + 4.776vw, 7rem);
    padding-bottom: clamp(3rem, 1.925rem + 4.776vw, 7rem);
}

/** 5. BACKGROUNDS **/
/* ---------- Backgrounds ---------- */
.bg-img {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

    .bg-img.contain {
        background-size: contain;
    }


/* Primary */
.bg-primary {
    background-color: var(--primary-color-200) !important;
}

/* Secondary */
.bg-secondary {
    background-color: var(--secondary-color) !important;
}

/* Neutral */
.bg-light {
    background-color: var(--primary-color-400) !important;
}
.bg-dark {
    background-color: var(--primary-color) !important;
}
.bg-white {
    background-color: #ffffff !important;
}
.bg-transparent {
    background-color: transparent !important;
}


/** 6. BORDERS **/
/* ---------- Borders ---------- */

.border {
    border: 2px solid !important;
}

.border-left {
    border-left: 2px solid !important;
}

.border-top {
    border-top: 2px solid !important;
}

.border-right {
    border-right: 2px solid !important;
}

.border-bottom {
    border-bottom: 2px solid !important;
}

    .border.thin,
    .border-left.thin,
    .border-top.thin,
    .border-right.thin,
    .border-bottom.thin {
        border-width: 1px !important;
    }

    .border.thick,
    .border-left.thick,
    .border-top.thick,
    .border-right.thick,
    .border-bottom.thick {
        border-width: 4px !important;
    }

    .border.extra-thick,
    .border-left.extra-thick,
    .border-top.extra-thick,
    .border-right.extra-thick,
    .border-bottom.extra-thick {
        border-width: 6px !important;
    }

.border-primary {
    border-color: var(--primary-color) !important;
}

.border-secondary {
    border-color: var(--secondary-color) !important;
}

.border-dark {
    border-color: var(--neutral-color-dark) !important;
}

.border-light {
    border-color: var(--neutral-color-light) !important;
}

.border-white {
    border-color: #FFFFFF !important;
}

.no-border {
    border-left: none !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
}

/** 7. IMAGES **/
/* ---------- Images ---------- */
.cover-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}


.contain-img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: center;
}

/** 8. Breadcrumb **/
/* ---------- Breadcrumb ---------- */
.breadcrumbs li {
    font-size: .875rem;
    letter-spacing: 3%;
}

    .breadcrumbs li a {
        color: #000;
        font-weight: 400;
    }

        .breadcrumbs li a:hover {
            color: var(--primary-color);
        }

    .breadcrumbs li.active {
        color: var(--primary-color);
    }