/* –––– GENERAL –––– */

section, footer {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
}

section:not(.custom-padding) {
    padding: var(--padding-v) 0;
}

section.half-padding {
    padding: calc( var(--padding-v) / 2) 0;
}

#hero {
    padding-top: calc(var(--header-height) + var(--padding-v));
}

.container {
    width: 100%;
    box-sizing: content-box;
    color: var(--text-color);
}

.container:not(.full-width) {
    max-width: var(--site-max-width);
    padding: 0 var(--padding-h);
}

.padding-v {
    padding-top: var(--padding-v);
    padding-bottom: var(--padding-v);
}

.padding-h {
    padding-left: var(--padding-h);
    padding-right: var(--padding-h);
}

.pos-rel {
    position: relative;
    z-index: 1;
}

.overflow-hidden {
    overflow: hidden;
}

.mb-5 {
    margin-bottom: 5px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 20px;
}

.mb-60 {
    margin-bottom: 20px;
}

.long-text.inline p {
    display: inline;
    margin: 0;
}

.long-text p:not(:last-child) {
    margin-bottom: 20px;
}

.long-text h2,
.long-text h3,
.long-text h4 {
    margin-bottom: 20px;
}

.long-text h2:not(:first-child) {
    margin-top: 80px;
}

.long-text h3:not(:first-child),
.long-text h4:not(:first-child) {
    margin-top: 40px;
}

.long-text li:not(:last-child) {
    margin-bottom: 1em;
}

.long-text ul li,
ul.long-text li {
    list-style: none;
    position: relative;
}

.long-text ul li::before,
ul.long-text li::before {
    content: '';
    display: inline-block;
    height: 1.1em;
    width: 1.1em;
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(https://xn--vlt-ula.se/wp-content/uploads/2024/02/valt_pil-smal-rak.svg);
    position: absolute;
    left: -40px;
    top: 0.15em;
}

.long-text ol li::marker,
ol.long-text li::marker {
    font-weight: 700;
}

.dark-bg.long-text li::before,
.dark-bg .long-text li::before {
    filter: invert(1);
}

@media screen and (max-width: 1400px) {
    .container {
        box-sizing: border-box;
    }
}

@media screen and (min-width: 1200px) {
    .mb-40 {
        margin-bottom: 40px;
    }

    .mb-60 {
        margin-bottom: 60px;
    }
}

/* –––– QUICK SIZING –––– */
.w-narrow {
    width: min(600px, 100%);
}

.w-small {
    width: min(800px, 100%);
}

.w-wide {
    width: min(1000px, 100%);
}

/* –––– GRID & FLEX –––– */
.grid {
	display: grid;
	align-content: baseline;
}

.flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.justify-center {
    justify-content: center;
    justify-items: center;
}

.justify-start {
    justify-content: flex-start;
    justify-items: flex-start;
}

.justify-end {
    justify-content: flex-end;
    justify-items: flex-end;
}

.align-start {
    align-items: flex-start;
    align-content: flex-start;
}

.align-center {
    align-items: center;
    align-content: center !important;
}

.align-end {
    align-items: end;
}

.grid.col-2{
	grid-template-columns: 1fr;
	row-gap: var(--col-2-row-gap);
	column-gap: var(--col-2-column-gap);
}

.grid.col-2 > div {
    height: 100%;
    display: grid;
    gap: 20px;
    align-content: baseline;
}

.no-gap {
    gap: 0 !important;
}

.gap-5 {
    gap: 5px;
}

.gap-10 {
    gap: 10px;
}

.gap-20 {
    gap: 10px;
}

.gap-40,
.gap-60 {
    gap: 20px;
}

.gap-80,
.gap-100 {
    gap: 40px;
}

.span-col-2 {
    grid-column: span 1;
}

.span-col-4 {
    grid-column: span 2;
}

@media screen and (min-width: 750px) {
    .gap-20 {
        gap: 20px;
    }
    
    .gap-60,
    .gap-80,
    .gap-100 {
        gap: 40px
    }
    
    .grid.col-2 {
	    grid-template-columns: repeat(2, 1fr);
    }
    
    .grid.col-3 {
    	grid-template-columns: repeat(3, 1fr);
    }
    
    .grid.col-4 {
    	grid-template-columns: repeat(4, 1fr);
    }
    
    .span-col-2 {
        grid-column: span 2;
    }
    
    .span-col-4 {
        grid-column: span 4;
    }
    
    .grid-col-full {
        grid-row: span 2;
    }
    
    .grid-row-full {
        grid-column: span 2;
    }
}

@media screen and (min-width: 1200px) {
    .gap-40 {
        gap: 40px
    }
    
    .gap-80 {
        gap: 80px
    }
    
    .gap-100 {
        gap: 100px
    }
}

@media screen and (max-width: 749px) {
    .order-mobile-last {
        order: 99;
    }
}

/* –––– FULL WIDTH COLS –––– */
.container.full-width {
    width: 100%;
    height: 100%;
    display: grid;
}

.full-width-col {
    box-sizing: border-box;
    padding-top: var(--padding-v);
    padding-bottom: var(--padding-v);
}

.full-width-col.left {
    padding-left: var(--full-width-col-outer-side-padding);
    padding-right: var(--padding-h);
}

.full-width-col.right {
    padding-left: var(--padding-h);
    padding-right: var(--full-width-col-outer-side-padding);
}

.full-width > .img-col {
    --border-radius: 40px;
    height: 100%;
    overflow: hidden;
}

@media screen and (max-width: 999px) {
    .container.full-width {
        gap: 40px
    }
    
    .full-width > .img-col {
        order: -1;
        min-height: 300px;
    }
    
    .full-width > .content-col {
        order: 2;
        padding-top: 0;
    }
}

@media screen and (max-width: 749px) {
    .full-width > .img-col {
        min-height: 200px;
    }
}

@media screen and (min-width: 1000px) {
    .container.full-width {
        align-items: flex-start;
        grid-template-columns: 1fr 1fr;
    }
    
    .full-width > .img-col.rounded-top:nth-child(1) {
        border-radius: 0 var(--border-radius) 0 0;
    }
    
    .full-width > .img-col.rounded-bottom:nth-child(1) {
        border-radius: 0 0 var(--border-radius) 0;
    }
    
    .full-width > .img-col.rounded-both:nth-child(1) {
        border-radius: 0 var(--border-radius) var(--border-radius) 0;
    }
    
    .full-width > .img-col.rounded-top:nth-child(2) {
        border-radius: var(--border-radius) 0 0 0;
    }
    
    .full-width > .img-col.rounded-bottom:nth-child(2) {
        border-radius: 0 0 0 var(--border-radius);
    }
    
    .full-width > .img-col.rounded-both:nth-child(2) {
        border-radius: var(--border-radius) 0 0 var(--border-radius);
    }
}

/* –––– BUTTONS –––– */

a.button, button {
    transition: all 0.2s;
    font-size: 1rem;
    cursor: pointer;
    appearance: auto;
    position: relative;
}

button:not(.icon-button),
.button:not(.icon-button) {
    --button-color: var(--black-color);
    --text-color: var(--white-color);
    font-family: var(--secondary-font);
    padding: 0.6rem 2rem;
    border-radius: var(--button-border-radius);
    background: var(--button-color);
    border: solid 2px var(--button-color);
    color: var(--text-color);
    text-decoration: none;
    box-shadow: 0 0 0px transparent;
    white-space: nowrap;
}

button:not(.icon-button):hover,
.button:not(.icon-button):hover {
    --button-color: var(--black-color-hover);
    --text-color: var(--white-color);
}

.dark-bg button:not(.icon-button),
.dark-bg .button:not(.icon-button) {
    --button-color: var(--white-color);
    --text-color: var(--black-color);
}

.dark-bg button:not(.icon-button):hover,
.dark-bg .button:not(.icon-button):hover {
    --button-color: var(--white-color-hover);
    --text-color: var(--black-color);
}


button.line,
.button.line {
    background-color: transparent;
    --text-color: var(--black-color)
}

button.line:hover,
.button.line:hover {
    background-color: var(--black-color-hover);
    --text-color: var(--white-color)
}

.dark-bg button.line,
.dark-bg .button.line {
    background-color: transparent;
    --text-color: var(--white-color)
}

.dark-bg button.line:hover,
.dark-bg .button.line:hover {
    background-color: var(--white-color-hover);
    --text-color: var(--black-color)
}

button::before,
.button::before {
    content: '';
    position: absolute;
    left: -6px;
    top: -6px;
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    border: solid 2px transparent;
    border-radius: 50px;
    transition: all 0.2s;
}

button.active,
.button.active {
    cursor: unset;
    pointer-events: none;
    background: transparent !important;
    border-color: transparent !important;
    color: black !important;
}

.dark-bg button.active,
.dark-bg .button.active {
    color: white !important;
}

button.active::before,
.button.active::before {
    border-color: var(--accent-color);
}

button.icon-button {
    border: none;
    outline: none;
    background: none;
    width: 1.5rem;
    height: 1.5rem;
}

a:not(.button) {
    color: inherit;
    text-decoration: underline;
}

a.button:active {
    transform: scale(0.98);
}

button.clean {
    background: none;
    border: none;
    border-radius: var(--button-border-radius);
    outline: none;
}

@media screen and (max-width: 999px) {
    .button {
        border-width: 1px !important;
        padding: 0.5rem 1.6rem !important;
    }
}

/* –––– IMAGE SIZING –––– */
div:not(.full-width) > .img-col.pos-rel {
    border-radius: calc(var(--border-radius) * 2);
    overflow: hidden;
    min-height: 200px;
}

.wide-image {
    width: 100%;
    min-height: 250px;
    position: relative;
}

.wide-image img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    height: 100%;
    border-radius: calc( var(--border-radius) * 2 );
}

.wide-image img.contain {
    object-fit: contain;
}

.wide-image img.cover {
    object-fit: cover;
}

@media screen and (max-width: 749px) {
    div:not(.full-width) > .img-col.pos-rel {
        order: -1;
    }
}

/* –––– IMAGE POSITIONING –––– */

img.object-top {
    object-position: top
}

img.object-center {
    object-position: center
}

img.object-bottom {
    object-position: bottom
}

/* –––– OPACITY –––– */
.op-75 {
    opacity: 0.75;
}

.op-5 {
    opacity: 0.5;
}

.op-25 {
    opacity: 0.25;
}

/* –––– LINK ARROW –––– */
.link-arrow {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 15px;
    height: 15px;
    object-fit: contain;
    object-position: top right;
}

img.white {
    filter: brightness(0) invert(1);
}

.anchor-arrow {
    position: absolute;
    top: 50%;
    right: 40px;
    width: 30px;
    height: 20px;
    object-fit: contain;
    object-position: top right;
    transform: translateY(-50%);
}

@media screen and (min-width: 1000px) {
    .link-arrow {
        width: 20px;
        height: 20px;
    }
    
    .anchor-arrow {
        width: 25px;
        height: 18px;
    }
}

/* –––– IMAGES –––– */
.wide-content-img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.bg-img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: -2;
}

.bg-img.contain {
    object-fit: contain
}

.bg-img-overlay {
    background: var(--overlay-color);
    opacity: 0.27;
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.square-img,
.round-img {
    --img-size: 150px;
    height: var(--img-size);
    width: var(--img-size);
    object-fit: cover;
}

.round-img {
    border-radius: 50%;
}

.square-img {
    border-radius: calc(var(--border-radius) * 2);
}

.round-img.small,
.square-img.small {
    --img-size: 80px;
}

.round-img.medium,
.square-img.medium {
    --img-size: 100px;
}

.round-img.big,
.square-img.big {
    --img-size: 140px;
}

@media screen and (min-width: 750px) {
    .round-img.small,
    .square-img.small {
        --img-size: 120px;
    }
    
    .round-img.medium,
    .square-img.medium {
        --img-size: 200px;
    }
    
    .round-img.big,
    .square-img.big {
        --img-size: 250px;
    }
}

/* –––– CONTENT COL –––– */
.content-col {
    display: grid;
    gap: 20px;
}

/* –––– PARALLAX –––– */
.parallax {
    --translate-y: 0px;
    transform: translateY(var(--translate-y)) scale(1.1);
    transform-origin: bottom center;
    transition: 0.05s all;
}

/* –––– HERO VIDEO –––– */
.hero-video {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* –––– PRODUCT GRID –––– */
.product-grid, .card-grid {
    display: grid;
    gap: 20px;
}

@media screen and (min-width: 1000px) {
    .product-grid, .card-grid {
        grid-template-columns: repeat(4, 1fr);
        row-gap: 40px;
    }
}

@media screen and (min-width: 1200px) {
    .product-grid, .card-grid {
        column-gap: 40px;
    }
}

/* –––– PRODUCT CARD –––– */
.card {
    display: grid;
    grid-template-rows: 200px auto;
    background: var(--white-color);
    border-radius: calc( var(--border-radius) * 2 );
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.4s;
    box-shadow: 0 10px 20px transparent
}

.card:hover {
    box-shadow: 0 10px 20px rgb(0,0,0,.2)
}

.card > .card-upper {
    padding: 10px 10px 0 10px;
    box-sizing: border-box;
        
}

.card > .card-upper > .card-img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.4s;
    opacity: 0.9;
    transform-origin: bottom center;
}

.card:hover > .card-upper > .card-img-wrapper,
.card:focus > .card-upper > .card-img-wrapper {
    transform: scale(1.25);
    opacity: 1;
}

.card > .card-upper > .card-img-wrapper::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--black-color);
    z-index: 1;
    opacity: 0.15;
    transition: opacity 0.4s;
}

.card:hover > .card-upper > .card-img-wrapper::after,
.card:focus > .card-upper > .card-img-wrapper::after {
    opacity: 0
}

.card > .card-upper > .card-img-wrapper > .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.35);
    transition: transform 0.4s
}

.card:hover > .card-upper > .card-img-wrapper > .card-img,
.card:focus > .card-upper > .card-img-wrapper > .card-img {
    transform: scale(1);
}

.card > .card-lower {
    padding: 20px;
    display: grid;
    gap: 0.5em;
    align-content: flex-start;
}

.card > .card-lower > .card-meta {
    margin-top: 5px;
    display: flex;
    column-gap: 1em;
    row-gap: 0.5em;
    flex-wrap: wrap;
}

.card > .card-lower > .card-meta > .card-attribute {
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
    align-items: center;
}

.card > .card-lower > .card-meta > .card-attribute img {
    width: 1em;
    height: 1em;
}

.card .card-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card > .card-lower .card-description {
    opacity: 0.6;
    word-break: break-word;
}

/* ANIMATED ARROW LOTTIE */
.animated-arrow {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 20px;
    height: 20px;
    z-index: 3;
}

.animated-arrow.white {
    filter: invert(1);
}

/* –––– FAQ –––– */
.faq-wrapper {
    display: grid;
}

.faq-item {
    border-bottom: dashed 1px var(--accent-color);
}

.dark-bg .faq-item {
    border-color: var(--white-color);
}

.faq-item > .question {
    padding: 20px 60px 20px 0px;
    display: block;
    box-sizing: border-box;
    text-decoration: none;
    cursor: pointer;
    position: relative
}

.faq-item > .question::after {
    content: '';
    width: 1.5em;
    height: 1.5em;
    position: absolute;
    right: 1em;
    top: 20px;
    background: url(https://xn--vlt-ula.se/wp-content/uploads/2024/02/valt_chevron.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.dark-bg .faq-item > .question::after {
    filter: invert(1);
}

.faq-item.open > .question::after {
    transform: scaleY(-1)
}

.faq-item > .answer {
    max-height: 0;
    padding: 0;
    opacity: 0;
    transition: opacity 0.6s;
    overflow: hidden;
}

.faq-item.open > .answer {
    max-height: 300px;
    padding-bottom: 20px;
    opacity: 1;
}

/* CAROUSEL NAVIGATION */
.carousel {
    --visible-count: 2;
    --item-gap: 40px;
    --total-item-gap: calc(40px * (var(--visible-count) - 1));
    width: 100%;
    padding-top: 500px;
    position: relative;
}

.carousel > .carousel-item {
    --item-width: calc((100% - var(--total-item-gap)) / var(--visible-count));
    width: var(--item-width);
    position: absolute;
    left: calc((var(--item-width) + var(--item-gap)) * (var(--index) - 1));
    top: 0;
}

.carousel > .carousel-item:not(.current) {
    opacity: 0;
    visibility: hidden;
}

button.carousel-navigation {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    padding: 0;
    position: absolute;
    bottom: 0;
    background: white;
    border-color: white;
    background-image: url('https://xn--vlt-ula.se/wp-content/uploads/2024/02/valt_pil-smal-rak.svg');
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat;
    filter: invert(1)
}

.dark-bg button.carousel-navigation {
    filter: invert(0)
}

button.carousel-navigation:hover {
    opacity: 0.7
}

button.carousel-navigation.previous {
    right: calc(50% + 20px);
    transform: rotate(180deg)
}

button.carousel-navigation.next {
    left: calc(50% + 20px);
}

@media screen and (max-width: 749px) {
    .carousel {
        padding-top: 460px;
    }
}

/* GRADIENT OVERLAY */

.bg-tint {
    --tint-color: black;
    --tint-opacity: 0.6;
    opacity: var(--tint-opacity);
    background: var(--tint-color);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.bg-tint.green {
    --tint-color: #051103;
    --tint-opacity: 0.76;
}

.bg-tint ~ .container {
    z-index: 1;
}

/* SECTION TITLE */
.section-title-wrapper {
    display: grid;
    width: 100%;
}

.section-title-wrapper.title-left {
    justify-content: flex-start;
}

.section-title-wrapper.title-center {
    justify-content: center;
    text-align: center;
}

.section-title-wrapper.title-right {
    justify-content: flex-end;
}

.section-title-wrapper .title {
    margin-bottom: 0.25em;
}

div.divider {
    width: 100%;
    height: 1px;
    background: var(--text-color);
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
}

div.divider.triggered,
.triggered div.divider {
    animation: divider-slide 1.5s 0.2s var(--cubic-bezier) forwards;
}

@keyframes divider-slide {
    from {
        clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
    }
    
    to {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }
}

/* REGULAR POSTS */

.posts {
    position: relative;
    padding: 0;
    margin: 0;
    list-style: none;
    display: grid;
    gap: 20px;
    height: 100%;
    opacity: 0;
    animation: fade-in 1.5s forwards;
}

.posts::after {
    content: '';
    position: absolute;
    left: -5px;
    top: -5px;
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    background: white;
    opacity: 0;
    visibility: hidden;
    border-radius: calc(var(--border-radius) * 2);
    transition: all 0.2s;
}

.loading .posts::after {
    visibility: visible;
    opacity: 0.5;
}

.post-item > a {
    border-radius: calc( var(--border-radius) * 2);
    display: grid;
    color: black;
    background: white;
    padding: 7px;
    text-decoration: none;
}

.post-item.small > a {
    grid-template-rows: 120px auto
}

.post-item.small .post-left {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    transform-origin: bottom center;
    opacity: 0.9;
    transition: all 0.4s;
}

.post-item.small:hover .post-left {
    transform: scale(1.1);
    opacity: 1
}

.post-item.small .post-left > img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.35);
    transition: transform 0.4s;
    z-index: -1;
    background: white;
}

.post-item.small:hover .post-left > img {
    transform: scale(1);
}

.post-item.small .post-left > .bg-tint {
    opacity: 1;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
}

.post-item.small .post-left > .animated-arrow {
    top: 10px;
    right: 10px;
    width: 15px;
    height: 15px;
}

.post-item.small .post-right {
    display: grid;
    align-content: baseline;
    gap: 10px;
    padding: 10px 10px;
}

.post-item.small .post-right > .post-meta {
    font-weight: 300;
    letter-spacing: 0.5px;
    color: grey;
}

.post-item.small .post-right > .post-meta > .post-date {
    text-align: end;
}

.post-item.small .post-right > .post-meta > .divider {
    display: none;
    width: 50% !important;
    grid-column: span 2;
    background: black;
}

.post-item.small .post-right > .post-content {
    display: grid;
    gap: 3px;
}

.posts .button {
    margin-top: 20px;
    text-align: center;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media screen and (min-width: 750px) {
    .post-item.small > a {
        grid-template-columns: 150px 1fr;
        grid-template-rows: unset;
        min-height: 130px;
    }
    
    .post-item.small .post-left {
        transform-origin: center right;
    }
    
    .post-item.small:hover .post-left {
        transform: scale(1.25);
    }
    
    .post-item.small .post-right {
        padding: 10px 20px;
    }
}

.post-item.big .post-left .post-category {
    position: absolute;
    left: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
    background: rgb(230,240,230);
    color: black;
    padding: 2px 5px;
    border-radius: calc(var(--border-radius) / 2);
}

/* POST CATEGORY BUTTONS */
#category-buttons-wrapper {
    flex-wrap: wrap;
}

/* PAGINATION */
.posts-wrapper .pagination {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.pagination > li > a {
    padding: 0 !important;
    width: 2.5em;
    height: 2.5em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination > li.active > a {
    background: rgb(190,190,190) !important;
    border-color: rgb(190,190,190) !important;
    color: black !important;
    cursor: unset;
    pointer-events: none;
}

/* FORMS */
form {
    width: min(500px, 100%);
    display: grid;
    gap: 20px;
}

form .form-row {
    display: grid;
    gap: 10px;
}

form .form-row.no-gap {
    gap: 0
}

form .form-row.col-2 {
    grid-template-columns: 1fr 1fr;
}

form input.conditional {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    atransition: opacity 0.3s, visibility 0.3s !important;
}

form input.conditional:not(.active) {
    padding: 0;
}

form input.conditional.active {
    opacity: 1;
    visibility: visible;
    max-height: 50px;
}

form .radio-wrapper > input {
    width: 0;
    opacity: 0;
    display: none;
}

form .radio-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

form .radio-wrapper > label {
    padding: 0.75em 1.25em;
    font-size: var(--fs-1);
    border-radius: var(--border-radius);
    cursor: pointer;
    border: solid 2px transparent;
    color: black;
    background: rgb(255,255,255,.9);
    transition: all 0.1s;
}

form .radio-wrapper > label:hover {
    background: rgb(255,255,255,.5);
}


form .radio-wrapper > input:checked + label {
    background: rgb(0,0,0,0.025);
    border-color: black;
}

.dark-bg form .radio-wrapper > label {
    border: solid 1px rgb(255,255,255,.05);
    color: white;
    background: #475a41;
    transition: all 0.1s;
}

.dark-bg form .radio-wrapper > label:hover {
    background: rgb(255,255,255,.1);
}


.dark-bg form .radio-wrapper > input:checked + label {
    background: rgb(255,255,255,.075);
    border-color: white;
}

form input[type="number"],
form input[type="text"],
form input[type="tel"],
form input[type="email"],
form textarea {
    outline: none;
    font-family: var(--primary-font);
    font-size: var(--fs-1);
    padding: 1em 1.25em;
    width: 100%;
    min-height: 1em;
    background: var(--white-color);
    border: solid 2px transparent;
    border-radius: var(--border-radius);
    transition: all 0.1s;
    box-sizing: border-box;
}

form input[type="number"]:focus,
form input[type="text"]:focus,
form input[type="tel"]:focus,
form input[type="email"]:focus,
form textarea:focus {
    background: rgb(255,255,255,.5);
    border-color: grey;
}

.dark-bg form input[type="number"],
.dark-bg form input[type="text"],
.dark-bg form input[type="tel"],
.dark-bg form input[type="email"],
.dark-bg form textarea {
    background-color: #475a41;
    color: white;
}

.dark-bg form input[type="number"]::placeholder,
.dark-bg form input[type="number"]::-webkit-input-placeholder,
.dark-bg form input[type="text"]::placeholder,
.dark-bg form input[type="text"]::-webkit-input-placeholder,
.dark-bg form input[type="tel"]::placeholder,
.dark-bg form input[type="tel"]::-webkit-input-placeholder,
.dark-bg form input[type="email"]::placeholder,
.dark-bg form input[type="email"]::-webkit-input-placeholder,
.dark-bg form textarea::placeholder,
.dark-bg form textarea::-webkit-input-placeholder {
    color: white !important;
    opacity: 0.8 !important;
}

.dark-bg form input[type="number"]:focus,
.dark-bg form input[type="text"]:focus,
.dark-bg form input[type="tel"]:focus,
.dark-bg form input[type="email"]:focus,
.dark-bg form textarea:focus {
    background: rgb(255,255,255,.25);
    border-color: white;
}

form label.checkbox {
    display: grid;
    grid-template-columns: 20px auto;
    gap: 0.5em;
    text-align: left !important;
}

form input[type="checkbox"] {
    filter: saturate(0);
}

form .consent-field {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 10px;
    align-content: flex-start;
    align-items: flex-start;
}

form .consent-field > input[type="checkbox"] {
    margin-top: 0.35em;
}

form .consent-field label {
    text-align: left !important
}

/* CTA SECTION */
#cta .employee-wrapper {
    display: grid;
    grid-template-columns: auto auto;
    gap: 20px;
}

#cta .employee-wrapper img {
    width: 200px;
    height: auto;
    border-radius: calc(var(--border-radius) * 2);
    object-fit: contain;
    object-position: bottom center;
}

#cta #customer-type-row > input.conditional.active {
    margin-top: 20px;
}

#cta button[type="submit"] {
    margin-top: 20px;
}

@media screen and (max-width: 749px) {
    #cta {
        text-align: center;
    }
    
    #cta .employee-wrapper {
        text-align: left;
        justify-content: center;
    }
    
    #cta .employee-wrapper img {
        width: 100px;
    }
    
    #cta > .container {
        justify-content: center;
        justify-items: center
    }
}

/* YOUTUBE VIDEO */
.video-placeholder-wrapper {
    display: flex;
    align-items: flex-end;
    align-content: flex-end;
    justify-content: center;
    padding: 0 20px;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
}

.video-placeholder {
    height: 100%;
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    object-position: center;
}

.youtube-play-button {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 40%;
    max-height: 40%;
    object-fit: contain;
    filter: drop-shadow(0 0 7px rgb(0,0,0,0.3));
    transition: all 0.3s;
    opacity: 0.85;
}

.video-placeholder-wrapper:hover .youtube-play-button {
    transform: translate(-50%, -50%) scale(1.05);
    filter: drop-shadow(0 0 7px rgb(0,0,0,0.6));
    opacity: 0.95;
}

.video-placeholder-wrapper:active .youtube-play-button,
.video-placeholder-wrapper:focus .youtube-play-button {
    transform: translate(-50%, -50%) scale(0.99);
    filter: drop-shadow(0 0 3px rgb(0,0,0,0.6));
    opacity: 1;
}

@media screen and (max-width: 749px) {
    #youtube-video > iframe {
        width: 100%;
        height: auto;
    }
}

/* TITLE UNDERLINE */
.title-underline {
    width: 100%;
    height: 2px;
    margin-bottom: 1rem;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.title-underline::before {
    content: '';
    position: absolute;
    left: -200%;
    top: 0;
    display: block;
    width: 300%;
    height: 100%;
    background: linear-gradient(90deg, var(--blue-color) 34%, var(--black-color) 40%);
}

.triggered.title-underline::before,
.triggered .title-underline::before {
    animation: fade-in-underline 1s 0.2s forwards;
}

.title-underline.alternate::before {
    background: linear-gradient(90deg, var(--pink-color) 34%, var(--black-color) 40%);
}

@keyframes fade-in-underline {
    from {
        left: -200%;
    }
    to {
        left: 0;
    }
}

@media screen and (min-width: 1000px) {
    .title-underline {
        width: 80%;
    }
}

/* FADE IN ANIMATION */
.fade-in-a {
    --order: 0;
    opacity: 0;
    transition: 1.5s opacity;
    transition-delay: calc(var(--order) * 150ms + var(--transition-delay));
}

.fade-in-a.triggered,
.triggered .fade-in-a {
    opacity: 1;
}

/* SLIDE UP ANIMATION */
.slide-up-a {
    overflow: hidden;
}

.slide-up-a > p,
.slide-up-a > span {
    transform: translateY(110%);
    transition: 1.5s transform var(--cubic-bezier);
    transition-delay: var(--transition-delay);
    display: inline-block;
}

.slide-up-a.triggered > p,
.slide-up-a.triggered > span,
.triggered .slide-up-a > p,
.triggered .slide-up-a > span {
    transform: translateY(0);
}

/* SLIDE RIGHT ANIMATION */
.slide-right-a {
    transition: 1.5s transform var(--cubic-bezier);
    transform: translateX(-100%);
}

.slide-right-a.triggered,
.triggered .slide-right-a {
    transform: translateX(0);
}


/* –––– FADE IN ANIMATIONS –––– */

.fade-in-up {
    --distance: 10px;
    --index: 0;
    --animation-delay: calc( var(--index) * 0.2s + var(--transition-delay));
    opacity: 0 ;
    transform: translateY(10px);
}

.fade-in-up.d-50 {
    --distance: 50px;
}

#hero-container .fade-in-up,
.triggered .fade-in-up,
.triggered.fade-in-up {
    animation: fade-in-up 1s var(--animation-delay) var(--cubic-bezier) forwards;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(var(--distance));
    }
    
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-down {
    --distance: -10px;
    --index: 0;
    --animation-delay: calc( var(--index) * 0.2s + var(--initial-delay));
    opacity: 0 ;
    transform: translateY(-10px);
}

.fade-in-down.d-50 {
    --distance: -50px;
}

#hero-container .fade-in-down,
.triggered .fade-in-down,
.triggered.fade-in-down {
    animation: fade-in-down 1s var(--animation-delay) var(--cubic-bezier) forwards;
}

@keyframes fade-in-down {
    from {
        opacity: 0;
        transform: translateY(var(--distance));
    }
    
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    --index: 0;
    --animation-delay: calc( var(--index) * 0.2s + var(--transition-delay));
    opacity: 0;
}

#hero-container .fade-in,
.triggered .fade-in,
.triggered.fade-in {
    animation: fade-in 1.5s var(--animation-delay) var(--cubic-bezier) forwards;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    
    to {
        opacity: 1;
    }
}

/* QUOTE BLOCK */
.quote-block {
    position: relative;
    padding-left: 30px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.quote-block::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 100%;
    background: var(--black-color);
    opacity: 0.5;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 1.5s var(--cubic-bezier);
    transition-delay: 0.2s;
}

.dark-bg .quote-block::before {
    background: var(--white-color);
}

.triggered .quote-block::before {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

@media screen and (min-width: 750px) {
    .quote-block {
        padding-left: 40px;
        margin-bottom: 40px;
    }
}

/* –––– HEADER SCROLLBAR –––– */
@media screen and (min-width: 1000px) {
    .header-scrollbar {
        width: 100%;
        display: flex;
        align-items: center;
        padding: 0 60px;
        box-sizing: border-box;
    }
    
    
    .header-scrollbar > .scrollbar {
        position: relative;
        height: 2px;
        width: 100%;
        background: rgb(0,0,0,var(--scroll-amount));
    }
    
    .header-scrollbar > .scrollbar::after{
        content: '';
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        width: var(--scroll-amount);
        height: 100%;
        background: var(--accent-color);
    }
}

/* CLOSE MODALS */
#close-modals-overlay {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--black-color);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    cursor: pointer;
}

.show-modals-overlay #close-modals-overlay {
    visibility: visible;
    opacity: 0.6;
}

/* ROUND ICONS */
.round-icon-shape {
    --wrapper-size: 100px;
    width: var(--wrapper-size);
    height: var(--wrapper-size);
    padding: 0;
    box-sizing: border-box;
    border-radius: 50%;
    border: solid 1px rgb(0,0,0,0.2);
    overflow: hidden;
}

.dark-bg .round-icon-shape {
    filter: invert(1);
}

.round-icon-shape.small {
    --wrapper-size: 40px;
    --icon-padding: 5px;
}

.round-icon-shape.medium {
    --wrapper-size: 60px;
    --icon-padding: 10px;
}

.round-icon-shape.big {
    --wrapper-size: 80px;
    --icon-padding: 15px;
}

.round-icon-shape.biggest {
    --wrapper-size: 120px;
    --icon-padding: 18px;
}

.round-icon-wrapper img {
    width: 100%;
    height: 100%;
    padding: var(--icon-padding);
    object-fit: contain;
    object-position: center;
    box-sizing: border-box;
    filter: brightness(0);
}

@media screen and (min-width: 750px) {
    .round-icon-shape.small {
        --wrapper-size: 60px;
        --icon-padding: 10px;
    }
    
    .round-icon-shape.medium {
        --wrapper-size: 90px;
        --icon-padding: 15px;
    }
    
    .round-icon-shape.big {
        --wrapper-size: 120px;
        --icon-padding: 25px;
    }
    
    .round-icon-shape.biggest {
        --wrapper-size: 200px;
        --icon-padding: 28px;
    }
}

/* FORM MESSAGES */
.form-message {
    position: relative;
    padding-left: 40px;
    font-weight: 300;
}

#fast-form .form-message {
    grid-column: span 2;
}

.form-message::before {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 1em;
    margin-top: 0.3em;
    background-position: top left;
    background-size: contain;
    background-repeat: no-repeat;
}

.form-message.success::before {
    content: '';
    background-image: url('https://techtell.se/wp-content/uploads/techtell_check.png');
}

.form-message.failed::before {
    content: '';
    background-image: url('https://techtell.se/wp-content/uploads/techtell_cross.png');
    filter: invert(1) brightness(0.7)
}

input.missing {
    border: solid 2px var(--black-color) !important;
}

/* COOKIEBOT COOKIE CONSENT */
#CybotCookiebotDialog button::before {
    display: none !important;
}

/*
#CybotCookiebotDialogBodyButtonsWrapper {
    gap: 10px !important
}

.CybotCookiebotDialogBodyButton:not(#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll) {
    background: transparent !important;
    color: white !important;
    border: none !important;
}

#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll {
    color: black !important;
    border-radius: 100px !important;
}
*/

/* –––– CTA TILES –––– */
.cta-tile {
    padding: 15px 60px 15px 15px;
    box-sizing: border-box;
    border-radius: calc(var(--border-radius) * 2);
    box-shadow: 0 0 30px rgb(0,0,0,.05);
    display: grid;
    align-items: center;
    grid-template-columns: 90px 1fr;
    text-decoration: none !important;
    gap: 30px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    color: black !important;
}

.cta-tile::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--bright-bg-3);
    transition: 0.2s all;
    z-index: -1;
}

.cta-tile:hover::before {
    background: var(--bright-bg-1);
}

.cta-tile::after {
    content: '>';
    position: absolute;
    font-size: 20px;
    right: 20px;
    top: 50%;
    transform: translateY(-50%) scaleY(2.5);
}

.cta-tile.no-reviews {
    grid-template-columns: 90px 1fr;
}

.cta-tile img {
    width: 100%;
    height: 56px;
}

.cta-tile img.cover,
.cta-tile.no-reviews img {
    object-fit: cover !important;
    border-radius: var(--border-radius);
}

.cta-tile img.contain {
    object-fit: contain;
}

.cta-tile-info {
    column-gap: 20px;
    row-gap: 2px;
}

.cta-tile-info .cta-tile-quick-info {
    grid-column: span 2;
}

.cta-tile-quick-info span:not(:last-child)::after {
    content: ' | ';
}

.cta-tile-quick-info strong {
    font-weight: 500;
}

@media screen and (max-width: 749px) {
    .cta-tile {
        grid-template-columns: 70px 1fr;
        gap: 20px;
    }
    
    .cta-tile img {
        height: 44px;
    }

    .cta-tile-info .cta-tile-quick-info {
        display: grid;
        grid-column: span 1;
    }

    .cta-tile-quick-info span:not(:last-child)::after {
        content: '';
    }
}