:root {
    /* max widths */
    --max-width-default: 1216px;
    --max-width-xs: calc((4 / 12) * var(--max-width-default));
    --max-width-s: calc((6 / 12) * var(--max-width-default));
    --max-width-m: calc((8 / 12) * var(--max-width-default));
    --max-width-l: calc((10 / 12) * var(--max-width-default));
    --max-width-xl: calc((12 / 12) * var(--max-width-default));
    --max-width-fullwidth: none;
    --max-width-header: var(--max-width-default);
    --max-width-footer: var(--max-width-default);

    /* styles */
    --radius-3xs: 1px;
    --radius-2xs: 2px;
    --radius-xs: 4px;
    --radius-s: 10px;
    --radius-m: 20px;
    --radius-l: 30px;
    --radius-xl: 50px;

    --wp--admin-bar-offset: 32px;

    /* colors */

    /* Qase 2.0 */
    --bg-body: #FFFCFF;
    --bg-white: #FFFCFF;
    --bg-black: #000000;
    --bg-lightgray: #f8f8f8;

    --wp--preset--font-size--color-secondary: var(
        --wp--preset--color--black-40
    );
    --wp--preset--font-size--color-inverted: #ffffff;
    --wp--preset--font-size--color-inverted-secondary: rgba(255, 255, 255, 0.5);

    --border-color: var(--wp--preset--color--gray-300);
    --border-width: ;

    /* buttons */
    --btn-font-size: var(--wp--preset--font-size--body);
    --btn-padding-x: 1.25rem;
    --btn-padding-y: 9.5px;
    --btn-radius: 2px;
    --btn-border: 1px solid transparent;

    /* aspect-ratio */
    --aspect-ratio-square: 1/1;
    --aspect-ratio-landscape: 4/3;
    --aspect-ratio-portrait: 3/4;
    --aspect-ratio-landscape-wide: 16/9;

    /* header */
    --header-height: 103px;
    --total-header-height: 70px;
    --header-lineheight: var(--header-height);

    --section-padding: 112px;
    --section-small-padding: 75px;
    --side-padding: 56px;
}

@media screen and (max-width: 980px) {
    :root {
        /* spacing */
        --section-padding: 80px;
        --section-small-padding: 4rem;
        --side-padding: 56px;
    }
}

@media (max-width: 782px) {
    :root {
        --wp--admin-bar-offset: 46px;
    }
}

@media screen and (max-width: 670px) {
    :root {
        /* spacing */
        --section-padding: 64px;
        --side-padding: 24px;
        --section-small-padding: 3rem;

        /* header */
        --header-height: 60px;
    }
}

html {
    scrollbar-gutter: stable;
}

/* 
General
Typography
Buttons
inputs and fields
images
covers
has-background
*/

.section[id] {
    scroll-snap-align: start;
    scroll-margin: calc(var(--total-header-height) + 100px);
}

.qt-container.has-background[style="background-color:#ffffff"] {
    border: 1px solid var(--border-color);
}

.qt-section__inner.has-background.has-text-inverted-background-color {
    border: 1px solid var(--border-color);
}

/* Error 404 */
.error404 .qt-section {
    display: flex;
    align-items: center;
}

.error404 h1 {
    color: var(--wp--preset--font-size--color-inverted);
}

.error404 .qt-container {
    padding: var(--side-padding);
    background:
        linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url("../images/error-404-bg.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 600px;
    display: flex;
    align-items: flex-end;
}

.error404-content .is-style-tag {
    margin-bottom: var(--wp--preset--spacing--space-s);
    color: var(--wp--preset--font-size--color-inverted);
}

.error404-content .is-style-tag::before {
    filter: invert(1) brightness(1);
}

@media screen and (max-width: 670px) {
    .error404 .qt-container {
        height: calc(90vh - var(--total-header-height));
    }
}

/* Sliders - splide.js */
.splide .splide__arrow {
    background-color: transparent;
    opacity: 1;
    border-radius: var(--radius-xs);
    transition: all 150ms linear;
    border: 1px solid var(--border-color);
    height: 40px;
    width: 40px;
}

.splide .splide__arrow--prev img {
    transform: rotate(180deg);
}

.splide .splide__arrow:hover:not(:disabled) {
    border-color: var(--bg-black);
}

/* Input fields, textarea, select, radio, submit, 
FLYTTA TILL BASE.CSS */
input {
    min-width: 0;
}

button,
input,
optgroup,
select,
textarea,
input[type="checkbox"],
input[type="radio"] {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    border: var(--border-default);
    padding: unset;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0;
    outline: none;
}

select {
    background-color: var(--bg-body);
    border: var(--border-default);
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    margin: 0 0 1rem 0;
    background-position-x: 97.5%;
    background-position-y: 51%;
}

input[type="checkbox"],
input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    background-color: #f9f9f9;
    margin: 0;
    width: 20px;
    height: 20px;
    border: 1px solid var(--border-color);
    border-radius: 0;
    cursor: pointer;
    display: grid;
    place-content: center;
    border-radius: 5px;
}

.wpcf7-form p span input[type="radio"] {
    padding: 0 !important;
    width: 20px;
    height: 20px;
    margin: 0 !important;
    border-radius: 50px;
    border-color: var(--bg-black) !important;
}

span input[type="radio"]::before {
    border-radius: 50px;
    clip-path: unset;
    box-shadow: inset 1em 1em #000000;
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
    background-color: var(--bg-black);
}

input[type="checkbox"]::before,
input[type="radio"]::before {
    content: "";
    width: 12px;
    height: 12px;
    transform: scale(0);
    box-shadow: inset 1em 1em #ffffff;
    transform-origin: bottom left;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
    border-radius: 0;
}

input[type="checkbox"]:checked::before,
input[type="radio"]:checked::before {
    transform: scale(1);
}

/* Embedded
========================================================================== */
.wp-embed-aspect-16-9 iframe {
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
}

.wp-element-caption {
    margin-top: var(--wp--preset--spacing--space-xs);
    text-wrap: pretty;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
}

.wp-block-image {
    /* margin-bottom: var(--wp--preset--spacing--space-m); */
}

.wp-block-image ~ .wp-block-heading {
    margin-top: var(--wp--preset--spacing--gutter-m);
}

.wp-block-image img,
.wp-block-post-featured-image img,
.wp-block-video video {
    border-radius: var(--radius-s);
    line-height: 0;
    height: 100%;
}

.wp-block-post-featured-image {
    margin-bottom: 32px;
}

.wp-block-image figcaption {
    font-size: 14px;
}

.is-style-aspect-ratio-square img {
    aspect-ratio: var(--aspect-ratio-square);
    object-fit: cover;
}

.is-style-aspect-ratio-portrait img {
    aspect-ratio: var(--aspect-ratio-portrait);
    object-fit: cover;
}

.is-style-aspect-ratio-landscape img {
    aspect-ratio: var(--aspect-ratio-landscape);
    object-fit: cover;
}

/* Aspect ratio every third */
.aspect-ratio-every-third div:nth-of-type(4n + 1) img {
    aspect-ratio: var(--aspect-ratio-square);
}

.aspect-ratio-every-third div:nth-of-type(4n + 2) img {
    aspect-ratio: var(--aspect-ratio-landscape);
}

.aspect-ratio-every-third div:nth-of-type(4n-1) img {
    aspect-ratio: var(--aspect-ratio-portrait);
}

.aspect-ratio-every-third div:nth-of-type(4n) img {
    aspect-ratio: var(--aspect-ratio-landscape);
}

/* Aspect ratio every fourth */
.aspect-ratio-every-fourth div:nth-of-type(3n + 1) img {
    aspect-ratio: var(--aspect-ratio-square);
}

.aspect-ratio-every-fourth div:nth-of-type(3n-1) img {
    aspect-ratio: var(--aspect-ratio-landscape);
}

.aspect-ratio-every-fourth div:nth-of-type(3n) img {
    aspect-ratio: var(--aspect-ratio-portrait);
}

/* Breadcrumbs */
.rank-math-breadcrumb {
    margin: 0 0 var(--wp--preset--spacing--space-m) 0;
}

.rank-math-breadcrumb * {
    font-size: var(--wp--preset--font-size--body);
    font-weight: 700;
}

.rank-math-breadcrumb .separator {
    padding: 0 0.5rem;
    color: var(--wp--preset--color--black-40);
}

.rank-math-breadcrumb a {
    color: var(--wp--preset--color--black-40);
    text-decoration: none;
}

.rank-math-breadcrumb a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
    color: var(--wp--preset--color--black);
}

.rank-math-breadcrumb :is(span, a, p) .last {
    color: var(--wp--preset--color--black);
}

/* Typography */

/* Headings */

.is-style-heading-small {
    margin: 0 0 var(--wp--preset--spacing--space-xs) 0;
    font-size: var(--wp--preset--font-size--base-body);
}

.is-style-heading-medium {
    margin: 0 0 var(--wp--preset--spacing--space-xs) 0;
    font-size: var(--wp--preset--font-size--m);
}

.is-style-heading-large {
    margin: 0 0 var(--wp--preset--spacing--space-m) 0;
    font-size: var(--wp--preset--font-size--l);
}

.is-style-heading-xlarge {
    margin: 0 0 var(--wp--preset--spacing--space-m) 0;
    font-size: var(--wp--preset--font-size--xl);
}

.is-style-heading-2xlarge {
    margin: 0 0 var(--wp--preset--spacing--space-m) 0;
    font-size: var(--wp--preset--font-size--xxl);
}

.is-style-remove-heading-margin {
    margin: 0;
}

.is-style-paragraph-small {
    font-size: var(--wp--preset--font-size--xs);
}

.is-style-with-arrow {
    display: flex;
    gap: var(--wp--preset--spacing--gutter-s);
    align-items: center;
}

.is-style-with-arrow svg {
    width: 12.5px;
    height: 12.5px;
}

.wp-block-rank-math-toc-block {
    margin-top: var(--wp--preset--spacing--space-xl) !important;
}

/* Eyebrow */

p:not(.is-style-eyebrow) + h2 {
    margin-top: 0;
}

p + .is-style-eyebrow,
.wp-block-list + .is-style-eyebrow {
    margin-top: var(--wp--preset--spacing--space-4-xl);
}

.is-style-eyebrow {
    font-size: var(--wp--preset--font-size--xs);
    color: var(--wp--preset--color--black);
    margin-bottom: var(--wp--preset--spacing--gutter-m);
    line-height: 1.15;
    width: fit-content;
}

.is-style-eyebrow {
    padding: 0 3px;
    border-radius: 1px;
    background-color: var(--wp--preset--color--yellow);
}

.is-style-eyebrow.has-background {
    padding: 0 3px;
    border-radius: 1px;
}

.is-style-eyebrow.has-text-align-center {
    justify-self: center;
}

.service-category-marknadsforing .is-style-eyebrow {
    background-color: var(--wp--preset--color--yellow-200);
}

.service-category-webb-analys .is-style-eyebrow {
    background-color: var(--wp--preset--color--green-200);
}

.service-category-content-produktion .is-style-eyebrow {
    background-color: var(--wp--preset--color--pink-200);
}

.is-style-inline-icon {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.5rem;
}

p:has(img) {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 510px) {
    .is-style-eyebrow {
        margin-bottom: var(--wp--preset--spacing--gutter-s);
    }
}

/* Custom color typography
========================================================================== */

.has-blue-300-background-color p:not(.is-style-eyebrow),
.has-blue-300-background-color .wp-block-heading,
.has-blue-200-background-color p:not(.is-style-eyebrow),
.has-blue-200-background-color .wp-block-heading {
    color: var(--wp--preset--color--blue-900);
}

.has-pink-200-background-color p:not(.is-style-eyebrow),
.has-pink-200-background-color .wp-block-heading,
.has-pink-200-background-color .accordion-heading {
    color: var(--wp--preset--color--pink-900);
}

.has-green-200-background-color p:not(.is-style-eyebrow),
.has-green-200-background-color .wp-block-heading {
    color: var(--wp--preset--color--green-900);
}

/* Links
========================================================================== */

body a:where(:not(.wp-element-button)) {
    text-decoration: none;
}

a {
    color: inherit;
    font-weight: inherit;
    cursor: pointer;
    transition: all linear 150ms;
    display: inline;
    font-size: inherit;
    letter-spacing: inherit;
}

p a {
    word-break: break-word;
    font-weight: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1.5px;
}
p a:hover {
    color: var(--wp--preset--font-size--color-secondary);
}

/* Lists */
ul {
    /* position: relative; */
    list-style-type: none;
    padding-left: 0.75rem;
}

ol {
    padding-left: 1.25rem;
}

ul ul {
    margin-top: 1em;
    margin-bottom: 1em;
}

li {
    color: inherit;
    font-size: inherit;
    padding-inline-start: 0.75rem;
}

ul {
    list-style-image: url(../images/dot.svg);
    padding-left: 1.25rem;
}

/*
ul.is-style-check-list {
    list-style-image: url(../images/bullet-check.svg);
	padding-left: var(--wp--preset--spacing--space-l);
}
*/

/* ----- Qase 2.0 ----- */

ul.is-style-check-list {
    color: var(--wp--preset--color--black);
}

ul.is-style-check-list-gray {
    color: var(--wp--preset--color--black-60);
}

ul.is-style-check-list,
ul.is-style-check-list-gray {
    list-style: none;
    padding-left: 0;
    font-size: var(--wp--preset--font-size--xs);
}

ul.is-style-check-list li,
ul.is-style-check-list-gray li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
    padding-inline-start: 0;
}

ul.is-style-check-list li::before,
ul.is-style-check-list-gray li::before {
    content: "";
    flex-shrink: 0;
    width: 16px;
    aspect-ratio: 4/3;
    background-size: contain;
    background-repeat: no-repeat;
    margin-top: 4px;
}

ul.is-style-check-list li::before {
    background-image: url(../images/bullet-check.svg);
}

ul.is-style-check-list-gray li::before {
    background-image: url(../images/bullet-check.svg);
}

ul.is-style-check-list li:last-child,
ul.is-style-check-list-gray li:last-child {
    margin-bottom: 0;
}

li:not(.menu-item) {
    margin-bottom: 16px;
}

li:last-child:not(.menu-item) {
    margin-bottom: 0;
}

ul + ul,
ul + p {
    margin-top: 16px;
}

@media screen and (hover: hover) {
    a:not(.wp-block-button__link):hover {
        opacity: 0.6;
    }
}

/* Covers */
main > .wp-block-cover,
.qase-section .wp-block-cover {
    padding: var(--section-padding) var(--side-padding);
}

.wp-block-cover {
    padding: var(--section-padding) 5rem;
}

.wp-block-cover .qase-section__inner {
    z-index: 2;
}

main > .wp-block-cover.is-style-remove-margin-bottom,
.qt-section.is-style-remove-margin-bottom {
    margin-bottom: unset !important;
}

.wp-block-cover-image .wp-block-cover__inner-container,
.wp-block-cover .wp-block-cover__inner-container {
    margin: 0 auto;
    max-width: var(--wd-container-default);
    z-index: 2 !important;
}

.qt-section.is-style-remove-grid-gap .grid {
    grid-gap: 0;
}

.qt-section.is-style-half-margin-bottom {
    margin-bottom: calc(var(--section-padding) * 0.5);
}

.qt-section.is-style-half-padding-bottom {
    padding-bottom: calc(var(--section-padding) * 0.5);
}

/* Modules (sections and blocks)
paddings 
margins
grids
columns
maxwidths
 */

/* Offices */
.office-card.card img {
    aspect-ratio: var(--aspect-ratio-square);
}

@media screen and (max-width: 670px) {
    .offices .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Contact form */
.qt-section.is-style-contact-form .qt-container:has(.wpcf7) {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    grid-gap: var(--wp--preset--spacing--gutter-l);
    padding: var(--wp--preset--spacing--space-m);
}

.is-style-contact-form .wp-block-cover {
    height: 100%;
    border-radius: var(--radius-s);
    padding: var(--wp--preset--spacing--space-m);
}

.is-style-contact-form .wp-block-cover__inner-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.is-style-contact-form .wp-block-cover .wp-block-cover__inner-container p{
    font-size: 14px;
	color: var(--wp--preset--color--white);
}

.qt-section.is-style-contact-form .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 768px) {
    .qt-section.is-style-contact-form .grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Hero with icons */
.hero-wrapper {
    position: relative;
}

.hero-video {
    border-radius: var(--radius-s);
    overflow: hidden;
    aspect-ratio: var(--aspect-ratio-landscape-wide);
    object-fit: cover;
}

.hero-wrapper .wp-block-image {
    margin-bottom: 0;
}

.hero-icon {
    max-width: fit-content;
    border-radius: var(--radius-s);
    padding: var(--wp--preset--spacing--space-s);
    display: flex;
    align-items: center;
    grid-gap: var(--wp--preset--spacing--gutter-s);
    position: absolute;
    transform: translateY(-50%);
}

.hero-icon-heading {
    font-size: var(--wp--preset--font-size--l);
    font-weight: 700;
}

.hero-icon-text * {
    margin-bottom: 0;
    line-height: 1;
}

.hero-icon.icon-1 {
    background-color: var(--wp--preset--color--pink-300);
    top: 50%;
    left: -3%;
    display: flex;
    flex-direction: column-reverse;
    text-align: center;
}

.hero-icon.icon-1 .wp-block-image img {
    height: 200px;
}

.hero-icon.icon-2 {
    background-color: var(--wp--preset--color--blue-300);
    flex-direction: row-reverse;
    top: 0;
    right: 10%;
}

.hero-icon.icon-3 {
    background-color: var(--wp--preset--color--yellow-300);
    right: -3%;
    bottom: 5%;
}

.hero-icon .wp-block-image img {
    border-radius: 0;
    height: clamp(40px, 6vw, 60px);
    width: auto;
}

@media screen and (max-width: 1100px) {
    .hero-wrapper {
        padding: var(--wp--preset--spacing--space-l) 0;
    }

    .hero-icon.icon-1 {
        display: none;
    }

    .hero-icon.icon-2 {
        top: 20%;
    }

    .hero-icon.icon-3 {
        left: 10%;
        bottom: -10%;
    }
}

@media screen and (max-width: 510px) {
    .hero-icon .hero-icon-subheading {
        font-size: var(--wp--preset--font-size--s);
    }
}

/* Subhero grid */

/* ----- Qase 2.0 ----- */
.qt-section.is-style-subhero {
    padding-top: calc(0.6 * var(--section-padding));
}

.is-style-subhero .is-vertically-aligned-center {
    padding-right: var(--wp--preset--spacing--space-2-xl);
}

.is-style-subhero .qt-container:nth-child(2) {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(5, 1fr);
    grid-gap: var(--wp--preset--spacing--gutter-s);
    justify-content: flex-start;
}

.is-style-subhero .qt-container:nth-child(2) figure:nth-child(1) {
    grid-area: 1 / 2 / 3 / 4;
}

.is-style-subhero .qt-container:nth-child(2) figure:nth-child(2) {
    grid-area: 3 / 1 / 6 / 4;
}

.is-style-subhero .qt-container:nth-child(2) figure:nth-child(3) {
    grid-area: 2 / 4 / 5 / 7;
}

/* Onboarding Hero */

.qt-section.is-style-hero-onboarding {
    padding: var(--section-small-padding) var(--side-padding);
}

/* ----- Qase 2.0 ----- */
@media (max-width: 980px) {
    .is-style-subhero .qt-section__inner.grid-col-2 {
        grid-template-columns: minmax(0, 1fr);
        grid-gap: var(--wp--preset--spacing--gutter-l);
    }

    .is-style-subhero .is-vertically-aligned-center {
        text-align: center;
        order: 1;
        padding-right: 0;
    }

    .is-style-subhero .is-style-eyebrow {
        justify-self: center;
    }

    .is-style-subhero .is-vertically-aligned-center .wp-block-buttons {
        justify-content: center;
    }

    .is-style-subhero .qt-container:nth-child(2) {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        grid-template-rows: repeat(5, minmax(0, 1fr));
    }
}
/* ---------- */

@media (max-width: 670px) {
    .page-id-9246 .is-style-subhero .qt-container:nth-child(3) {
        display: none;
    }
}

/* Block: Package card */
.package-card {
    border: 1px solid var(--border-color);
    padding: var(--wp--preset--spacing--space-m);
    border-radius: var(--radius-s);
    height: 100%;
}

.package-card p[class^="is-style-tag"] ~ p {
    color: var(--wp--preset--font-size--color-primary);
}

/* Block: Box card */
.box-card {
    height: 100%;
}

.box-card a {
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.box-card .box-icon img {
    height: clamp(40px, 4vw, 50px);
    width: fit-content;
    border-radius: 0;
}

.box-card__arrow {
    position: absolute;
    bottom: var(--wp--preset--spacing--space-m);
    right: var(--wp--preset--spacing--space-m);
}

.box-content > * {
    margin-bottom: 0;
}

.box-card .box-content > .box-heading {
    margin: 8px 0;
}

.box-content {
    position: relative;
    padding: var(--wp--preset--spacing--space-m);
    height: stretch;
}

.box-content.has-yellow-200-background-color .is-style-eyebrow {
    background-color: var(--wp--preset--color--yellow);
}

.box-content.has-blue-200-background-color .is-style-eyebrow {
    background-color: var(--wp--preset--color--blue);
}

.box-content.has-green-200-background-color .is-style-eyebrow {
    background-color: var(--wp--preset--color--green);
}

.box-content.has-pink-200-background-color .is-style-eyebrow {
    background-color: var(--wp--preset--color--pink);
}

.box-image img {
    width: 100%;
    aspect-ratio: var(--aspect-ratio-landscape);
    object-fit: cover;
}

.box-text p {
    margin-right: var(--wp--preset--spacing--space-xl);
    font-size: var(--wp--preset--font-size--xs);
}

.box-link {
    display: flex;
    align-self: flex-end;
    line-height: 0;
}

.box-link img {
    width: clamp(30px, 2.083vw, 40px);
}

/* Custom Gutenberg styles */
.is-style-hero .grid {
    grid-gap: var(--wp--preset--spacing--gutter-xl);
}

.is-style-masonry .grid {
    display: block;
    column-count: 3;
    gap: var(--wp--preset--spacing--gutter-l);
}

.is-style-masonry .qt-container {
    margin-bottom: var(--wp--preset--spacing--gutter-l);
}

@media screen and (max-width: 980px) {
    .is-style-masonry .grid {
        column-count: 2;
        gap: var(--wp--preset--spacing--gutter-l);
    }
}

@media screen and (max-width: 510px) {
    .is-style-masonry .grid {
        column-count: 1;
        gap: var(--wp--preset--spacing--gutter-l);
    }

    .box-card__arrow {
        bottom: var(--wp--preset--spacing--space-s);
        right: var(--wp--preset--spacing--space-s);
    }
}

.is-style-masonry figure {
    margin-bottom: 0;
}

/* Colorful table */

.is-style-colorful-table .is-style-eyebrow {
    margin-bottom: 0;
    padding: 6px 12px;
    border-radius: 2px;
}

.is-style-colorful-table .wp-block-group {
    padding: var(--wp--preset--spacing--space-m);
    border-radius: 2px;
}

.is-style-stretch-vertically .qt-section__inner {
    min-height: 420px;
}

.is-style-stretch-vertically .qt-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--wp--preset--spacing--gutter-l);
}

.is-style-stretch-vertically .wp-block-image {
    height: 100%;
    width: 100%;
    margin: 0;
}

.qt-container.is-style-stretch-vertically {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.is-style-align-vertically-baseline,
.is-style-align-vertically-baseline .grid {
    align-items: baseline;
    -webkit-align-items: baseline;
}

.is-style-has-border .qt-container {
    padding: var(--wp--preset--spacing--space-m);
    border-radius: var(--radius-s);
    border: 1px solid var(--border-color);
}

.is-style-sticky-left-column .qt-section.container-default.is-style-has-inner-padding {
	padding-left: var(--wp--preset--spacing--space-l);
    padding-right: var(--wp--preset--spacing--space-l);
}

@media screen and (max-width: 800px) {
    .qt-container.is-style-reverse-order-mobile {
        grid-row: -1;
    }

    .is-style-stretch-vertically .qt-section__inner {
        min-height: 310px;
    }
}

.is-style-heading-underline {
    margin: 0;
    margin-bottom: 32px;
    padding: 0 25% var(--wp--preset--spacing--space-m) 0;
    position: relative;
}

.is-style-heading-underline::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background: var(--border-color);
    left: 0;
    bottom: 0;
}

@media screen and (max-width: 510px) {
    .wp-block-heading.is-style-heading-underline {
        padding: 0 0 var(--wp--preset--spacing--space-m) 0;
        /*margin: 0 0 var(--wp--preset--spacing--space-s) 0;*/
    }
	
	.is-style-has-inner-padding {
		padding-left: 0;
		padding-right: 0;
	}
}

/* ------ Tags ------ */

.service-tags {
    margin-top: var(--wp--preset--spacing--gutter-m);
    display: flex;
    flex-wrap: wrap;
    gap: var(--wp--preset--spacing--gutter-s);
}

.service-tags ~ p {
    margin-top: var(--wp--preset--spacing--gutter-m);
}

.service-tags span {
    display: inline-block;
    line-height: 1;
    transition: all 150ms linear;
    padding: 9px 12px;
    border-radius: var(--radius-xs);
    background-color: var(--wp--preset--color--yellow-200);
}

@media (max-width: 670px) {
    .service-tags {
        gap: var(--wp--preset--spacing--gutter-xs);
    }
}

/* Category & Package */
.is-style-tag {
    width: fit-content;
    background-color: var(--wp--preset--color--yellow-200);
    padding: 6px;
    border-radius: var(--radius-3xs);
    font-size: var(--wp--preset--font-size--xs);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* USP */
.is-style-tag-filled {
    width: fit-content;
    background-color: var(--bg-lightyellow);
    padding: 6px;
    border-radius: 6px;
    font-size: var(--wp--preset--font-size--xs);
    font-weight: 700;
    color: var(--wp--preset--font-size--color-secondary);
    /* margin-bottom: var(--wp--preset--spacing--space-m); */
}

/* Measures */
.is-style-tag-outline {
    width: fit-content;
    background-color: transparent;
    padding: 4px 16px;
    margin-bottom: var(--wp--preset--spacing--space-m);
    border: var(--border-wd) solid var(--border-clr);
    border-radius: 6px;
    font-size: var(--wp--preset--font-size--xs);
    font-weight: 700;
    color: var(--wp--preset--font-size--color-secondary);
    /* margin-bottom: var(--wp--preset--spacing--space-m); */
}

/* Grids */

.qt-section__inner.grid {
    row-gap: var(--wp--preset--spacing--gutter-l);
}

@media (max-width: 510px) {
    .grid-col-2:has(.has-background) {
        grid-gap: var(--wp--preset--spacing--gutter-s);
    }

    .qt-section
        :is(.grid-col-3, .grid-col-4):has(
            .kpi-card,
            .office-card,
            .package-card,
            .jobs-card
        ) {
        grid-gap: var(--wp--preset--spacing--gutter-s);
    }

    .is-horizontally-stretched .is-style-heading-underline {
        margin: 0 0 var(--wp--preset--spacing--space-s) 0;
    }

    .qt-section.is-style-grid-about .grid {
        grid-gap: var(--wp--preset--spacing--gutter-s);
    }
}

/* Grid - KPI values */
@media (max-width: 980px) and (min-width: 511px) {
    .qt-section__inner.grid.grid-col-4:has(.kpi-card) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* About us */

/* 
forms
accordion
cta (?) eller modulels
pages and templates (mallar, single, archive) 
*/

/* Accordion
========================================================================== */

/* Qase Blocks Read More Accordion */

.qt-accordion.is-style-read-more {
	margin-top: var(--wp--preset--spacing--space-l);
}

.qt-accordion.is-style-read-more .accordion-item__content * {
	font-size: revert;
	margin-bottom: revert;
}

.qt-accordion.is-style-read-more .accordion-content__inner .qt-section {
	padding: var(--wp--preset--spacing--space-xl) 0;
}

.qt-accordion.is-style-read-more button[data-accordion=accordion-trigger] {
	font-weight: 500;
	justify-content: left;
	gap: var(--wp--preset--spacing--space-s);
	font-size: var(--wp--preset--font-size--s);
}

.qt-accordion.is-style-read-more .accordion-icon__inner:before,
.qt-accordion.is-style-read-more .accordion-icon__inner:after {
	height: 1.5px;
}

.qt-accordion.is-style-read-more .accordion-content__inner .qt-section {
	border-bottom: 1px solid transparent;
	padding-bottom: 0;
}

.qt-accordion.is-style-read-more .accordion-item__content .wp-block-heading {
	margin-bottom: revert;
}

.qt-accordion.is-style-read-more .accordion-item__content p:not(.is-style-eyebrow) {
	color: var(--wp--preset--color--black-60);
}

.qt-accordion.is-style-read-more .is-style-eyebrow {
	font-size: var(--wp--preset--font-size--xs);
	margin-bottom: var(--wp--preset--spacing--gutter-s);
}

.accordion-content :is(p, li) a {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.qt-section.has-background.has-blue-200-background-color .accordion-item {
	background-color: var(--wp--preset--color--blue-400);
}

/* bullet list accordion */
.bullet-list-accordion.grid {
    grid-gap: var(--wp--preset--spacing--space-m)
        var(--wp--preset--spacing--gutter-l);
}

.bullet-list-accordion .accordion-item {
    background-color: var(--wp--preset--color--blue-200);
    border-radius: var(--radius-s);
    color: var(--wp--preset--color--blue-900);
}

.bullet-list-accordion .accordion-heading {
    padding: var(--wp--preset--spacing--space-s)
        var(--wp--preset--spacing--space-m);
}

.bullet-list-accordion .accordion-heading .wp-block-heading {
    margin: 0;
    display: inline-flex;
    align-items: baseline;
    -webkit-align-items: baseline;
}

.bullet-list-accordion .accordion-content-inner {
    padding: 0 var(--wp--preset--spacing--space-m)
        var(--wp--preset--spacing--space-m);
    max-width: var(--max-width-l);
}

@media screen and (max-width: 670px) {
    .bullet-list-accordion.grid {
        grid-gap: var(--wp--preset--spacing--space-s);
    }
}

/* Bullet list accordion - 2 columns */
.bullet-list-accordion.grid-col-2 .accordion-item {
    background-color: var(--wp--preset--color--blue-200);
}

.bullet-list-accordion.grid-col-2 .accordion-heading h2::before {
    display: none;
}

/* Accordion */
.accordion-icon {
    width: 16px;
    height: 16px;
}

/* FAQ */
.faq {
    margin: var(--wp--preset--spacing--space-l) 0 0 0;
}

.qt-section.has-pink-200-background-color .faq .accordion-item {
    background-color: var(--wp--preset--color--pink-400);
    border: 1px solid transparent;
}

.qt-section.has-blue-200-background-color .faq .accordion-item {
    background-color: var(--wp--preset--color--blue-400);
    border: 1px solid transparent;
}

.faq .accordion-item {
    background-color: var(--bg-lightgray);
    border-radius: var(--radius-s);
    margin-bottom: var(--wp--preset--spacing--space-s);
}

.faq .accordion-heading {
    padding: var(--wp--preset--spacing--space-s)
        var(--wp--preset--spacing--space-m);
}

.faq .accordion-content-inner {
    padding: 0 var(--wp--preset--spacing--space-m)
        var(--wp--preset--spacing--space-m);
    max-width: var(--max-width-l);
}

.faq-cta {
    margin: var(--wp--preset--spacing--space-l) 0 0 0;
    display: flex;
    align-items: center;
    grid-gap: var(--wp--preset--spacing--space-l);
}

.faq-cta-text,
.faq-cta .wp-block-buttons {
    margin: 0;
}

@media screen and (max-width: 980px) {
    .faq-cta {
        margin: var(--wp--preset--spacing--space-m) 0 0 0;
    }
}

@media screen and (max-width: 768px) {
    .faq {
        grid-template-columns: 1fr;
    }
}

/* Filter general code */
.filter > .grid {
    grid-gap: var(--wp--preset--spacing--gutter-l);
}

.filter-controls {
    max-width: calc(var(--max-width-default) + (2 * var(--side-padding)));
    margin: 0 auto;
    display: flex;
}

.filter-controls ul {
    padding: 0;
    margin: 0;
    display: inline-flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
    gap: var(--wp--preset--spacing--gutter-s);
}

.filter-controls ul::-webkit-scrollbar {
    display: none;
}

.filter-controls li {
    list-style-image: none;
    padding: 0;
    margin: 0;
    font-size: var(--wp--preset--font-size--xs);
    white-space: nowrap;
}

.filter-controls a {
    display: inline-block;
    line-height: 1;
    cursor: pointer;
    transition: all 150ms linear;
    padding: 6px;
    border-radius: var(--radius-xs);
    background-color: var(--wp--preset--color--yellow-200);
    text-decoration: none;
    font-size: var(--wp--preset--font-size--xs);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.filter-controls a::before {
    content: url(../images/icon-filter-outline.svg);
    margin-inline-end: 8px;
}
.filter-controls a.active::before {
    content: url(../images/icon-filter-filled.svg);
    margin-inline-end: 8px;
}

.filter-controls a.active,
.filter-controls a:hover {
}

.filter-grid.grid {
    max-width: calc(var(--max-width-default) + (2 * var(--side-padding)));
    margin-left: auto;
    margin-right: auto;
    row-gap: var(--wp--preset--spacing--gutter-l);
}

.filter-grid .card {
    display: none;
}
.filter-grid .card.active {
    display: block;
}

.filter-grid-search .search-form {
    display: grid;
    grid-gap: var(--wp--preset--spacing--gutter-s);
    grid-template-columns: auto 40px;
    max-width: var(--max-width-xs);
}

.filter-grid-search input[type="search"] {
    margin: 0;
    background-color: transparent;
    padding: var(--wp--preset--spacing--space-xs)
        var(--wp--preset--spacing--space-s);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-s);
    font-size: initial;
}

.filter-grid-pagination {
    margin-top: var(--wp--preset--spacing--gutter-xl);
}

.flex-grid {
    display: flex;
}

@media screen and (max-width: 670px) {
    .filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filter-grid-search .search-form {
        max-width: 100%;
    }

    .filter-grid-pagination {
        margin-top: var(--wp--preset--spacing--gutter-l);
    }
}

@media screen and (max-width: 510px) {
    .flex-grid {
        gap: var(--wp--preset--spacing--gutter-s);
    }

    .filter-grid:has(.service-card) {
        grid-gap: var(--wp--preset--spacing--gutter-s);
    }

    .flex-grid.grid-col-4 .card {
        /* width: calc(50% - (var(--wp--preset--spacing--gutter-s) * 1 / 2)); */
        width: 100%;
    }

    .flex-grid.grid-col-3 .card {
        width: 100%;
    }
}

/* Filter with no filter */
.no-filter .filter-grid .card {
    display: block;
}

/* Search */
.search-form label {
    display: none;
}

input[type="search"] {
    padding: var(--wp--preset--spacing--space-xs)
        var(--wp--preset--spacing--space-s);
    border-radius: var(--radius-xs);
    border: none;
    height: inherit;
    width: 100%;
}

.submit-search {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-black);
    border-radius: var(--radius-s);
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.submit-search img {
    filter: invert(1);
    height: 16px;
    width: 16px;
}

/* Pagination (flytta till single eller passande) */
.pagination {
    display: flex;
    justify-content: center;
    gap: var(--wp--preset--spacing--gutter-s);
}

.pagination * {
    font-size: var(--btn-font-size);
    font-weight: 700;
}

.pagination .page-numbers {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-xs);
    text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover {
    border-color: var(--bg-black);
}

.page-numbers:is(.prev, .next) img {
    /* filter: invert(1); */
}

/* Featured services */
.qt-section:is(.is-style-services-2, .is-style-services-3, .is-style-services-4)
    .grid {
    grid-gap: var(--wp--preset--spacing--gutter-s);
}

.is-style-featured-services .grid {
    align-items: baseline;
    -webkit-align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: var(--wp--preset--spacing--gutter-l);
}

.is-style-featured-services .qt-container {
    box-sizing: border-box;
    flex-shrink: 0;
    margin: 0;
    width: calc(33.33% - (var(--wp--preset--spacing--gutter-l) * 2 / 3));
}

@media screen and (min-width: 801px) and (max-width: 1024px) {
    .is-style-featured-services .qt-container {
        width: calc(50% - (var(--wp--preset--spacing--gutter-l) * 1 / 2));
    }
}

@media screen and (max-width: 800px) and (min-width: 671px) {
    .is-style-featured-services .qt-container {
        width: calc(33.33% - (var(--wp--preset--spacing--gutter-l) * 2 / 3));
    }
}

@media screen and (max-width: 670px) {
    .is-style-featured-services .qt-container {
        width: calc(50% - (var(--wp--preset--spacing--gutter-l) * 1 / 2));
    }
}

/* Courses */
.courses .course-card {
    display: block;
}

.course-card.card img {
    aspect-ratio: var(--aspect-ratio-square);
    border-radius: var(--radius-xs);
}

.course-card.card .title {
    margin: 0;
}

/* More courses */

/* Blogposts */
.blogposts .filter-grid {
    padding-top: 0;
    padding-bottom: 0;
}

.blogposts .news-card {
    display: block;
}

@media screen and (max-width: 510px) {
    .blogposts .filter-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Latest posts */
@media screen and (min-width: 510px) and (max-width: 670px) {
    .latest-posts .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* single-author.php */
/* .qt-section.author-portrait {
    padding: var(--section-padding) var(--side-padding);
    background-color: var(--bg-lightyellow);
}*/

.single-post p:not(.is-style-eyebrow, .is-style-tag),
.single-post .wp-block-list,
.single-case p:not(.is-style-eyebrow, .is-style-tag),
.single-case .wp-block-list {
    color: var(--wp--preset--color--black-60);
}

.qt-section.author-portrait .qt-container {
    background-color: var(--wp--preset--color--blue-200);
}

.qt-section.author-portrait .wp-block-image {
    margin: 0;
}

.qt-section.author-portrait img {
    aspect-ratio: var(--aspect-ratio-square);
    object-fit: cover;
	width: 100%;
}

.qt-section.author-portrait .name {
    font-size: var(--wp--preset--font-size--xl);
    margin-bottom: 0;
}

.qt-section.author-portrait .title {
    font-size: var(--wp--preset--font-size--m);
}

.author-portrait .presentation::-webkit-scrollbar {
    display: none;
}

/* author-card */

.post-author {
    margin-top: var(--section-padding);
    border: 1px solid var(--border-color);
}

.post-author a {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-gap: var(--wp--preset--spacing--gutter-m);
}

.post-author-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-author-header .is-style-eyebrow {
    margin-bottom: 0;
}

.post-author-name {
    display: grid;
    grid-template-columns: 70px 1fr;
    grid-gap: var(--wp--preset--spacing--gutter-s);
    align-items: center;
}

.post-author .post-author-name .name {
    font-size: var(--wp--preset--font-size--body);
    margin-bottom: 0;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    color: var(--wp--preset--color--black);
}

.post-author .position {
    color: var(--wp--preset--color--black-60);
    font-size: var(--wp--preset--font-size--s);
    font-weight: 500;
    margin-top: 4px;
}

.post-author .wp-block-image {
    margin: 0;
}

.post-author .excerpt {
    font-size: var(--wp--preset--font-size--s);
}

/* Card item */

.card .is-style-eyebrow {
    margin: 0 0 var(--wp--preset--spacing--space-xs);
}

.card .card-content > .wp-block-heading {
    margin-top: 0;
}

.card .wp-block-image {
    margin-bottom: var(--wp--preset--spacing--space-s);
}

.card img {
    aspect-ratio: var(--aspect-ratio-landscape);
    object-fit: cover;
    height: 100%;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    grid-gap: var(--wp--preset--spacing--space-xs);
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--wp--preset--spacing--space-s);
}

.card .date {
    color: var(--wp--preset--color--black-40);
    margin: 0;
    font-size: var(--wp--preset--font-size--s);
}

.card .excerpt {
    hyphens: manual;
    color: var(--wp--preset--font-size--color-primary);
}

/* Service card */
.service-card {
    min-height: 272px;
    border: 1px solid var(--border-color);
    padding: var(--wp--preset--spacing--space-s);
    border-radius: var(--radius-s);
    display: flex;
    text-decoration: none;
    background-color: var(--wp--preset--color--gray-200);
    color: var(--wp--preset--color--blue-900);
}

.service-card .is-style-with-arrow {
    margin-top: auto;
}

.service-card .card-content {
    display: flex;
    flex-direction: column;
}

.service-card .is-style-eyebrow {
    margin: 0;
    padding: 6px;
}

.service-card img {
    aspect-ratio: var(--aspect-ratio-square);
}

.service-card .wp-block-heading {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: var(--wp--preset--spacing--space-m);
}

/* Service card in filtered section */

.filter-grid .service-card {
    background-color: var(--wp--preset--color--blue-200);
    border: 1px solid rgba(0, 0, 0, 0.1);
    height: 273px;
}

.filter-grid .service-card a {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    text-decoration: none;
}

.filter-grid .service-card .card-content__bottom {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.filter-grid .service-card__icon img {
    aspect-ratio: auto;
    max-height: 80px;
    width: auto;
}

.card-content__bottom svg {
    width: 24px;
    height: 24px;
}

/* Key metrics slider
========================================================================== */
.block-slider-metrics .slider-header {
    margin-left: 0;
    margin-right: 0;
}

.block-slider-metrics.has-pink-200-background-color {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}

.slider-metrics .splide__arrows {
    position: absolute;
    width: 115px;
    right: 0;
    height: fit-content;
    top: -2.5em;
}

.slider-metrics .splide__arrows {
    right: calc((100vw - var(--max-width-default)) / 2);
}

.slider-metrics .splide__arrow--next {
    right: 0;
}

.slider-metrics .splide__pagination {
    bottom: -20px;
    width: fit-content;
    left: 0;
    display: flex;
    gap: var(--wp--preset--spacing--space-s);
	padding-left: 0;
}

.slider-metrics .splide__pagination li {
    padding-left: 0;
}

.slider-metrics .splide__pagination__page {
    transform: scale(1.4);
    background-color: var(--wp--preset--color--gray-300);
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.slider-metrics .splide__pagination__page:hover {
    border-color: var(--bg-black);
}

.slider-metrics .splide__pagination__page.is-active {
    background-color: var(--bg-black);
    opacity: 1;
    border: 1px solid var(--bg-black);
}

.block-slider-metrics.has-pink-200-background-color
    .splide__pagination__page:not(.is-active) {
    border-color: rgba(0, 0, 0, 0.2);
}

.block-slider-metrics.has-pink-200-background-color
    .splide__pagination__page:not(.is-active):hover {
    border-color: var(--wp--preset--color--pink-900);
}

.block-slider-metrics.has-pink-200-background-color
    .slider-metrics
    .splide__pagination__page {
    background-color: var(--wp--preset--color--pink-300);
}

.block-slider-metrics.has-pink-200-background-color
    .slider-metrics
    .splide__pagination__page.is-active {
    background-color: var(--wp--preset--color--pink-900);
    border: 1px solid var(--wp--preset--color--pink-900);
}

.block-slider-metrics.has-pink-200-background-color
    .slider-metrics
    .splide__arrow {
    background-color: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--white);
}

.block-slider-metrics.has-pink-200-background-color h3,
.block-slider-metrics.has-pink-200-background-color .metrics-subheading {
	color: var(--wp--preset--color--pink-900);
}

.block-slider-metrics.has-pink-200-background-color
    .slider-metrics
    .splide__arrow:hover {
    border: 1px solid var(--wp--preset--color--pink-900);
}

.block-slider-metrics.has-pink-200-background-color .splide__arrow img {
    filter: brightness(0) saturate(100%) invert(7%) sepia(88%) saturate(4025%)
        hue-rotate(317deg) brightness(75%) contrast(112%);
}

.slider-note {
    margin-top: var(--wp--preset--spacing--space-m);
}

.slider-note p {
    font-size: var(--wp--preset--font-size--s);
    margin: 0;
}

.metrics-card.grid {
    background-color: var(--wp--preset--color--gray-200);
    border-radius: var(--radius-s);
    padding: var(--wp--preset--spacing--space-m);
    aspect-ratio: auto;
    grid-template-rows: 2fr 1fr;
    justify-content: center;
    align-items: center;
    height: 440px;
}

.metrics-card.grid:has(.metrics-tag) {
    grid-template-rows: auto 2fr 1fr;
}

.metrics-card .metrics-tag {
    background-color: var(--wp--preset--color--black);
    color: var(--wp--preset--color--pink-200);
    padding: 6px 10px;
    border-radius: var(--radius-xs);
    width: fit-content;
    justify-self: center;
}

.metrics-card .metrics-tag p {
    color: var(--wp--preset--color--pink-200);
}

.metrics-card .metrics-image {
    text-align: center;
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    justify-content: center;
    align-items: center;
    gap: var(--wp--preset--spacing--gutter-s);
    flex: 1 0 0;
    width: 100%;
    height: 100%;
}

.metrics-card .metrics-image img {
    border-radius: 0;
}

.metrics-card .wp-block-image {
    align-self: end;
    justify-self: center;
}

.metrics-card .metrics-image h3 {
    max-width: 180px;
    text-align: center;
    justify-self: center;
}

.metrics-card .metrics-content {
    text-align: center;
}

.metrics-card .metrics-content p {
    font-size: var(--wp--preset--font-size--xs);
}

.metrics-card .metrics-content .metrics-subheading {
    font-family: var(--wp--preset--font-family--heading);
    line-height: var(--heading-line-height);
    font-size: var(--wp--preset--font-size--m);
    color: var(--wp--preset--color--black);
}

/* Testimonial slider
========================================================================== */
.slider-testimonials .splide__arrows {
    position: absolute;
    width: 115px;
    right: 0;
    height: fit-content;
    top: -2.5em;
}

.slider-testimonials .splide__arrow--next {
    right: 0;
}

.slider-testimonials .splide__arrow--prev {
    left: 1em;
}

.slider-testimonials .splide__track {
    margin-left: auto;
    margin-right: auto;
}

.slider-testimonials .splide__slide[aria-hidden="true"] {
    height: 0px;
    transition: all 250ms linear;
    overflow: hidden;
}

.slider-testimonials {
    padding-left: 2px;
    padding-right: 2px;
}

/* Testimonial card */
.testimonial-card {
    grid-gap: var(--wp--preset--spacing--space-m);
    max-width: var(--max-width-l);
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--border-color);
    padding: var(--wp--preset--spacing--space-m);
    border-radius: var(--radius-s);
}

.testimonial-review img {
    margin-bottom: var(--wp--preset--spacing--gutter-m);
}

.testimonial-reviewer {
    display: grid;
    align-items: flex-start;
    grid-gap: var(--wp--preset--spacing--gutter-m);
    grid-template-columns: 1fr;
}

.testimonial-reviewer:has(.wp-block-image) {
    grid-template-columns: 50px 1fr;
}

.testimonial-reviewer .wp-block-image {
    margin: 0;
}

.testimonial-reviewer .wp-block-image img {
    border-radius: var(--radius-xs);
}

.testimonial-company {
    grid-column: 2/-1;
}

.testimonial-fullname {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    font-weight: 700;
    color: var(--wp--preset--font-size--color-secondary);
    font-size: var(--wp--preset--font-size--s);
}

.testimonial-fullname span {
    font-weight: var(--body-font-weight);
    color: var(--wp--preset--font-size--color-primary);
}

/* Slider - Cases
========================================================================== */

.featured-cases .grid {
    grid-gap: var(--wp--preset--spacing--gutter-l);
}

/* Case card */
.case-card .wp-block-image img {
    aspect-ratio: var(--aspect-ratio-square);
}

.case-card .is-style-eyebrow,
.course-card .is-style-eyebrow {
    margin: 0 0 var(--wp--preset--spacing--space-s) !important;
}

.case-card .title {
    font-size: initial;
}

.case-card .excerpt {
    color: initial;
}

/* Slider - Cases - header */
.slider-header {
    max-width: var(--max-width-default);
    margin-left: auto;
    margin-right: auto;
    position: relative;
    margin-bottom: var(--wp--preset--spacing--space-m);
    min-height: 2rem;
    display: flex;
    align-items: center;
}

.featured-cases .container-fullwidth:first-child {
    padding: 0 var(--side-padding);
}

/* Slider - Cases - slider */
.grid-slider-fullwidth-right {
    padding-left: calc((100% - var(--max-width-default)) / 2);
}

.slider-featured-cases .splide__list {
    align-items: baseline;
    -webkit-align-items: baseline;
}

.slider-featured-cases li img {
    aspect-ratio: var(--aspect-ratio-square);
}

.slider-featured-cases .splide__arrows {
    position: absolute;
    width: 120px;
    right: 0;
    height: fit-content;
    top: -4em;
}

.slider-featured-cases .splide__arrow--next {
    right: 0;
}

.slider-featured-cases .splide__arrow--prev {
    left: 1em;
}

@media screen and (min-width: 1329px) {
    .slider-featured-cases .splide__arrows {
        right: calc((100vw - var(--max-width-default)) / 2);
    }
}

@media screen and (max-width: 1328px) {
    .featured-cases .container-default {
        padding: 0 var(--side-padding);
    }

    .grid-slider-fullwidth-right {
        padding-left: var(--side-padding);
    }

    .grid-slider-fullwidth-right .splide__arrows {
        right: var(--side-padding);
    }
}

@media screen and (max-width: 980px) {
    .grid-slider-fullwidth-right .splide__arrow--prev {
        left: 1.5em;
    }
}

/* Slider - Logos
========================================================================== */
.qt-container:has(.slider-logos) {
    -webkit-mask-image: linear-gradient(
        90deg,
        transparent 0,
        black 75px,
        black calc(100% - 75px),
        transparent calc(100% - 20px)
    );
    mask-image: linear-gradient(
        90deg,
        transparent 0,
        black 75px,
        black calc(100% - 75px),
        transparent calc(100% - 20px)
    );
}

.slider-logos .splide__slide {
    display: flex;
    align-items: center;
}

.slider-logos .splide__list {
    gap: var(--wp--preset--spacing--gutter-l) !important;
}

.slider-logos .splide__slide img {
    max-width: 100px;
    height: 40px;
    object-fit: contain;
    object-position: center;
    filter: grayscale(1);
}

/* Staff
========================================================================== */
.is-style-grid-staff .grid {
    grid-gap: var(--wp--preset--spacing--gutter-l);
}

.staff .accordion-heading .is-style-heading-large {
    margin-bottom: 0;
}

.staff .is-style-eyebrow {
    margin-bottom: 0;
}

.qt-section.staff.has-background {
    margin-bottom: 0;
    border-radius: var(--radius-s);
    padding: var(--wp--preset--spacing--space-m);
}

.is-style-grid-staff .qt-container:nth-of-type(4n + 1) .staff {
    background-color: var(--wp--preset--color--yellow-300);
}

.is-style-grid-staff .qt-container:nth-of-type(4n + 2) .staff {
    background-color: var(--wp--preset--color--pink-300);
}

.is-style-grid-staff .qt-container:nth-of-type(4n-1) .staff {
    background-color: var(--wp--preset--color--blue-300);

    .is-style-eyebrow {
        background-color: var(--wp--preset--color--blue);
    }
}

.is-style-grid-staff .qt-container:nth-of-type(4n) .staff {
    background-color: var(--wp--preset--color--green-300);
}

.staff .accordion-heading {
    display: grid;
    justify-content: space-between;
}

.staff .accordion-heading .grid {
    grid-template-columns: 5fr 6fr 1fr;
    align-items: flex-start;
}

.staff .accordion-heading .qt-container:last-child {
    display: grid;
    justify-content: end;
}

.staff .qt-container.is-horizontally-stretched {
    display: flex;
    align-items: baseline;
    -webkit-align-items: baseline;
    justify-content: space-between;
}

.staff > .grid {
    grid-row-gap: 0;
}

.staff .name {
    margin-bottom: var(--wp--preset--spacing--space-xs);
}

.staff .department {
    padding-top: var(--wp--preset--spacing--space-l);
}

.staff .department h4 {
    color: var(--wp--preset--font-size--color-secondary);
}

@media screen and (max-width: 510px) {
    .is-style-grid-staff .grid {
        grid-template-columns: 1fr;
    }

    .staff .accordion-heading .qt-container:nth-child(2) {
        grid-column: 1/-1;
    }

    .staff .accordion-heading .qt-container:last-child {
        grid-area: 1/-1/2/3;
    }

    .staff .department {
        padding-top: var(--wp--preset--spacing--space-xl);
    }

    .is-style-grid-staff > .grid {
        grid-gap: var(--wp--preset--spacing--gutter-s);
    }
}

.staff-card img {
    aspect-ratio: var(--aspect-ratio-portrait);
    width: 100%;
    height: 100%;
}

.staff-card p {
    margin: 0;
}

@media screen and (max-width: 510px) {
    .staff .accordion-content .grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .staff .accordion-heading .grid {
        grid-gap: var(--wp--preset--spacing--gutter-s);
    }
}

/* Jobs
========================================================================== */

/* Jobs card */
.jobs-card {
    border: 1px solid var(--border-color);
}

.jobs-card img {
    aspect-ratio: var(--aspect-ratio-square);
}

/* single-jobs.php */
.single-jobs .grid {
    grid-row-gap: 0;
}

.single-jobs h1 + p {
    font-size: var(--wp--preset--font-size--m);
}

.single-jobs .post-content {
    margin-top: 0;
}

/* ==========================================================================
Buttons
========================================================================== */

.wp-block-buttons .wp-block-button__link {
    font-weight: 500;
    background-color: var(--bg-black);
    border-color: var(--bg-black);
    color: var(--wp--preset--color--white);
    border-radius: var(--btn-radius);
}

/* Filled button 
========================================================================== */
.wp-block-button__link,
.is-style-fill .wp-block-button__link {
    background-color: var(--bg-black);
    border-color: var(--bg-black);
    color: var(--wp--preset--color--white);
    border-radius: var(--btn-radius);
}

.wp-block-button__link:hover,
.is-style-fill .wp-block-button__link:hover {
    background-color: var(--bg-transparent);
    border-color: var(--bg-black);
    color: var(--wp--preset--color--black);
}

.wp-block-button.is-style-download-button .wp-block-button__link {
    display: flex;
    align-items: center;
}

.wp-block-button.is-style-download-button .wp-block-button__link:before {
    content: "";
    display: inline-block;
    background-image: url("../images/download-white.svg");
    background-size: contain;
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.wp-block-button.is-style-download-button .wp-block-button__link:hover:before {
    background-image: url("../images/download-black.svg");
}

.wp-block-buttons:has(.is-style-download-button) {
    margin-top: var(--wp--preset--spacing--space-l);
}

/* Secondary filled button
========================================================================== */
.is-style-fill-secondary .wp-block-button__link,
.mega-menu-mobile
    .wp-block-button.is-style-primary_button
    .wp-block-button__link {
    background-color: var(--wp--preset--color--green);
    border-color: var(--wp--preset--color--green);
    color: var(--wp--preset--color--green-900);
}

.is-style-fill-secondary .wp-block-button__link:hover {
    background-color: var(--bg-transparent);
    border-color: var(--wp--preset--color--green);
    color: var(--wp--preset--color--green-900);
}

/* Outline button
========================================================================== */
.is-style-outline .wp-block-button__link,
.mega-menu-mobile
    .wp-block-button.is-style-secondary_button
    .wp-block-button__link {
    background-color: transparent;
    border-color: var(--wp--preset--color--green-900);
    color: var(--wp--preset--color--green-900);
}

.is-style-outline .wp-block-button__link:hover {
    background-color: var(--wp--preset--color--green-900);
    border-color: var(--wp--preset--color--green-900);
    color: var(--wp--preset--color--white);
}

/* Secondary outline button
========================================================================== */
.is-style-outline-secondary .wp-block-button__link {
    background-color: transparent;
    border-color: var(--bg-white);
    color: var(--wp--preset--color--white);
}

.is-style-outline-secondary .wp-block-button__link:hover {
    background-color: var(--bg-white);
    border-color: var(--bg-white);
    color: var(--wp--preset--color--black);
}

/* ==========================================================================
Forms
========================================================================== */

[data-class="wpcf7cf_group"]:not(.wpcf7cf-hidden) {
    display: grid;
    grid-gap: var(--wp--preset--spacing--gutter-m);
}

/* Text and fields
========================================================================== */
.has-background .wpcf7-form {
    --border-color: var(--bg-black);
}

.wpcf7-form {
    margin-top: 0;
    grid-template-columns: 1fr;
    grid-gap: var(--wp--preset--spacing--gutter-m);
}

.wpcf7-form label,
span.wpcf7-list-item-label,
label {
    font-size: var(--wp--preset--font-size--s);
}

.wpcf7-radio span.wpcf7-list-item-label {
    font-size: var(--wp--preset--font-size--s);
}

.wpcf7-form
    p:has(
        input[type="text"],
        input[type="email"],
        input[type="select"],
        input[type="phone"],
        textarea
    )
    label {
    /* position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    pointer-events: none;
    transform: translateY(12px);
    transition: all 150ms linear; */
}

.wpcf7-form p:has(input:focus, textarea:focus) label,
.wpcf7-form p:has(input.has-value, textarea.has-value) label {
    /* transform: translateY(-12px);
    font-size: var(--wp--preset--font-size--xs); */
}

.wpcf7-form :is(select, textarea, input):focus,
:is(select, textarea, input):focus {
    border-color: var(--bg-black);
}

.wpcf7-form p span :is(select, textarea, input:not([type="checkbox"])),
:is(select, textarea, input:not([type="checkbox"])) {
    border-radius: 2px;
    background-color: #f9f9f9;
    padding: var(--wp--preset--spacing--space-xs)
        var(--wp--preset--spacing--space-s);
    border: 1px solid var(--border-color);
    margin-top: var(--wp--preset--spacing--space-xs);
    font-size: initial;
}

.wpcf7-radio .wpcf7-list-item,
.wpcf7-checkbox .wpcf7-list-item {
    grid-gap: var(--wp--preset--spacing--gutter-xs);
    margin-top: var(--wp--preset--spacing--space-xs);
    align-items: center;
}

/* Submit
========================================================================== */
.wpcf7-form input[type="submit"],
.wpcf7-form input[type="submit"]:disabled,
input[type="submit"] {
    background-color: var(--bg-black);
    padding: var(--btn-padding-y) var(--btn-padding-x);
    border-radius: var(--btn-radius);
    border: var(--btn-border);
    font-size: var(--btn-font-size);
    font-weight: 700;
    font-family: var(--wp--preset--font-family--text);
    color: var(--wp--preset--font-size--color-inverted);
    text-align: center;
}

.wpcf7-form input[type="submit"]:hover,
input[type="submit"]:hover {
    background-color: transparent;
    color: var(--wp--preset--font-size--color-secondary);
    border-color: var(--bg-black);
}

/* Acceptance
========================================================================== */
.wpcf7-form .wpcf7-acceptance .wpcf7-list-item-label,
.wpcf7-form .wpcf7-acceptance .wpcf7-list-item-label a {
    font-size: 14px;
}

/* Error messages
========================================================================== */
.wpcf7-not-valid-tip,
.wpcf7 form .wpcf7-response-output {
    color: var(--wp--preset--font-size--color--primary);
}

span.wpcf7-not-valid-tip::before {
    content: url("../images/error-message.svg");
    margin-inline-end: 4px;
    opacity: 0.6;
    vertical-align: middle;
}

form.wpcf7-form.invalid .wpcf7-response-output::before {
    content: url("../images/error-message.svg");
    margin-inline-end: 4px;
    opacity: 0.6;
    vertical-align: middle;
}

form.wpcf7-form:not(.invalid) .wpcf7-response-output::before {
    content: url("../images/success-message.svg");
    margin-inline-end: 4px;
    opacity: 0.6;
    vertical-align: middle;
}

.wpcf7 form .wpcf7-response-output:last-of-type {
    grid-column: 1 / -1;
}

/* Custom forms
========================================================================== */
.form-open-application {
    margin-top: var(--wp--preset--spacing--space-l);
}

.form-open-application p:nth-of-type(n + 5) {
    grid-column: 1/-1;
}

.application-form.wpcf7-form
    p:has(
        input[type="text"],
        input[type="email"],
        input[type="select"],
        input[type="phone"],
        textarea
    )
    label {
    display: inline-block;
}

/* ==========================================================================
Header
========================================================================== */
header {
    position: fixed;
    z-index: 100;
    top: 0;
    width: 100%;
    height: auto;
    transition: all 200ms linear;
    background-color: var(--wp--preset--color--white);
    padding: 0 var(--side-padding);
    border-bottom: 1px solid var(--border-color);
}

.header-nav {
    max-width: var(--max-width-header);
    margin: 0 auto;
    height: var(--header-height);
}

.header-nav-container {
    display: grid;
    grid-template-columns: 1fr auto auto;
    grid-gap: var(--wp--preset--spacing--gutter-xl);
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* Header logo
========================================================================== */
.header-logo {
    width: 90px;
    max-width: 100%;
    transition: all 250ms linear;
}

.custom-logo-link {
    display: block;
    border: none;
    background-color: var(--wp--preset--color--yellow);
    padding: var(--wp--preset--spacing--space-xs);
}

.header-logo img {
    vertical-align: middle;
    height: auto;
    width: 100%;
}

/* Menu navigation
========================================================================== */
.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-list li a {
    font-weight: 700;
    font-size: var(--btn-font-size);
    color: var(--wp--preset--font-size--color-secondary);
    text-decoration: none;
    border: none;
}

.menu-item > a {
    transition: all 150ms linear;
    text-decoration: none;
}

/* Mega menu Desktop
========================================================================== */

.mega-menu-item-parent
    > .sub-menu
    > .menu-item
    span:not(.mega-menu-image-text, .mega-menu-image) {
    font-size: var(--wp--preset--font-size--xs);
    width: fit-content;
    padding: 0 3px;
}

.menu-item.has-bg-color-pink span:not(.mega-menu-image-text) {
    background-color: var(--wp--preset--color--pink-200);
}

.menu-item.has-bg-color-blue span:not(.mega-menu-image-text) {
    background-color: var(--wp--preset--color--blue-200);
}

.menu-item.has-bg-color-yellow span:not(.mega-menu-image-text) {
    background-color: var(--wp--preset--color--yellow-200);
}

.mega-menu .is-style-tag {
    border: 1px solid transparent;
}

@media screen and (min-width: 1148px) {
    .mega-menu > .menu > .menu-item {
        padding: 6px 12px;
        border-radius: 2px;
    }

    .mega-menu > .menu > .menu-item:hover,
    .mega-menu > .menu > .menu-item:has(.sub-menu.is-open) {
        background-color: var(--wp--preset--color--yellow-200);
    }

    .chevron {
        width: 12px;
        height: 12px;
    }

    .mega-menu .menu {
        gap: var(--wp--preset--spacing--gutter-m);
    }

    .menu-item {
        padding-left: 0;
    }

    .mega-menu-image-text {
        position: relative;
        transform: none;
        opacity: 1;
        color: var(--wp--preset--color--black);
        width: 100%;
        left: 0;
        top: 0;
    }

    .mega-menu-image {
        gap: 0 !important;
        position: relative;
    }

    .mega-menu-image picture,
    .mega-menu-image img {
        min-width: 100%;
        height: 100%;
        border-radius: var(--radius-s);
        overflow: hidden;
    }

    .menu-item.has-news-tag .mega-menu-image:after {
        content: "Nyhet!";
        position: absolute;
        top: var(--wp--preset--spacing--space-xs);
        left: var(--wp--preset--spacing--space-xs);
        background-color: var(--wp--preset--color--yellow-200);
        color: var(--wp--preset--color--black);
        padding: 6px;
    }

    .menu-item > a:has(span.mega-menu-image) {
        row-gap: var(--wp--preset--spacing--space-s);
        align-items: start;
        border-radius: var(--radius-s);
        border: 1px solid var(--border-color);
        padding: var(--wp--preset--spacing--space-s);
    }

    /* Submenu - first level */

    .sub-menu.is-open {
        border-top: 1px solid var(--border-color);
        position: relative;
    }

    .sub-menu.is-open:after {
        content: "";
        position: absolute;
        bottom: var(--wp--preset--spacing--space-m);
        left: 0;
        width: 100%;
        height: 1px;
        background-color: var(--border-color);
    }

    .mega-menu-item.menu-item-has-children > .sub-menu {
        box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
        padding: var(--side-padding) var(--side-padding)
            var(--wp--preset--spacing--space-3-xl);
        max-width: 100%;
        justify-content: center;
        gap: var(--wp--preset--spacing--gutter-s);
    }

    .mega-menu .menu-item.mega-menu-column-25 {
        flex-shrink: 1;
        max-width: calc(
            (
                    var(--max-width-header) -
                        var(--wp--preset--spacing--gutter-s) * 3
                ) /
                4
        );
    }

    /* Submenu - second level */

    .mega-menu-item .sub-menu.is-open .sub-menu {
        display: flex;
        flex-direction: column;
        gap: var(--wp--preset--spacing--space-s);
        height: 100%;
    }

    .menu-item .wp-block-buttons {
        margin-top: auto;
    }

    .mega-menu-item.menu-item-has-children .sub-menu:has(.mega-menu-column) {
        flex-wrap: nowrap;
    }
}

/* Mega Menu Mobile
========================================================================== */

@media screen and (max-width: 1147px) {
    .menu-mega-menu-mobile-container,
    .menu-mega-menu-mobile-container .menu {
        height: 100%;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .mega-menu-item-parent.is-open {
        -webkit-tap-highlight-color: transparent;
    }

    .chevron {
        display: none;
    }

    .mega-menu-item-parent > a::after,
    .mega-menu-item-parent > span::after {
        content: "";
        display: inline-block;
        background-image: url("../images/arrow-right.svg");
        width: 19px;
        height: 19px;
        background-size: contain;
    }

    .menu-item.has-bg-color-blue,
    .menu-item.has-bg-color-yellow {
        border-top: 1px solid var(--border-color);
        padding-top: var(--wp--preset--spacing--space-l) !important;
        margin-top: var(--wp--preset--spacing--space-s);
    }

    .mega-menu-mobile li.menu-item {
        padding-inline-start: 0;
        padding: var(--wp--preset--spacing--space-s);
        height: fit-content;
    }

    .mega-menu-mobile li.menu-item:hover {
        background-color: var(--wp--preset--color--yellow-200);
    }

    .mega-menu-mobile .wp-block-buttons {
        position: sticky;
        margin-top: auto;
        bottom: -1px;
        background-color: var(--wp--preset--color--white);
        gap: 0;
        padding-left: 0;
        z-index: 1;
        display: flex;
        flex-direction: column;
        gap: var(--wp--preset--spacing--space-s);
        width: 100%;
        padding-top: var(--wp--preset--spacing--space-xl);
        padding-bottom: var(--wp--preset--spacing--space-l);
    }

    .mega-menu-mobile .wp-block-buttons:before {
        content: "";
        position: absolute;
        top: var(--wp--preset--spacing--space-xs);
        left: 0;
        width: 100%;
        height: 1px;
        background-color: var(--border-color);
    }

    .mega-menu-mobile li.wp-block-button {
        padding-top: 0;
        padding-bottom: 0;
    }

    .mega-menu-mobile .sub-menu.is-open li.menu-item:not(.wp-block-button) {
        padding: var(--wp--preset--spacing--space-xs)
            var(--wp--preset--spacing--space-s);
    }

    .mega-menu-mobile .wp-block-button__link {
        width: 100%;
        text-align: center;
    }

    .mega-menu-mobile .menu > .menu-item > span:has(.chevron) {
        font-size: var(--wp--preset--font-size--l);
    }
}

@media (max-width: 1100px) {
    .header-nav-container {
        grid-template-columns: 1fr auto;
    }

    .header-nav-container .header-button {
        display: none;
    }
}

/* Hamburger menu
========================================================================== */

.hamburger-icon.is-open span {
    transform: rotate(45deg);
    top: 0;
}

.hamburger-icon.is-open span::after {
    transform: rotate(90deg);
    top: 0;
}

.mobile-menu li {
    padding: 0;
}

.mobile-menu {
    padding-top: var(--header-height);
}

@media (max-width: 1100px) {
    .hamburger-icon {
        display: flex;
        justify-content: center;
    }

    .hamburger-icon.is-open {
        background-color: #eff0f1;
        border-radius: var(--radius-s);
    }
}

/* ==========================================================================
Footer
========================================================================== */

.footer-container {
    margin: 0 auto;
}

/* Footer top
========================================================================== */

.footer {
    padding: 0 var(--side-padding);
}

.footer-top {
    background-color: var(--wp--preset--color--gray-200);
    max-width: var(--max-width-footer);
    border-radius: var(--radius-s);
    margin: 0 auto;
}

.footer-top .footer-container {
    display: grid;
    grid-template-columns: 6fr repeat(3, 2.17fr);
    padding: var(--wp--preset--spacing--space-2-xl)
        var(--wp--preset--spacing--space-l);
    grid-gap: var(--wp--preset--spacing--gutter-l);
}

.footer-top .footer-col:first-child {
    max-width: 350px;
}

.footer-top .footer-col .wp-block-list a {
	color: var(--wp--preset--color--black);
}

@media screen and (max-width: 960px) {
    .footer-top .footer-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-gap: var(--wp--preset--spacing--gutter-l);
    }

    .footer-top .footer-col:first-child {
        grid-column: 1/-1;
    }
}

@media screen and (max-width: 671px) {
    .footer-top .footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-gap: var(--wp--preset--spacing--gutter-l);
    }

    .footer-top .footer-col:first-of-type {
        grid-column: 1/-1;
        max-width: 100%;
    }
}

@media screen and (max-width: 400px) {
    .footer-top .footer-container {
        grid-template-columns: 1fr;
        grid-gap: var(--wp--preset--spacing--gutter-l);
    }
}

/* Footer text and navigation
========================================================================== */
.footer .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: flex-start;
}

.footer .menu-item {
    padding-left: 0;
    margin-bottom: 0;
}

.footer .menu-item a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.footer :is(li, p) a {
    text-decoration-thickness: 1px;
    font-size: var(--wp--preset--font-size--body);
    font-weight: 500;
}

.footer :is(li, p) a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.footer .is-style-tag {
    background-color: transparent;
    margin-bottom: var(--wp--preset--spacing--space-m);
}

.footer .policys a {
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.footer .policys a:hover {
    text-decoration: underline;
}

.footer .policys a:not(:last-of-type) {
    margin-right: var(--wp--preset--spacing--space-m);
}

.footer ul {
    list-style-image: none;
    padding-left: 0;
}

.footer li {
    padding-left: 0;
}

.footer li a {
    text-decoration: none;
}

/* Footer bottom
========================================================================== */
.footer-bottom * {
    font-size: var(--wp--preset--font-size--xs);
    color: var(--wp--preset--color--black-40);
}

.footer .menu {
    flex-direction: column;
    gap: var(--wp--preset--spacing--space-s);
}

.footer-bottom {
    max-width: var(--max-width-footer);
    margin-left: auto;
    margin-right: auto;
    padding: var(--wp--preset--spacing--space-m) 0;
}

.footer-bottom .footer-container {
    display: grid;
    justify-content: space-between;
    align-items: center;
    grid-template-columns: repeat(2, auto);
}

@media screen and (max-width: 671px) {
    .footer-bottom .footer-container {
        grid-template-columns: minmax(0, 1fr);
        grid-gap: var(--wp--preset--spacing--gutter-xs);
        text-align: center;
    }
}

/* Comparison Table
========================================================================== */

/* Comparison Table */
.table-wrapper {
    display: grid;
    grid-template-columns: auto;
}

.row {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    grid-gap: var(--wp--preset--spacing--gutter-l);
    align-items: center;
}

.row.header {
    border: none !important;
    margin-bottom: var(--wp--preset--spacing--gutter-s);
}

.row.header .cell,
.row.footer .cell {
    padding: 0;
}

.comparison-table .row.header > .cell:nth-child(2) .is-style-eyebrow {
    background-color: var(--wp--preset--color--pink-400);
}

.comparison-table .row.header > .cell:nth-child(3) .is-style-eyebrow {
    background-color: var(--wp--preset--color--yellow-300);
}

.comparison-table .row.header > .cell:nth-child(4) .is-style-eyebrow {
    background-color: var(--wp--preset--color--green-400);
}

.row.footer {
    border: none !important;
    align-items: flex-start;
    margin-top: var(--wp--preset--spacing--gutter-l);
}

.row:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.row p.content-heading {
    margin-bottom: 0;
}

.row p.content-description {
    font-size: 14px;
    color: var(--wp--preset--color--black-40);
}

.cell {
    padding: var(--wp--preset--spacing--space-s) 0;
}

.cell img {
    margin-left: auto;
    margin-right: auto;
    width: 20px;
}

.row .cell:not(:first-child) {
    font-size: var(--wp--preset--font-size--s);
    text-align: center;
}

.row.header .cell:not(:first-child) {
    margin: 0 auto;
}

.cell:has(.content-description) .content-heading {
    margin-bottom: var(--wp--preset--spacing--space-xs);
}

.cell > p:not(.content-heading):not(.content-description) {
    font-size: 14px;
}

/* Responsivitet */
@media screen and (max-width: 980px) {
    .cell:first-child {
        margin-bottom: var(--wp--preset--spacing--gutter-xs);
    }
    .cell img {
        width: 20px;
        height: auto;
    }

    .table-wrapper {
        grid-template-columns: 1fr;
        grid-gap: var(--wp--preset--spacing--gutter-l);
    }

    .table-header-wrapper {
        display: none;
    }

    .cell:first-child {
        grid-column: 1 / -1;
    }

    .row .cell:not(:first-child) {
        font-size: var(--wp--preset--font-size--s);
        display: grid;
        grid-template-columns: 3fr auto;
        grid-gap: var(--wp--preset--spacing--gutter-l);
        border-bottom: 1px solid var(--border-color);
        padding-bottom: var(--wp--preset--spacing--space-xs);
        align-items: center;
        line-height: normal;
        text-align: left;
    }

    .row:not(:last-child) {
        border-bottom: 0;
    }

    .row.header {
        display: none;
    }

    .row {
        grid-gap: var(--wp--preset--spacing--gutter-xs);
        display: flex;
        flex-direction: column;
        margin-bottom: 0;
        align-items: unset;
    }

    .cell {
        border: none;
        padding: 0;
        position: relative;
    }

    .cell:not(:first-child):before {
        content: attr(data-package-name);
        font-size: initial;
    }

    .row p.content-heading {
        font-weight: 700;
    }
}

/* KPI card */
@media screen and (max-width: 1300px) {
    .is-style-kpi .grid-col-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 980px) {
    .is-style-kpi .grid-col-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 510px) {
    .is-style-kpi .grid-col-4 {
        grid-template-columns: 1fr;
    }
}

.kpi-card {
    border-radius: var(--radius-s);
    padding: var(--wp--preset--spacing--space-m);
    display: flex;
    grid-gap: var(--wp--preset--spacing--gutter-l);
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

@media screen and (max-width: 510px) {
    .kpi-card {
        grid-gap: var(--wp--preset--spacing--gutter-s);
    }
}

.kpi-card.no-arrow {
    height: 100%;
}

.kpi-card p.kpi-value {
    color: var(--wp--preset--color--pink-900);
    margin: 0;
}

.kpi-card p.kpi-desc {
	color: var(--wp--preset--color--pink-900);
}

.kpi-card .kpi-eyebrow {
    margin: 0 !important;
	background-color: var(--wp--preset--color--pink);
}

.kpi-card * {
    margin: 0;
}

.kpi-card ~ p:first-of-type {
    margin-top: var(--wp--preset--spacing--space-m);
}

.kpi-card[style="background-color:#ffffff"] {
    border: 1px solid var(--border-color);
}

.kpi-header {
    display: grid;
    grid-template-columns: 1fr auto;
    justify-content: space-between;
    grid-gap: var(--wp--preset--spacing--gutter-m);
    width: 100%;
}

.kpi-value {
    font-size: var(--wp--preset--font-size--l);
    font-weight: 700;
    line-height: 1;
    margin: 0;
    word-break: normal;
    display: table;
}

.kpi-suffix {
    font-weight: 500;
    font-size: var(--wp--preset--font-size--l);
    padding-inline-start: var(--wp--preset--spacing--space-xs);
}

.kpi-desc {
    font-size: var(--wp--preset--font-size--s);
    font-weight: 500;
    color: initial;
}

.kpi-heading {
    font-size: var(--wp--preset--font-size--s);
    font-weight: 700;
    display: flex;
    flex-direction: column;
}

.kpi-subheading {
    font-size: var(--wp--preset--font-size--s);
    font-weight: 500;
}

/* ==========================================================================
ROI calculator
========================================================================== */
.roi-calculator {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: var(--wp--preset--spacing--gutter-s)
        var(--wp--preset--spacing--gutter-l);
    margin-top: var(--wp--preset--spacing--space-4-xl);
    border: 1px solid var(--border-color);
    padding: var(--wp--preset--spacing--space-m);
    border-radius: var(--radius-s);
}

.roi-calculator p:nth-of-type(n + 3) {
    grid-column: 1/-1;
}

.roi-calculator p {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.roi-calculator .result {
    grid-column: 1/-1;
    display: none;
}

.roi-calculator .result.open {
    margin-top: var(--wp--preset--spacing--space-m);
    display: block;
}

.roi-calculator .submit {
    width: fit-content;
    cursor: pointer;
    transition: all 150ms linear;
    margin-top: 0;
}

.roi-calculator .submit:hover {
    color: var(--wp--preset--font-size--color-secondary);
}

.roi-calculator {
    margin-bottom: var(--wp--preset--spacing--space-4-xl);
}

@media only screen and (max-width: 768px) {
    .roi-calculator {
        grid-template-columns: 1fr;
    }

    .roi-calculator .result p {
        margin-bottom: 0;
    }

    .roi-calculator .submit {
        width: 100%;
    }
}

/* ==========================================================================
ROAS calculator
========================================================================== */
.roas-calculator {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: var(--wp--preset--spacing--gutter-s)
        var(--wp--preset--spacing--gutter-l);
    margin-top: var(--wp--preset--spacing--space-4-xl);
    border: 1px solid var(--border-color);
    padding: var(--wp--preset--spacing--space-m);
    border-radius: var(--radius-s);
}

.roas-calculator p:nth-of-type(n + 3) {
    grid-column: 1/-1;
}

.roas-calculator p {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.roas-calculator .result {
    grid-column: 1/-1;
    display: none;
}

.roas-calculator .result.open {
    margin-top: var(--wp--preset--spacing--space-m);
    display: block;
}

.roas-calculator .submit {
    width: fit-content;
    cursor: pointer;
    transition: all 150ms linear;
    margin-top: 0;
}

.roas-calculator .submit:hover {
    color: var(--wp--preset--font-size--color-secondary);
}

.roas-calculator {
    margin-bottom: var(--wp--preset--spacing--space-4-xl);
}

@media only screen and (max-width: 768px) {
    .roas-calculator {
        grid-template-columns: 1fr;
    }

    .roas-calculator .result p {
        margin-bottom: 0;
    }

    .roas-calculator .submit {
        width: 100%;
    }
}

/* ==========================================================================
WP dashboard and Gutenberg editor
========================================================================== */

/* Admin bar
========================================================================== */
.admin-bar header {
    top: 32px;
}

.admin-bar .hamburger-menu {
    margin-top: var(--wp--preset--spacing--space-s);
    padding-bottom: calc(var(--total-header-height) + 32px);
}

.admin-bar .hamburger-menu-inner {
    /*margin-top: calc(var(--total-header-height) + 32px);*/
    margin-top: 32px;
}

@media (max-width: 782px) {
    #wpadminbar {
        position: fixed;
    }

    #wpadminbar li > .ab-item {
        width: 4rem !important;
    }

    .admin-bar header {
        top: 46px;
    }

    .admin-bar .hamburger-menu {
        margin-top: var(--wp--preset--spacing--space-s);
        padding-bottom: 0;
    }

    .admin-bar .hamburger-menu-inner {
        /* margin-top: calc(var(--total-header-height) + 46px); */
        margin-top: 46px;
    }
}

/* Qase x The Cornament
========================================================================== */

.page-id-10341 header,
.page-id-10341 footer {
    display: none !important;
}

.page-id-10341 main {
    margin: 0;
}

.cornament-banner {
    padding: var(--wp--preset--spacing--space-4-xl) var(--side-padding)
        var(--wp--preset--spacing--space-2-xl) !important;
    margin-bottom: var(--wp--preset--spacing--space-m) !important;
}

.cornament-section .qt-container.has-background {
    border: 1px solid var(var(--wp--preset--color--blue-200));
}

@media screen and (min-width: 671px) {
    .cornament-section .qt-container.has-background {
        padding: var(--wp--preset--spacing--space-l);
    }
}

.cornament-section .wpcf7 {
    margin-top: var(--wp--preset--spacing--space-l);
}

/* CPT - Lediga tjänster  */
.post-content li a {
    word-break: break-word;
    font-weight: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1.5px;
}

.post-content li a:hover {
    color: var(--wp--preset--font-size--color-secondary);
}

/* Table */
figure.wp-block-table {
    overflow-x: scroll;
}

table.has-fixed-layout {
    min-width: 650px;
}

td {
    width: 33%;
}

/* Qase 2.0
========================================================================== */
/* Single case */
nav.rank-math-breadcrumb + .wp-block-video,
.wp-block-post-featured-image {
    margin-bottom: var(--wp--preset--spacing--space-2-xl);
}

/* Block - fullwidth padding 32px */
.container-fullwidth.is-style-fullwidth-padding-32 {
    max-width: 1440px;
    margin-inline: auto;
    padding-inline: var(--wp--preset--spacing--space-l);
}

.container-fullwidth.is-style-fullwidth-padding-32:has(
        + .container-fullwidth.is-style-fullwidth-padding-32
    ) {
    margin-bottom: var(--wp--preset--spacing--space-l);
}

.container-fullwidth.is-style-fullwidth-padding-32 .wp-block-image img {
    width: 100%;
    object-fit: cover;
    margin-inline: auto;
}

@media screen and (max-width: 670px) {
    .container-fullwidth.is-style-fullwidth-padding-32 {
        padding-inline: var(--wp--preset--spacing--space-m);
    }
}

/* Block - Case customer card */
.customer-card .post-author {
    display: grid;
    gap: var(--wp--preset--spacing--space-m);
    padding: var(--wp--preset--spacing--space-m);
    margin-top: 0;
    border-radius: var(--radius-s);
}

/* Style - Image cred */
.is-style-image-cred {
    text-align: right;
    font-size: var(--wp--preset--font-size--xs);
    margin: var(--wp--preset--spacing--space-xs) 0
        var(--wp--preset--spacing--space-2-xl);
    color: var(--wp--preset--font-size--color-secondary);
    font-weight: 500;
}

.qt-container.is-style-stretch-image-column .wp-block-image,
.qt-container.is-style-stretch-image-column picture,
.qt-container.is-style-stretch-image-column img {
    height: 100%;
}

/* Style - Sticky wrapper */
.is-style-sticky-wrapper > .qt-section__inner.grid-col-2 {
    grid-template-columns: 1fr minmax(250px, 350px);
    gap: var(--wp--preset--spacing--gutter-xl);
}

@media (max-width: 980px) {
    .is-style-sticky-wrapper > .qt-section__inner.grid-col-2 {
        grid-template-columns: 1fr;
    }
}

/* Style - Sticky section */
.is-style-sticky-section {
    position: sticky;
    top: 148px;
    align-self: start;
    height: min-content;
    max-width: 350px;
}

.is-style-sticky-section .qt-container {
    padding: var(--wp--preset--spacing--space-m);
    border-radius: var(--radius-s);
    border: 1px solid var(--border-color);
}

.is-style-sticky-section .wp-block-image img {
    border-radius: var(--radius-s);
    margin-bottom: var(--wp--preset--spacing--space-m);
    width: 100%;
}

.is-style-sticky-section .is-style-eyebrow {
    margin-bottom: var(--wp--preset--spacing--space-m);
}

.is-style-sticky-section .qt-container p + h3 {
    margin: var(--wp--preset--spacing--space-m) auto
        var(--wp--preset--spacing--space-xs);
}

.is-style-sticky-section .wp-block-buttons + p {
    margin-top: var(--wp--preset--spacing--space-m);
}

.is-style-sticky-section p + .wp-block-list {
    margin-top: var(--wp--preset--spacing--space-base);
}

.is-style-sticky-section .wp-block-button {
    width: 100%;
}

.is-style-sticky-section .wp-block-button__link {
    width: fit-content !important;
    text-align: center;
}

/* Style - Sticky left column */
.is-style-sticky-left-column
    > .qt-section:not(.is-style-has-border):first-child {
    padding: 0 0 var(--section-small-padding);
}

.is-style-sticky-left-column .qt-section:not(.is-style-has-border) {
    border-bottom: 1px solid var(--border-color);
    padding: var(--section-small-padding) 0;
}

.is-style-sticky-left-column
    .qt-section:has(+ .qt-section.is-style-has-border) {
    border-bottom: 0;
}

.is-style-sticky-left-column .wp-block-heading {
    margin-bottom: var(--wp--preset--spacing--space-l);
}

.is-style-sticky-left-column .is-style-contact-form .grid {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
    .is-style-sticky-left-column .is-style-contact-form .grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.is-style-sticky-left-column ul.is-style-check-list li::before {
    width: var(--wp--preset--spacing--space-s);
}

/* Style - Small card */
.is-style-small-card {
    padding: var(--wp--preset--spacing--space-m);
    border-radius: var(--radius-s);
}

.qt-section__inner:has(.is-style-small-card) {
    column-gap: var(--wp--preset--spacing--gutter-s);
	row-gap: var(--wp--preset--spacing--gutter-s);
}

.is-style-small-card .wp-block-group {
    column-gap: var(--wp--preset--spacing--space-s);
    align-items: start;
}

.is-style-small-card .wp-block-group + h3 {
    margin-top: 0.9em;
}

.is-style-small-card .wp-block-separator {
    margin: var(--wp--preset--spacing--space-m) 0;
    border-top: 1px solid;
}

/* Style - Right text column */

/* Block - Qoute slider */

.block-slider-quote .qt-container:has(.slider-quotes) {
    padding: var(--wp--preset--spacing--space-m);
}

.block-slider-quote__heading {
    padding-bottom: var(--wp--preset--spacing--space-m);
    border-bottom: 1px solid var(--border-color);
}

.slider-quotes .splide__slide {
    margin-bottom: 0;
}

.quote-quote,
.quote-header,
.quote-info-container {
    margin-bottom: 37px;
}

.quote-header {
    color: var(--bg-black);
}

.quote-quote {
    font-size: 28px;
    color: var(--wp--preset--color--black-60);
	line-height: 1.2;
}

.quote-name {
    margin-bottom: var(--wp--preset--spacing--space-xs);
}

.quote-company {
    font-size: var(--wp--preset--font-size--xs);
    color: var(--wp--preset--color--black-60);
}

.slider-quotes {
    padding-bottom: var(--wp--preset--spacing--space-m);
}

.slider-quotes .splide__arrows {
    position: absolute;
    bottom: -18px;
    height: 20px;
    width: 280px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slider-quotes .splide__arrow {
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.slider-quotes .splide__pagination {
    bottom: -15px;
    width: fit-content;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--wp--preset--spacing--space-s);
}

.slider-quotes .splide__pagination li {
    padding-left: 0;
}

.slider-quotes .splide__pagination__page {
    transform: scale(1.4);
    background-color: var(--wp--preset--color--gray-300);
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.slider-quotes .splide__pagination__page:hover {
    border-color: var(--bg-black);
}

.slider-quotes .splide__pagination__page.is-active {
    background-color: var(--bg-black);
    opacity: 1;
    border: 1px solid var(--bg-black);
}

.block-slider-quote.has-pink-200-background-color {
    padding-top: var(--wp--preset--spacing--space-3-xl);
}

.block-slider-quote.has-pink-200-background-color .is-style-eyebrow {
    background-color: var(--wp--preset--color--pink);
}

.block-slider-quote.has-pink-200-background-color .quote-quote {
    color: var(--wp--preset--color--pink-900);
    font-size: var(--wp--preset--font-size--display-paragraph);
}

.block-slider-quote.has-pink-200-background-color .quote-header {
    color: var(--wp--preset--color--pink-900);
}

.block-slider-quote.has-pink-200-background-color
    .splide__pagination__page:not(.is-active) {
    border-color: rgba(0, 0, 0, 0.2);
}

.block-slider-quote.has-pink-200-background-color
    .splide__pagination__page:not(.is-active):hover {
    border-color: var(--wp--preset--color--pink-900);
}

.block-slider-quote.has-pink-200-background-color
    .slider-quotes
    .splide__pagination__page {
    background-color: var(--wp--preset--color--pink-300);
}

.block-slider-quote.has-pink-200-background-color
    .slider-quotes
    .splide__pagination__page.is-active {
    background-color: var(--wp--preset--color--pink-900);
    border: 1px solid var(--wp--preset--color--pink-900);
}

.block-slider-quote.has-pink-200-background-color
    .slider-quotes
    .splide__arrow:hover {
    border: 1px solid var(--wp--preset--color--pink-900);
}

.block-slider-quote.has-pink-200-background-color .splide__arrow img {
    filter: brightness(0) saturate(100%) invert(7%) sepia(88%) saturate(4025%)
        hue-rotate(317deg) brightness(75%) contrast(112%);
}

@media screen and (max-width: 670px) {
    .quote-quote {
        font-size: var(--wp--preset--font-size--m);
    }
}

.post-container .qt-section__inner.grid {
    grid-row-gap: 0;
}
