/*
Theme Name: VISIO
Description: WordPress téma pre VISIO systems.
Author: Marketingova agentura UNIQINO
Author URI: https://uniqino.sk/
Text Domain: visio
Version: 1.0
*/

:root {
    --tp-theme-color: #161a31;
    --tp-secoundery-color: #aef1db;
    --tp-orange-color: #161a31;
    --tp-body-color: #404038;
    --tp-white-color: #FFFFFF;
    --tp-gray-color: #F5F5F5;
}

img {
    max-width: 100%;
    height:auto;
}

/* 404 */
.tp-error-area {
    display: flex;
    align-items: center;
    min-height: calc(100svh - 110px);
    padding: 160px 0 120px;
}

.tp-error-content {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.tp-error-title {
    margin: 0;
    color: var(--tp-theme-color);
    font-size: clamp(44px, 6.5vw, 92px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.tp-error-actions {
    display: flex;
    justify-content: center;
    margin-top: 42px;
}

@media (max-width: 767px) {
    .tp-error-area {
        min-height: calc(100svh - 70px);
        padding: 110px 0 80px;
    }

    .tp-error-title {
        font-size: clamp(38px, 12vw, 58px);
        letter-spacing: -0.035em;
    }

    .tp-error-actions {
        margin-top: 30px;
    }
}

video,
iframe {
    max-width: 100%;
}

/* HEADER */

.tp-breadcrumb-menu:before {
    display: none;
}

/*
 * Breadcrumbs remain in the server-rendered HTML for SEO, but do not compete
 * with the main hero title. Fine-pointer devices reveal them on hero hover.
 */
.tp-breadcrumb-menu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition:
            opacity .25s ease,
            transform .25s ease,
            visibility 0s linear .25s;
}

@media (hover: hover) and (pointer: fine) {
    .tp-breadcrumb-area:hover .tp-breadcrumb-menu,
    .tp-breadcrumb-area:focus-within .tp-breadcrumb-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        transition-delay: 0s;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tp-breadcrumb-menu {
        transition: none;
    }
}

.tp-header-wrap {
    padding:0;
}

.header-sticky.sticky-black {
    background-color: var(--tp-theme-color);
}
.sticky-black.header-sticky .tp-header-wrap {
    padding:0;
}

.header-sticky .tp-header-wrap {
    padding:0 30px;
}

.tp-header-mobile-actions {
    display: none;
}

.tp-header-client-zone {
    position: relative;
    flex: 0 0 auto;
    align-items: center;
    margin-right: 18px;
}

.tp-header-client-zone__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--tp-theme-color);
    font-weight: 600;
    white-space: nowrap;
}

.tp-header-client-zone__icon {
    display: inline-flex;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    color: var(--tp-theme-color);
    background: transparent;
    border: 1px solid var(--tp-theme-color);
    border-radius: 50%;

    transition:
            color .25s ease,
            background-color .25s ease,
            border-color .25s ease,
            transform .25s ease;
}

.tp-header-client-zone__icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tp-header-client-zone__link:hover,
.tp-header-client-zone__link:focus-visible {
    color: var(--tp-theme-color);
}

.tp-header-client-zone__link:hover .tp-header-client-zone__icon,
.tp-header-client-zone__link:focus-visible .tp-header-client-zone__icon {
    color: var(--tp-white-color);
    background: var(--tp-theme-color);
    border-color: var(--tp-theme-color);
}

.tp-header-transparent .tp-header-client-zone__link {
    color: var(--tp-white-color);
}

.tp-header-transparent .tp-header-client-zone__icon {
    color: var(--tp-white-color);
    border-color: rgba(255, 255, 255, .9);
}

.tp-header-transparent
.tp-header-client-zone__link:hover
.tp-header-client-zone__icon,
.tp-header-transparent
.tp-header-client-zone__link:focus-visible
.tp-header-client-zone__icon {
    color: var(--tp-white-color);
    background: var(--tp-theme-color);
    border-color: var(--tp-theme-color);
}

@media (max-width: 1799px) {
    .tp-header-client-zone__label {
        position: absolute;
        top: calc(100% + 8px);
        left: 50%;
        z-index: 5;

        width: max-content;
        height: auto;
        padding: 6px 10px;
        margin: 0;

        color: var(--tp-white-color);
        font-size: 12px;
        line-height: 1.2;
        white-space: nowrap;
        border: 0;
        border-radius: 8px;
        background: var(--tp-theme-color);

        opacity: 0;
        visibility: hidden;
        transform: translate(-50%, -4px);
        pointer-events: none;

        transition:
                opacity .2s ease,
                visibility .2s ease,
                transform .2s ease;
    }

    .tp-header-client-zone__link:hover
    .tp-header-client-zone__label,
    .tp-header-client-zone__link:focus-visible
    .tp-header-client-zone__label {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
    }
}

@media (max-width: 1399px) {
    .tp-header-logo-column {
        flex: 1 1 auto;
        width: auto;
        max-width: none;
    }

    .tp-header-menu-column {
        flex: 0 0 0;
        width: 0;
        max-width: 0;
        overflow: hidden;
    }

    .tp-header-actions-column {
        flex: 0 0 auto;
        width: auto;
        max-width: none;
    }

    .tp-header-cta,
    .tp-header-mobile-actions {
        gap: 8px;
    }

    .tp-header-mobile-actions {
        display: flex;
        align-items: center;
    }

    .tp-header-mobile-action {
        display: inline-flex;
        flex: 0 0 44px;
        align-items: center;
        justify-content: center;

        width: 44px;
        height: 44px;

        color: var(--tp-theme-color);
        background: var(--tp-gray-color);
        border: 1px solid transparent;
        border-radius: 50%;

        transition:
                color .25s ease,
                background-color .25s ease,
                border-color .25s ease,
                transform .25s ease;
    }

    .tp-header-mobile-action:hover,
    .tp-header-mobile-action:focus-visible {
        color: var(--tp-theme-color);
        background: var(--tp-secoundery-color);
        border-color: var(--tp-secoundery-color);
        transform: translateY(-2px);
    }

    .tp-header-mobile-action svg {
        width: 20px;
        height: 20px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .tp-header-transparent .tp-header-mobile-action {
        color: var(--tp-white-color);
        background: transparent;
        border-color: rgba(255, 255, 255, .9);
    }

    .tp-header-transparent .tp-header-mobile-action:hover,
    .tp-header-transparent .tp-header-mobile-action:focus-visible {
        color: var(--tp-theme-color);
        background: var(--tp-secoundery-color);
        border-color: var(--tp-secoundery-color);
    }

    .tp-header-bar .header-sidebar-btn {
        margin-left: 0 !important;
    }
}

@media (max-width: 374px) {
    .tp-header-cta,
    .tp-header-mobile-actions {
        gap: 5px;
    }

    .tp-header-mobile-action {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }

    .tp-header-mobile-action svg {
        width: 18px;
        height: 18px;
    }

    .tp-header-bar .header-sidebar-btn {
        width: 40px;
        min-width: 40px;
        height: 40px;
        min-height: 40px;
    }
}

.tp-breadcrumb-area {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.tp-breadcrumb-video {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.tp-breadcrumb-video iframe {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 177.78%;
    height: 100%;

    min-width: 100%;
    min-height: 56.25vw;

    transform: translate(-50%, -50%);
    pointer-events: none;
}

.tp-breadcrumb-native-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
    pointer-events: none;
}

/* Keep background YouTube players in a true 16:9 cover box. */
.tp-breadcrumb-video iframe,
.vi-ref .tp-hero-youtube-bg {
    width: max(100vw, 177.78vh);
    height: max(56.25vw, 100vh);
    min-width: 0;
    min-height: 0;
    max-width: none;
    max-height: none;
}

@supports (width: 1cqw) {
    .tp-breadcrumb-video {
        container-type: size;
    }

    .tp-breadcrumb-video iframe {
        width: max(100cqw, 177.78cqh);
        height: max(56.25cqw, 100cqh);
    }
}

.tp-breadcrumb-area::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(0, 0, 0, 0.45);
}

.tp-breadcrumb-area > .container {
    position: relative;
    z-index: 2;
}

.hd_video .tp-breadcrumb {
    min-height: 60vh;
}


.hd_base .tp-breadcrumb {
    min-height: 350px;
}

.hd_img .tp-breadcrumb {
    min-height: 60vh;
}

.tp-breadcrumb-area.full-height  .tp-breadcrumb {
    min-height: 80vh !important;
}

.tp-breadcrumb-area.tp-breadcrumb-compact,
.tp-breadcrumb-area.tp-breadcrumb-compact .tp-breadcrumb {
    min-height: 460px !important;
}

.tp-breadcrumb-area.tp-breadcrumb-compact.hd_base,
.tp-breadcrumb-area.tp-breadcrumb-compact.hd_base .tp-breadcrumb {
    min-height: 300px !important;
}

.tp-breadcrumb-area.tp-breadcrumb-compact.tp-breadcrumb-length-medium,
.tp-breadcrumb-area.tp-breadcrumb-compact.tp-breadcrumb-length-medium .tp-breadcrumb {
    min-height: 500px !important;
}

.tp-breadcrumb-area.tp-breadcrumb-compact.tp-breadcrumb-length-long,
.tp-breadcrumb-area.tp-breadcrumb-compact.tp-breadcrumb-length-long .tp-breadcrumb {
    min-height: 560px !important;
}

.tp-breadcrumb-area.tp-breadcrumb-compact.tp-breadcrumb-length-xlong,
.tp-breadcrumb-area.tp-breadcrumb-compact.tp-breadcrumb-length-xlong .tp-breadcrumb {
    min-height: 640px !important;
}

.tp-breadcrumb-more {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    width: 45%;
}

.tp-breadcrumb-more-btns {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.tp-breadcrumb-more-btns .tp-btn-border {
    margin-left: 0;
}

.tp-breadcrumb-more-btns .tp-btn-border {
    border-color: #fff;
    color:#fff;
}

.tp-breadcrumb-more-btns .tp-btn-border .tp-btn-icon {
    color:var(--tp-theme-color);
}

.tp-breadcrumb-more-btns .tp-btn-border .tp-btn-icon:before {
    background-color: #fff;
}

    /* BLOG */

.attachment-visio-blog {
    min-width: 100%;
}

.tprecentpost__thumb img {
    transition: all 0.2s ease-in-out;
}

.tp-btn.filter {
    padding: 8px 25px 8px 25px;
    background-color: transparent;
}

.tp-btn.filter:hover,
.tp-btn.filter.active {
    background-color: var(--tp-theme-color);
    color:#fff;
}

.tp-post-filter {
    margin-top:50px;
    margin-bottom:50px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.tp-post-filter .filter {
    flex: 0 0 auto;
}

.visio-mobile-filter {
    display: none;
}


.tp-postbox-comments-form-wrap {
    padding:35px;
    border-radius: 20px;
    background-color: var(--tp-gray-color);

}



/* BBREADCRUMB */

.rank-math-breadcrumb p {
    margin:0;
    padding:0 0.2rem;
}

.rank-math-breadcrumb p .separator {
    margin:0 .75rem;
}

.rank-math-breadcrumb p a {
    color:#fff;
}

.rank-math-breadcrumb p a:hover {
    color:var(--tp-secoundery-color);
}

.vi-ref  .rank-math-breadcrumb p span {
    color:#fff;
}


.vi-ref .tp-hero-video-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.vi-ref .tp-hero-youtube-bg {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 100vw;
    height: 56.25vw;

    min-width: 177.78vh;
    min-height: 100vh;

    border: 0;
    pointer-events: none;

    transform: translate(-50%, -50%);
}

.vi-ref .tp-hero-native-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
    pointer-events: none;
}

/*
 * The reference hero can be taller than the viewport. Container units keep
 * the 16:9 YouTube iframe in cover mode against the hero itself, so no empty
 * strip appears above or below the video.
 */
@supports (width: 1cqw) {
    .vi-ref .tp-hero-video-bg {
        container-type: size;
    }

    .vi-ref .tp-hero-youtube-bg {
        width: max(100cqw, 177.78cqh);
        height: max(56.25cqw, 100cqh);
        min-width: 0;
        min-height: 0;
    }
}

.vi-ref .tp-hero-image-bg {
    position: absolute;
    inset: 0;

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.vi-ref .tp-hero-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
            linear-gradient(
                    90deg,
                    rgba(22, 26, 49, 0.78) 0%,
                    rgba(22, 26, 49, 0.45) 48%,
                    rgba(22, 26, 49, 0.18) 100%
            );

    pointer-events: none;
}

.vi-ref .container,
.vi-ref .tp-hero-solid-fact {

    z-index: 2;
}

.vi-ref .tp-hero-mobile-stack {
    display: contents;
}

.tp-contect.center {
    display: flex;
    justify-content: center;
}

.tp-contect .tp-btn.white {
    background-color: #fff;
}

    /* FONTS */

.tp-breadcrumb-title {
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.08;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

/* PAGINATION */

.tp-pagination .tp-btn {
    padding:8px 25px;
}

/* contact */

input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="search"], input[type="url"], textarea, .nice-select {
    background-color: #fff;
}

/* REF */

.vi-ref .tpfunfect2 {
    padding: 22px 30px;
    min-width: unset;
}

.vi-ref .tpfeature {
    min-height: 140px;
    background-color: var(--tp-gray-color);
}

.tp-project-details-area .rank-math-breadcrumb p a,
.tp-project-details-area .tp-breadcrumb-menu span {
    color:var(--tp-theme-color)
}

.tp-project-spacing {
    padding-top: 180px;
}

.tpproject__meta {
    height: 35%;
}

.tpproject__thumb .tp-about-video-main {
    position: absolute;
    width: auto;
    right: 1rem;
    top: 1rem;
}

/* Archive and taxonomy cards always use one consistent 4:3 thumbnail box. */
.js-reference-grid .tpproject__thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
}

.js-reference-grid .tpproject__thumb > a {
    display: block;
    width: 100%;
    height: 100%;
}

.js-reference-grid .tpproject__thumb > a > img {
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

.tp-project-video-filter {
    text-wrap: nowrap;
}
.tp-project-video-filter span {
    margin: 0 1rem;
}


.reference-grid-wrap {
    position: relative;
    min-height: 260px;
}

.js-reference-grid {
    transition:
            opacity 0.25s ease,
            filter 0.25s ease;
}

.js-reference-grid.is-loading {
    opacity: 0.35;
    filter: blur(2px);
    pointer-events: none;
}

.reference-loader {
    position: absolute;
    inset: 0;
    z-index: 20;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;

    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(2px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
            opacity 0.2s ease,
            visibility 0.2s ease;
}

.reference-loader.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.reference-loader-spinner {
    width: 42px;
    height: 42px;

    border: 3px solid rgba(22, 26, 49, 0.15);
    border-top-color: #161a31;
    border-radius: 50%;

    animation: reference-loader-spin 0.75s linear infinite;
}

.reference-loader-text {
    font-size: 14px;
    font-weight: 500;
    color: #161a31;
}

@keyframes reference-loader-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================================
   REFERENCE — USED PATTERNS
========================================================== */

.tp-reference-patterns-area {
    position: relative;
}

.tp-reference-patterns-heading {
    max-width: 760px;
}

.tp-reference-patterns-list {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.tp-reference-pattern {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: center;
    gap: 25px;
    min-width: 0;

    background: #fafafa;
    border: 1px solid transparent;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
    transition:
            background .3s ease,
            border-color .3s ease,
            transform .3s ease;
}

.tp-reference-pattern:hover {
    background: #fff;
    border-color: #e3e3e3;
    transform: translateY(-3px);
}


/* Image */

.tp-reference-pattern__gallery {
    min-width: 0;
}

.tp-reference-pattern__image {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    aspect-ratio: 16 / 9;


    overflow: hidden;

    background: #fff;
    border-radius: 14px;
    cursor: zoom-in;
}

.tp-reference-pattern__img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform .35s ease;
}

.tp-reference-pattern__image:hover
.tp-reference-pattern__img {
    transform: scale(1.025);
}

.tp-reference-pattern__zoom {
    position: absolute;
    right: 10px;
    bottom: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    color: #161a31;

    background: rgba(255, 255, 255, .94);
    border-radius: 50%;

    box-shadow: 0 5px 18px rgba(0, 0, 0, .12);

    transition:
            color .25s ease,
            background .25s ease,
            transform .25s ease;
}

.tp-reference-pattern__image:hover
.tp-reference-pattern__zoom {
    color: #fff;
    background: #161a31;
    transform: scale(1.05);
}


/* Content */

.tp-reference-pattern__content {
    min-width: 0;
}

.tp-reference-pattern__series {
    display: block;

    margin-bottom: 7px;

    color: #777;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.tp-reference-pattern__title {
    margin: 0;

    color: #161a31;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.2;
}

.tp-reference-pattern__link {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-top: 20px;

    color: #161a31;
    font-size: 14px;
    font-weight: 600;

    transition: opacity .25s ease;
}

.tp-reference-pattern__link:hover {
    color: #161a31;
    opacity: .65;
}

.tp-reference-pattern__link svg {
    transition: transform .25s ease;
}

.tp-reference-pattern__link:hover svg {
    transform: translate(3px, -3px);
}


/* Responsive */

@media (max-width: 1199px) {
    .tp-reference-patterns-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .tp-reference-pattern {
        grid-template-columns: 130px minmax(0, 1fr);
        gap: 17px;

        padding: 10px;
    }

    .tp-reference-pattern__title {
        font-size: 21px;
    }

    .tp-reference-pattern__link {
        margin-top: 14px;
    }
}

@media (max-width: 480px) {
    .tp-reference-pattern {
        grid-template-columns: 1fr;
    }

    .tp-reference-pattern__image {
        aspect-ratio: 16 / 10;
    }
}



/* GALLERY BLOCK */

.tp-gallery {
    padding-top: 100px;
    padding-bottom: 100px;
}

.tp-gallery-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.tp-gallery-title {
    margin: 0;
}

.tp-gallery-grid {
    display: grid;
    gap: 24px;
}

.tp-gallery-columns-3 .tp-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tp-gallery-columns-4 .tp-gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tp-gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 20px;
    background: #f1f1f1;
}

.tp-gallery-image {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.tp-gallery-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition:
            transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1),
            filter 0.4s ease;
}

.tp-gallery-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #161a31;
    background: rgba(22, 26, 49, 0.14);
    opacity: 0;

    transition:
            opacity 0.35s ease,
            background-color 0.35s ease;
}

.tp-gallery-zoom {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 56px;
    height: 56px;

    background: rgba(255, 255, 255, 0.94);
    border-radius: 50%;

    transform: translateY(12px) scale(0.9);

    transition:
            transform 0.35s ease,
            background-color 0.35s ease;
}

.tp-gallery-item:hover .tp-gallery-img {
    transform: scale(1.045);
}

.tp-gallery-item:hover .tp-gallery-overlay {
    opacity: 1;
}

.tp-gallery-item:hover .tp-gallery-zoom {
    transform: translateY(0) scale(1);
}

@media (max-width: 1199px) {
    .tp-gallery-columns-4 .tp-gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .tp-gallery-columns-3 .tp-gallery-grid,
    .tp-gallery-columns-4 .tp-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .tp-gallery {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .tp-gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    .tp-gallery-item {
        border-radius: 14px;
    }

    .tp-gallery-overlay {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tp-gallery-img,
    .tp-gallery-overlay,
    .tp-gallery-zoom {
        transition: none;
    }
}

/* REVIEWS */

.tp-testimonail-title span {
    display: inline-block;
    margin-top:2rem;
    width:100%;
    font-size: 28px;
    font-weight: 400;
}

.tp-about-video {
    margin-left:0;
    position: relative;
}

.tp-about-video-main {
    position: absolute;
}

.tp-about-thumb img,
.tp-about-thumb {
    min-width: 100%;
}

/* HERO PUULSE */

.imp-object-spot-pin {
    position: relative;
    overflow: visible;
}

.imp-object-icon-shadow{
    display:none;
}

.imp-object-spot-pin::before,
.imp-object-spot-pin::after{
    content:'';

    position:absolute;
    inset:0;

    width:20px;
    height:20px;

    margin:auto;

    border-radius:50%;
    background:#fff;

    opacity:.35;

    pointer-events:none;
}

.imp-object-spot-pin::before{
    animation:impPulse 2.2s infinite;
}

.imp-object-spot-pin::after{
    animation:impPulse 2.2s infinite .9s;
}

.imp-object-spot-pin svg{
    position:relative;
    z-index:3;
}

@keyframes impPulse{

    0%{
        transform:scale(.8);
        opacity:.45;
    }

    80%{
        transform:scale(3.5);
        opacity:0;
    }

    100%{
        transform:scale(3.5);
        opacity:0;
    }

}

.imp-tooltip {
    border-radius: 20px !important;
}
.imp-tooltip-content {
    text-align: center;
}
.imp-tooltip .hero-btn {
    transition: all 0.2s ease-in-out !important;
}
.imp-tooltip .hero-btn:hover {
    background-color:var(--tp-theme-color)  !important;
    color: #fff  !important;
}


/* footer */

.tp-footer-copyright-text p {
    color:#fff;
}

.tp-footer-social ul li a {
    color:#fff;
    border-color:#fff;
}

.tp-pattern-series-filter {
    margin-bottom: 70px;
}


/* ==========================================================
   PATTERN CARD
========================================================== */

.tp-pattern-card {
    width: 100%;
    height: 100%;
}

.tp-pattern-card__button {
    display: block;
    width: 100%;
    padding: 0;

    color: inherit;
    text-align: left;

    background: transparent;
    border: 0;
    cursor: pointer;
}

.tp-pattern-card__thumb{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;

    width:100%;
    aspect-ratio:16/9;
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
}

.tp-pattern-card__thumb img{
    width:100%;
    height:100%;

    object-fit:cover;
    object-position:center;

    transition:
            transform .45s ease,
            opacity .3s ease;
}

/*
 * Obsah je pod obrázkom.
 */
.tp-pattern-card__content {
    position: static;
    display: block;

    padding: 20px 5px 0;

    background: transparent;
}

.tp-pattern-card__series {
    display: block;
    margin-bottom: 6px;

    color: #777;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.tp-pattern-card__title {
    display: block;

    color: var(--tp-theme-color);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;

    transition:
            color .3s ease,
            transform .3s ease;
}

/* Hover */

.tp-pattern-card__button:hover
.tp-pattern-card__thumb img {
    transform: scale(1.05);
    filter: brightness(.95);
}

.tp-pattern-card__button:hover
.tp-pattern-card__title {
    transform: translateX(5px);
}

/* Focus */

.tp-pattern-card__button:focus-visible {
    outline: none;
}

.tp-pattern-card__button:focus-visible
.tp-pattern-card__thumb {
    box-shadow:
            0 0 0 2px #fff,
            0 0 0 5px #161a31;
}

/* Mobil */

@media (max-width: 767px) {
    .tp-pattern-card__content {
        padding-top: 15px;
    }

    .tp-pattern-card__series {
        font-size: 12px;
    }

    .tp-pattern-card__title {
        font-size: 20px;
    }
}

 /* SINGLE VZOR DDETAIL */
/* ==========================================================
   PATTERN DETAIL
========================================================== */

.tp-pattern-detail-inner {
    width: 100%;
}

.tp-pattern-detail {
    position: relative;
    scroll-margin-top: 120px;
}

.tp-pattern-detail.is-loading {
    min-height: clamp(400px, 70vh, 680px);
}

.tp-pattern-detail-actions {
    position: relative;
    z-index: 5;
}


/* ==========================================================
   TWO-COLUMN LAYOUT
========================================================== */

.tp-pattern-detail-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1.45fr)
        minmax(420px, .95fr);
    align-items: start;
    gap: clamp(40px, 5vw, 90px);

    width: 100%;
}

.tp-pattern-detail-media,
.tp-pattern-detail-sidebar {
    min-width: 0;
}

.tp-pattern-detail-media {
    position: relative;
}

.tp-pattern-detail-sidebar {
    display: flex;
    flex-direction: column;
}


/* ==========================================================
   IMAGE
========================================================== */

.tp-pattern-detail-image-wrap {
    position: relative;
    width: 100%;
    will-change: transform;
}

.tp-pattern-detail-gallery {
    width: 100%;
}

.tp-pattern-detail-image {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 480px;
    overflow: hidden;
    background: #f7f7f7;
    border-radius: 20px;
    cursor: zoom-in;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
}

.tp-pattern-detail-image__img {
    display: block;

    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: calc(100vh - 180px);

    object-fit: cover;
    object-position: center;

    transition: transform .4s ease;
}

.tp-pattern-detail-image:hover
.tp-pattern-detail-image__img {
    transform: scale(1.015);
}

.tp-pattern-detail-image__zoom {
    position: absolute;
    right: 20px;
    bottom: 20px;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    color: #161a31;

    background: rgba(255, 255, 255, .94);
    border-radius: 50%;

    box-shadow:
            0 6px 25px rgba(0, 0, 0, .12);

    transition:
            color .25s ease,
            background .25s ease,
            transform .25s ease;
}

.tp-pattern-detail-image:hover
.tp-pattern-detail-image__zoom {
    color: #fff;
    background: #161a31;
    transform: scale(1.06);
}


/* ==========================================================
   GSAP PIN SUPPORT
========================================================== */

.tp-pattern-detail-image-wrap.is-pinned {
    z-index: 4;
}

/*
 * ScrollTrigger môže vytvoriť pin-spacer.
 * Nech nerozbíja šírku grid stĺpca.
 */
.tp-pattern-detail-media > .pin-spacer {
    width: 100% !important;
    max-width: 100% !important;
}

/*
 * Sticky/pin nesmie byť blokovaný overflowom.
 */
.tp-pattern-detail-inner,
.tp-pattern-detail-layout,
.tp-pattern-detail-media,
.tp-pattern-detail-sidebar {
    overflow: visible;
}

/*
 * Ak má sekcia triedu .fix s overflow hidden.
 */
.tp-pattern-area.fix {
    overflow: visible;
}


/* ==========================================================
   RIGHT CONTENT
========================================================== */

.tp-pattern-detail-content {
    padding: 0;
}

.tp-pattern-detail-filename {
    color: #6a6a6a;
}

.tp-pattern-detail-filename strong {
    color: #161a31;
}


/* ==========================================================
   REFERENCES
========================================================== */

.tp-pattern-detail-references {
    padding-top: 35px;
    border-top: 1px solid #e7e7e7;
}

.tp-pattern-detail-references__heading {
    margin: 0 0 15px;
    color: var(--tp-theme-color);
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
}

.tp-pattern-detail-references__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
}

.tp-pattern-reference-row {
    display: flex;
    align-items: center;
    gap: 15px;

    width: 100%;
    padding: 10px;

    color: inherit;
    text-decoration: none;

    background: #f7f7f7;
    border: 1px solid transparent;
    border-radius: 12px;

    transition:
            background .25s ease,
            border-color .25s ease,
            transform .25s ease;
}

.tp-pattern-reference-row:hover {
    color: inherit;
    background: #fff;
    border-color: #dedede;

}

.tp-pattern-reference-row__thumb {
    flex: 0 0 140px;
    width: 140px;
    height: auto;
    overflow: hidden;
    background: #ededed;
    border-radius: 8px;
}

.tp-pattern-reference-row__thumb img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.tp-pattern-reference-row__content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;

    min-width: 0;
}

.tp-pattern-reference-row__title {
    display: block;
    color: var(--tp-theme-color);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.tp-pattern-reference-row__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;

    margin-top: 5px;

    color: #777;
    font-size: 13px;
    line-height: 1.35;
}

.tp-pattern-reference-row__separator {
    opacity: .55;
}

.tp-pattern-reference-row__arrow {
    flex: 0 0 auto;

    margin-left: auto;
    padding: 10px;

    color: #161a31;

    transition: transform .25s ease;
}

.tp-pattern-reference-row:hover
.tp-pattern-reference-row__arrow {
    transform: translate(3px, -3px);
}


/* ==========================================================
   CONTACT FORM
========================================================== */

.tp-pattern-contact {
    padding-top: 45px;
    border-top: 1px solid #e7e7e7;
}

.tp-pattern-contact-title {
    margin: 0 0 15px;

    color: #161a31;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
}

.tp-pattern-contact-heading p {
    color: #686868;
}


/* ==========================================================
   DETAIL LOADER
========================================================== */

.pattern-detail-loader {
    position: relative;
    inset: auto;

    width: 100%;
    min-height: clamp(400px, 70vh, 680px);

    border: 1px solid rgba(22, 26, 49, .08);
    border-radius: 20px;
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 1199px) {
    .tp-pattern-detail-layout {
        grid-template-columns:
            minmax(0, 1.2fr)
            minmax(380px, .9fr);
        gap: 40px;
    }

    .tp-pattern-detail-image {
        min-height: 420px;
    }

    .tp-pattern-detail-image__img {
        max-height: calc(100vh - 160px);
    }
}

@media (max-width: 991px) {
    .tp-pattern-detail-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .tp-pattern-detail-image-wrap {
        transform: none !important;
    }

    .tp-pattern-detail-image {
        height: clamp(300px, 45vh, 420px);
        min-height: 0;
    }

    .tp-pattern-detail-image__img {
        height: 100%;
        max-height: none;
        object-fit: cover;
    }
}

@media (max-width: 575px) {
    .tp-pattern-detail-image {
        height: clamp(210px, 33vh, 260px);
        min-height: 0;
        padding: 0;
    }

    .tp-pattern-detail-image__zoom {
        right: 12px;
        bottom: 12px;

        width: 42px;
        height: 42px;
    }

    .tp-pattern-reference-row {
        align-items: flex-start;
        gap: 12px;

        padding: 8px;
    }

    .tp-pattern-reference-row__thumb {
        flex-basis: 68px;

        width: 68px;
        height: 58px;
    }

    .tp-pattern-reference-row__arrow {
        display: none;
    }

    .tp-pattern-contact-title {
        font-size: 24px;
    }
}
/* ==========================================================
   STICKY MOBILE SHOWROOM
========================================================== */

.tp-mobile-showroom {
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 999;

    transform: translateY(-50%);
}

.tp-mobile-showroom__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 240px;
    width:50px;
    padding:20px 10px;

    color: #fff;
    text-decoration: none;

    background: var(--tp-theme-color);

    /*
     * Pravý okraj je nalepený na hrane,
     * preto nemá radius.
     */
    border-radius: 30px 0 0 30px;

    box-shadow: -12px 16px 45px rgba(0, 0, 0, .18);

    transition:
            width .3s ease,
            background .3s ease,
            box-shadow .3s ease;
}

.tp-mobile-showroom__link:hover {
    width: 70px;
    color: #fff;

    box-shadow: -16px 20px 55px rgba(0, 0, 0, .24);
}


/* Vertikálny názov */

.tp-mobile-showroom__content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tp-mobile-showroom__content strong {
    display: block;
    margin: 0;

    color: #fff;
    font-size: 17px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .02em;
    white-space: nowrap;

    /*
     * Vertikálny text bez otočenia celého buttonu.
     */
    writing-mode: vertical-rl;
    text-orientation: mixed;

    /*
     * Text sa bude čítať zdola nahor.
     */
    transform: rotate(180deg);
}


/* Ikonka zostáva normálne otočená */

.tp-mobile-showroom__icon {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 60px;

    /*
     * Žiadne otáčanie ikonky.
     */
    transform: none;
}

.tp-mobile-showroom__icon svg,
.tp-mobile-showroom__icon img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
    transform: none;
}


/* ==========================================================
   MOBILE — SPODNÝ SHOWROOM PÁS
========================================================== */

@media (max-width: 991px) {

    #header-sticky {
        transition:
                opacity .35s ease,
                visibility .35s ease,
                transform .35s ease;
        will-change: opacity, transform;
    }

    #header-sticky.tp-mobile-header-hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-100%);
        animation: none !important;
    }

    .tp-mobile-showroom {
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 999;

        width: 100%;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(100%);
        transition:
                opacity .35s ease,
                visibility .35s ease,
                transform .35s ease;
    }

    .tp-mobile-showroom.tp-mobile-showroom-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .tp-mobile-showroom__link {
        flex-direction: row;
        gap: 14px;

        box-sizing: border-box;
        width: 100%;
        min-width: 100%;
        height: auto;
        min-height: 52px;
        padding: 6px 16px calc(6px + env(safe-area-inset-bottom));

        border-radius: 0;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, .18);
    }

    .tp-mobile-showroom__link:hover {
        width: 100%;
    }

    .tp-mobile-showroom__content {
        display: flex;
    }

    .tp-mobile-showroom__content strong {
        font-size: 16px;
        line-height: 1.2;
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        transform: none;
    }

    .tp-mobile-showroom__icon {
        width: 34px;
        height: 34px;
        transform: rotate(90deg);
    }

    .back-to-top-wrapper.back-to-top-btn-show {
        bottom: calc(72px + env(safe-area-inset-bottom));
    }

}

/* CF 7 MAIN */

/* Cloudflare Turnstile and submit form one responsive action group. */
.wpcf7-form .visio-turnstile-actions {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 16px 20px;
    width: 100%;
}

.wpcf7-form .visio-turnstile-actions > p:empty,
.wpcf7-form .visio-turnstile-actions > br,
.wpcf7-form .cf-turnstile-br {
    display: none !important;
}

.wpcf7-form .cf7-cf-turnstile {
    flex: 0 0 270px;
    width: 270px;
    max-width: 100%;
    height: 66px;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.wpcf7-form .cf7-cf-turnstile > .cf-turnstile {
    width: 300px;
    max-width: none;
    transform: scale(.9);
    transform-origin: top left;
}

.wpcf7-form .visio-turnstile-actions > .wpcf7-submit {
    flex: 0 0 auto;
    margin: 0;
}

@media (max-width: 767px) {
    .wpcf7-form .visio-turnstile-actions {
        flex-direction: column;
        align-items: flex-end;
        gap: 14px;
    }

    .wpcf7-form .cf7-cf-turnstile {
        flex-basis: 60px;
        width: 246px;
        height: 60px;
    }

    .wpcf7-form .cf7-cf-turnstile > .cf-turnstile {
        transform: scale(.82);
    }

    .wpcf7-form
    .visio-turnstile-actions
    > .wpcf7-submit {
        order: 2;
        max-width: 100%;
    }

    .wpcf7-form
    .visio-turnstile-actions
    > .wpcf7-spinner {
        order: 3;
    }
}

/* ==========================================================
   CF7 REQUIRED FIELD INDICATORS
========================================================== */

.wpcf7-form .visio-required-control-wrap {
    position: relative;
    display: block;
}

.wpcf7-form .visio-required-indicator {
    position: absolute;
    top: 50%;
    right: 22px;
    z-index: 3;

    color: #c62828;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;

    transform: translateY(-50%);
    pointer-events: none;
}

.wpcf7-form
.visio-required-control-wrap--textarea
.visio-required-indicator {
    top: 20px;
    transform: none;
}

.wpcf7-form
.visio-required-control-wrap--select
.visio-required-indicator {
    right: 46px;
}

.wpcf7-form
.visio-required-control-wrap--choice
.visio-required-indicator {
    top: 0;
    right: 0;
    transform: none;
}

.wpcf7-form
.visio-required-control-wrap:not(
    .visio-required-control-wrap--choice
)
input,
.wpcf7-form
.visio-required-control-wrap:not(
    .visio-required-control-wrap--choice
)
textarea {
    padding-right: 52px !important;
}

/* ==========================================================
   CF7 SUBMIT BUTTON
========================================================== */

.wpcf7-form button.wpcf7-submit.tp-btn {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;

    min-width: 244px;
    padding-right: 52px;
    padding-left: 52px;

    text-align: center;
}

/*
 * CF7 automatic formatting can insert line breaks between the custom button
 * spans and even inside the icon. They become flex items and move the arrow.
 */
.wpcf7-form button.wpcf7-submit.tp-btn br {
    display: none !important;
}

.wpcf7-form button.wpcf7-submit.tp-btn .tp-btn-text {
    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0;

    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}

.wpcf7-form button.wpcf7-submit.tp-btn .tp-btn-icon {
    position: absolute;
    top: 50%;
    right: 8px;

    display: inline-flex;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;
    margin: 0;

    line-height: 0;
    transform: translateY(-50%);
}

.wpcf7-form button.wpcf7-submit.tp-btn .tp-btn-icon svg {
    display: block;
    flex: 0 0 auto;
    margin: 0;
}

@media (max-width: 767px) {
    .wpcf7-form button.wpcf7-submit.tp-btn,
    .wpcf7-form button.wpcf7-submit.tp-btn:hover {
        min-width: 220px;
        padding-right: 46px;
        padding-left: 46px;
    }

    .wpcf7-form button.wpcf7-submit.tp-btn .tp-btn-icon {
        right: 6px;
    }
}

/* ==========================================================
   VISIO CONDITIONAL OFFER FORM
========================================================== */

.visio-offer-form {
    width: 100%;
}

.visio-offer-form p {
    margin-bottom: 0;
}


/* ==========================================================
   STANDARD INPUTS
========================================================== */

.visio-offer-form
.tp-contect-input
input[type="text"],
.visio-offer-form
.tp-contect-input
input[type="email"],
.visio-offer-form
.tp-contect-input
input[type="tel"] {
    width: 100%;
}

.visio-offer-form
.tp-contect-input
textarea {
    width: 100%;
    min-height: 140px;
    resize: vertical;
}


/* ==========================================================
   SECTIONS
========================================================== */

.visio-offer-section {
    margin-top: 35px;
}

.visio-offer-section--main {
    margin-top: 25px;
}

.visio-conditional-section {
    margin-top: 28px;
    padding: 28px;

    background: rgba(255, 255, 255, .32);
    border: 1px solid rgba(22, 26, 49, .08);
    border-radius: 20px;
}

.visio-conditional-subsection {
    margin-top: 25px;
    padding: 24px;

    background: rgba(255, 255, 255, .48);
    border-radius: 16px;
}

.visio-conditional-section[hidden],
.visio-conditional-subsection[hidden] {
    display: none !important;
}

.visio-offer-section__heading {
    margin-bottom: 17px;
}

.visio-offer-section__heading h3,
.visio-offer-section__heading h4 {
    margin: 0;

    color: var(--tp-theme-color);
    font-weight: 600;
    line-height: 1.25;
}

.visio-offer-section__heading h3 {
    font-size: 20px;
}

.visio-offer-section__heading h4 {
    font-size: 17px;
}

.visio-offer-section__heading p {
    margin-top: 5px;

    color: rgba(22, 26, 49, .7);
    font-size: 14px;
    line-height: 1.45;
}


/* ==========================================================
   CHECKBOX BUTTONS
========================================================== */

.visio-checkbox-buttons
.wpcf7-form-control {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 12px;
}

.visio-checkbox-buttons
.wpcf7-list-item {
    display: block;
    margin: 0;
}

.visio-checkbox-buttons
.wpcf7-list-item
label {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 50px;
    margin: 0;
    padding: 12px 20px 12px 48px;

    color: var(--tp-theme-color);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.25;

    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(22, 26, 49, .12);
    border-radius: 999px;

    cursor: pointer;
    user-select: none;

    transition:
            color .25s ease,
            background .25s ease,
            border-color .25s ease,
            box-shadow .25s ease,
            transform .25s ease;
}

.visio-checkbox-buttons
.wpcf7-list-item
label:hover {
    border-color: rgba(22, 26, 49, .35);

    transform: translateY(-2px);

    box-shadow:
            0 8px 22px rgba(22, 26, 49, .08);
}


/*
 * Natívny checkbox zostáva v DOM,
 * ale vizuálne ho nahrádza vlastná fajka.
 */
.visio-checkbox-buttons
input[type="checkbox"] {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
    pointer-events: none;
}


/* Circle */

.visio-checkbox-buttons
.wpcf7-list-item
label::before {
    content: "";

    position: absolute;
    top: 50%;
    left: 17px;

    width: 21px;
    height: 21px;

    background: transparent;
    border: 1.5px solid rgba(22, 26, 49, .45);
    border-radius: 50%;

    transform: translateY(-50%);

    transition:
            background .25s ease,
            border-color .25s ease;
}


/* Checkmark */

.visio-checkbox-buttons
.wpcf7-list-item
label::after {
    content: "";

    position: absolute;
    top: 50%;
    left: 24px;

    width: 6px;
    height: 10px;

    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;

    opacity: 0;

    transform:
            translateY(-60%)
            rotate(45deg)
            scale(.7);

    transition:
            opacity .2s ease,
            transform .2s ease;
}


/* Selected button */

.visio-checkbox-buttons
.wpcf7-list-item
label:has(input[type="checkbox"]:checked) {
    color: #fff;

    background: var(--tp-theme-color);
    border-color: var(--tp-theme-color);

    box-shadow:
            0 10px 25px rgba(22, 26, 49, .16);
}

.visio-checkbox-buttons
.wpcf7-list-item
label:has(input[type="checkbox"]:checked)::before {
    background: var(--tp-secoundery-color);
    border-color: var(--tp-secoundery-color);
}

.visio-checkbox-buttons
.wpcf7-list-item
label:has(input[type="checkbox"]:checked)::after {
    opacity: 1;

    border-color: var(--tp-theme-color);

    transform:
            translateY(-60%)
            rotate(45deg)
            scale(1);
}


/* Keyboard focus */

.visio-checkbox-buttons
.wpcf7-list-item
label:has(input[type="checkbox"]:focus-visible) {
    outline: 3px solid rgba(22, 26, 49, .18);
    outline-offset: 3px;
}


/* ==========================================================
   MAIN BUTTONS
========================================================== */

.visio-checkbox-buttons--main
.wpcf7-form-control {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
}

.visio-checkbox-buttons--main
.wpcf7-list-item
label {
    width: 100%;
    min-height: 58px;
    padding-right: 17px;
}


/* ==========================================================
   SECONDARY AND NESTED BUTTONS
========================================================== */

.visio-checkbox-buttons--secondary
.wpcf7-list-item
label,
.visio-checkbox-buttons--nested
.wpcf7-list-item
label {
    min-height: 46px;
    padding-top: 10px;
    padding-bottom: 10px;

    font-size: 14px;
}

.visio-checkbox-buttons--nested
.wpcf7-list-item
label {
    background: #fff;
}


/* ==========================================================
   MESSAGE
========================================================== */

.visio-offer-message {
    margin-top: 35px;
}


/* ==========================================================
   FILE UPLOAD
========================================================== */

.visio-offer-attachments {
    margin-top: 28px;
}

.visio-offer-attachments
input[type="file"] {
    width: 100%;
    padding: 12px;

    color: var(--tp-theme-color);

    background: rgba(255, 255, 255, .75);
    border: 1px dashed rgba(22, 26, 49, .25);
    border-radius: 14px;
}

.visio-offer-attachments
input[type="file"]::file-selector-button {
    margin-right: 15px;
    padding: 10px 18px;

    color: #fff;
    font-size: 13px;
    font-weight: 600;

    background: var(--tp-theme-color);
    border: 0;
    border-radius: 999px;

    cursor: pointer;
}


/* ==========================================================
   CF7 VALIDATION
========================================================== */

.visio-offer-form
.wpcf7-not-valid-tip {
    margin-top: 7px;

    color: #c62828;
    font-size: 13px;
}

.visio-offer-form
.wpcf7-response-output {
    margin: 28px 0 0 !important;
    padding: 15px 20px !important;

    border-radius: 12px;
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 1199px) {

    .visio-checkbox-buttons--main
    .wpcf7-form-control {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}

@media (max-width: 767px) {

    .visio-conditional-section {
        padding: 22px 18px;
        border-radius: 16px;
    }

    .visio-conditional-subsection {
        padding: 18px 14px;
    }

    .visio-checkbox-buttons--main
    .wpcf7-form-control {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .visio-checkbox-buttons--main
    .wpcf7-list-item
    label {
        justify-content: flex-start;

        min-height: 52px;
    }

    .visio-offer-form
    .tp-flex.tp-justify-end {
        justify-content: flex-start;
        margin-top: 25px;
    }

}

@media (max-width: 480px) {

    .visio-checkbox-buttons--main
    .wpcf7-form-control {
        grid-template-columns: 1fr;
    }

    .visio-checkbox-buttons
    .wpcf7-form-control {
        flex-direction: column;
    }

    .visio-checkbox-buttons
    .wpcf7-list-item,
    .visio-checkbox-buttons
    .wpcf7-list-item
    label {
        width: 100%;
    }

}

/* ==========================================================
   MULTIPLE FILE UPLOADER
========================================================== */

.visio-offer-attachments {
    margin-top: 30px;
}

.visio-file-uploader {
    width: 100%;
    padding: 24px 26px;

    background: rgba(255, 255, 255, .34);
    border: 1px solid rgba(22, 26, 49, .1);
    border-radius: 18px;
}

.visio-file-uploader__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.visio-file-uploader__heading {
    flex: 1 1 auto;
    min-width: 0;
}

.visio-file-uploader__heading h3 {
    margin: 0;

    color: var(--tp-theme-color);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
}

.visio-file-uploader__heading p {
    max-width: 560px;
    margin: 6px 0 0;

    color: rgba(22, 26, 49, .7);
    font-size: 14px;
    line-height: 1.5;
}

.visio-file-uploader__button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 52px;
    padding: 12px 23px;

    color: #fff;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;

    background: var(--tp-theme-color);
    border: 0;
    border-radius: 999px;

    cursor: pointer;

    transition:
            opacity .25s ease,
            transform .25s ease,
            box-shadow .25s ease;
}

.visio-file-uploader__button:hover {
    transform: translateY(-2px);

    box-shadow:
            0 10px 25px rgba(22, 26, 49, .18);
}

.visio-file-uploader__button.is-disabled,
.visio-file-uploader__button:disabled {
    opacity: .45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.visio-file-uploader__icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.visio-file-uploader__status {
    display: block;
    margin-top: 14px;

    color: rgba(22, 26, 49, .58);
    font-size: 13px;
}


/* Skryté CF7 file inputy */

.visio-file-uploader__inputs {
    position: absolute;

    width: 1px;
    height: 1px;

    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.visio-file-input-wrap {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}


/* Zoznam súborov */

.visio-file-list {
    display: flex;
    flex-direction: column;
    gap: 10px;

    margin-top: 18px;
}

.visio-file-list:empty {
    display: none;
}

.visio-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    width: 100%;
    padding: 12px 14px;

    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(22, 26, 49, .1);
    border-radius: 12px;
}

.visio-file-item__info {
    display: flex;
    align-items: center;
    gap: 12px;

    min-width: 0;
}

.visio-file-item__icon {
    display: flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    color: var(--tp-theme-color);

    background: var(--tp-secoundery-color);
    border-radius: 9px;
}

.visio-file-item__text {
    display: flex;
    flex-direction: column;

    min-width: 0;
}

.visio-file-item__name {
    overflow: hidden;

    color: var(--tp-theme-color);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.visio-file-item__size {
    margin-top: 3px;

    color: rgba(22, 26, 49, .6);
    font-size: 12px;
}

.visio-file-item__remove {
    display: flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;
    padding: 0;

    color: #161a31;

    background: transparent;
    border: 1px solid rgba(22, 26, 49, .14);
    border-radius: 50%;

    cursor: pointer;

    transition:
            color .25s ease,
            background .25s ease,
            border-color .25s ease;
}

.visio-file-item__remove:hover {
    color: #fff;
    background: #c62828;
    border-color: #c62828;
}

.visio-file-uploader__error {
    margin-top: 12px !important;

    color: #c62828;
    font-size: 13px;
    line-height: 1.45;
}


/* Responsive */

@media (max-width: 767px) {
    .visio-file-uploader {
        padding: 20px 18px;
    }

    .visio-file-uploader__top {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .visio-file-uploader__button {
        width: 100%;
    }
}

/* ==========================================================
   RESPONSIVE FOUNDATION
========================================================== */

html {
    max-width: 100%;
    overflow-x: hidden;
}

@supports (overflow: clip) {
    html {
        overflow-x: clip;
    }
}

body {
    min-width: 0;
    overflow-wrap: break-word;
}

/* Native scrolling fallback for Safari. */
html.visio-native-scroll {
    height: auto !important;
    overflow-y: auto !important;
}

html.visio-native-scroll body {
    height: auto !important;
    overflow-y: visible !important;
}

html.visio-native-scroll #smooth-wrapper {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
}

html.visio-native-scroll #smooth-content {
    overflow: visible !important;
    transform: none !important;
}

.tp-section-title,
.tp-portfolio-long-title,
.tp-pattern-card__title,
.tp-pattern-reference-row__title {
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.rank-math-breadcrumb,
.rank-math-breadcrumb p {
    max-width: 100%;
    overflow-wrap: anywhere;
}

input,
select,
textarea,
button {
    max-width: 100%;
}

.tp-header-cta-phone a,
.tp-header-cta-phone samp {
    white-space: nowrap;
}

/* Keep the primary desktop navigation on one stable row. */
@media (min-width: 1200px) {
    .tp-header-menu {
        width: 100%;
        vertical-align: middle;
    }

    .tp-header-menu > nav > ul {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }

    .tp-header-menu > nav > ul > li {
        flex: 0 0 auto;
    }
}

/* The original 19px side margins no longer fit after adding client-zone action. */
@media (min-width: 1600px) and (max-width: 1999px) {
    .tp-header-menu {
        padding-right: 6px;
        padding-left: 6px;
    }

    .tp-header-menu > nav > ul > li {
        margin-right: 18px;
        margin-left: 18px;
    }

    .tp-header-menu > nav > ul > li > a {
        font-size: 16px;
    }
}

@media (min-width: 1200px) and (max-width: 1599px) {
    .tp-header-menu {
        transform: none;
    }

    .tp-header-menu > nav > ul {
        white-space: nowrap;
    }

    .tp-header-menu > nav > ul > li {
        margin-right: 6px;
        margin-left: 6px;
    }

    .tp-header-menu > nav > ul > li > a {
        font-size: 15px;
    }

    .tp-header-cta {
        margin-left: 0;
    }

    .tp-header-cta-phone {
        margin-right: 12px !important;
    }

    .tp-header-cta-phone samp {
        display: none !important;
    }

    .tp-header-cta-button .tp-btn {
        padding-right: 18px;
        padding-left: 18px;
    }
}

@media (max-width: 1199px) {
    .header-sidebar-btn {
        min-width: 44px;
        min-height: 44px;
    }

    .tp-breadcrumb-more {
        width: min(65%, 720px);
    }

    .tp-project-spacing {
        padding-top: 140px;
    }
}

@media (max-width: 991px) {
    main .container-wide {
        padding-right: 24px;
        padding-left: 24px;
    }

    .tp-header-area.container-wide,
    .tp-header-area > .container-wide {
        padding-right: 24px;
        padding-left: 24px;
    }

    .tp-header-area > .container-wide .tp-header-wrap {
        padding-right: 0;
        padding-left: 0;
    }

    .header-sticky .tp-header-wrap {
        padding-right: 20px;
        padding-left: 20px;
    }

    .tp-header-area > .container-wide .header-sticky .tp-header-wrap,
    .tp-header-area.header-sticky > .container-wide .tp-header-wrap {
        padding-right: 0;
        padding-left: 0;
    }

    .tp-breadcrumb-area.hd_video,
    .tp-breadcrumb-area.hd_img,
    .hd_video .tp-breadcrumb,
    .hd_img .tp-breadcrumb,
    .tp-breadcrumb-area.full-height .tp-breadcrumb {
        min-height: 100vh !important;
    }

    .tp-breadcrumb-area.tp-breadcrumb-compact,
    .tp-breadcrumb-area.tp-breadcrumb-compact .tp-breadcrumb {
        min-height: 400px !important;
    }

    .tp-breadcrumb-area.tp-breadcrumb-compact.hd_base,
    .tp-breadcrumb-area.tp-breadcrumb-compact.hd_base .tp-breadcrumb {
        min-height: 300px !important;
    }

    .tp-breadcrumb-area.tp-breadcrumb-compact.tp-breadcrumb-length-medium,
    .tp-breadcrumb-area.tp-breadcrumb-compact.tp-breadcrumb-length-medium .tp-breadcrumb {
        min-height: 450px !important;
    }

    .tp-breadcrumb-area.tp-breadcrumb-compact.tp-breadcrumb-length-long,
    .tp-breadcrumb-area.tp-breadcrumb-compact.tp-breadcrumb-length-long .tp-breadcrumb {
        min-height: 520px !important;
    }

    .tp-breadcrumb-area.tp-breadcrumb-compact.tp-breadcrumb-length-xlong,
    .tp-breadcrumb-area.tp-breadcrumb-compact.tp-breadcrumb-length-xlong .tp-breadcrumb {
        min-height: 600px !important;
    }

    .tp-breadcrumb-more {
        width: min(78%, 680px);
    }

    .tp-project-video-filter {
        white-space: normal;
    }

    .tp-project-video-filter span {
        display: inline-block;
        margin: 4px 8px;
    }

    .tp-project-spacing {
        padding-top: 110px;
    }

    .tp-gallery-heading {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 20px;
    }
}

@media (max-width: 767px) {
    main .container,
    main .container-wide {
        padding-right: 20px;
        padding-left: 20px;
    }

    main .container-wide .container {
        width: 100%;
        max-width: 100%;
        padding-right: 0;
        padding-left: 0;
    }

    main .tp-contect-area > .container-wide {
        padding-right: 0;
        padding-left: 0;
    }

    main .tp-contect-area .tp-contect-spacing {
        border-radius: 0;
    }

    main .tp-contect-area .tp-linear-bg::before,
    main .tp-contect-area .tp-linear-bg-2::before,
    main .tp-contect-area .tp-linear-bg-3::before,
    main .tp-contect-area .tp-linear-bg-5::before {
        border-radius: 0;
    }

    main .tp-contect-area .tp-contect-spacing > .container {
        width: 100%;
        max-width: 100%;
        padding-right: 20px;
        padding-left: 20px;
    }

    .header-sticky .tp-header-wrap {
        padding-right: 15px;
        padding-left: 15px;
    }

    .tp-header-area.container-wide,
    .tp-header-area > .container-wide {
        padding-right: 20px;
        padding-left: 20px;
    }

    .tp-header-area > .container-wide .tp-header-wrap,
    .tp-header-area > .container-wide .header-sticky .tp-header-wrap,
    .tp-header-area.header-sticky > .container-wide .tp-header-wrap {
        padding-right: 0;
        padding-left: 0;
    }

    .hd_base .tp-breadcrumb {
        min-height: 300px;
    }

    .hd_video .tp-breadcrumb,
    .hd_img .tp-breadcrumb {
        min-height: 100vh !important;
    }

    .tp-breadcrumb-area.full-height .tp-breadcrumb {
        min-height: 100vh !important;
    }

    .tp-breadcrumb-area.tp-breadcrumb-compact,
    .tp-breadcrumb-area.tp-breadcrumb-compact .tp-breadcrumb {
        min-height: 300px !important;
    }

    .tp-breadcrumb-area.tp-breadcrumb-compact.hd_base,
    .tp-breadcrumb-area.tp-breadcrumb-compact.hd_base .tp-breadcrumb {
        min-height: 260px !important;
    }

    .tp-breadcrumb-area.tp-breadcrumb-compact.tp-breadcrumb-length-medium,
    .tp-breadcrumb-area.tp-breadcrumb-compact.tp-breadcrumb-length-medium .tp-breadcrumb {
        min-height: 360px !important;
    }

    .tp-breadcrumb-area.tp-breadcrumb-compact.tp-breadcrumb-length-long,
    .tp-breadcrumb-area.tp-breadcrumb-compact.tp-breadcrumb-length-long .tp-breadcrumb {
        min-height: 460px !important;
    }

    .tp-breadcrumb-area.tp-breadcrumb-compact.tp-breadcrumb-length-xlong,
    .tp-breadcrumb-area.tp-breadcrumb-compact.tp-breadcrumb-length-xlong .tp-breadcrumb {
        min-height: 540px !important;
    }

    .tp-breadcrumb-more {
        width: 100%;
        margin-top: 32px;
    }

    .tp-breadcrumb-more-btns {
        align-items: stretch;
        flex-direction: column;
        margin-top: 28px;
    }

    .tp-breadcrumb-more-btns .tp-btn {
        justify-content: space-between;
        width: 100%;
    }

    .tp-post-filter.has-mobile-filter {
        display: none !important;
    }

    .tp-post-filter[data-mobile-filter-skip="true"] {
        display: none !important;
    }

    .visio-mobile-filter {
        position: relative;
        display: block;
        width: 100%;
        margin-top: 35px;
        margin-bottom: 35px;
    }

    .visio-mobile-filter__select {
        display: block;
        width: 100%;
        height: 56px;
        margin: 0;
        padding: 0 52px 0 22px;
        color: var(--tp-theme-color);
        font: inherit;
        font-weight: 600;
        line-height: 54px;
        appearance: none;
        background: #fff;
        border: 1px solid rgba(22, 26, 49, .2);
        border-radius: 999px;
        cursor: pointer;
    }

    .visio-mobile-filter > select.visio-mobile-filter__select {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23161a31' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 22px center;
    }

    .visio-mobile-filter > .nice-select.visio-mobile-filter__select {
        background-image: none;
    }

    .visio-mobile-filter__select:focus-visible {
        outline: 2px solid var(--tp-theme-color);
        outline-offset: 3px;
    }

    .tp-pattern-archive-advanced-filter {
        display: none !important;
    }

    .vi-ref .tp-hero-spacing-3-short {
        min-height: 100vh;
    }

    .vi-ref .tp-hero-mobile-stack {
        position: absolute !important;
        top: auto;
        right: 20px;
        bottom: 24px;
        left: 20px;
        z-index: 2;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .vi-ref .tp-hero-mobile-stack > .container {
        position: static !important;
        width: 100%;
        max-width: none;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .vi-ref .tp-hero-solid-content p {
        padding-top: 20px !important;
    }

    .vi-ref .tp-hero-solid-fact {
        position: static;
        right: auto;
        bottom: auto;
        left: auto;
        width: 100%;
        gap: 8px;
        align-items: stretch;
    }

    .vi-ref .tpfunfect,
    .vi-ref .tpfunfect2 {
        min-width: 0;
        margin: 0;
        padding: 9px 13px;
        border-radius: 12px;
    }

    .vi-ref .tpfunfect p {
        font-size: 14px;
        line-height: 1.35;
        text-align: left;
    }

    .tp-postbox-comments-form-wrap {
        padding: 24px 18px;
        border-radius: 16px;
    }

    .tp-project-spacing {
        padding-top: 85px;
    }

    .tp-gallery-heading {
        flex-direction: column;
    }

    .tp-testimonail-title span {
        margin-top: 1.25rem;
        font-size: 22px;
    }

    .tp-pattern-series-filter {
        margin-bottom: 45px;
    }

    .tp-pattern-detail-layout {
        gap: 35px;
    }

    .tp-pattern-reference-row__meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .tp-pattern-reference-row__separator {
        display: none;
    }

    .tp-mobile-showroom {
        right: 0;
        bottom: 0;
        left: 0;
    }

    .pb-150 {
        padding-bottom: 90px !important;
    }

    .pt-100 {
        padding-top: 70px !important;
    }

    .pb-100 {
        padding-bottom: 70px !important;
    }

    .mt-100 {
        margin-top: 70px !important;
    }

    .mb-100 {
        margin-bottom: 70px !important;
    }

    .pt-70 {
        padding-top: 50px !important;
    }

    .pb-70 {
        padding-bottom: 50px !important;
    }

    .mb-80,
    .mb-70 {
        margin-bottom: 50px !important;
    }

    .visio-file-item {
        gap: 10px;
    }
}

@media (max-width: 574.98px) {
    .tp-mobile-showroom {
        right: 0;
    }
}

@media (max-width: 480px) {
    .tp-breadcrumb-title {
        font-size: clamp(32px, 10vw, 40px);
    }

    .tp-mobile-showroom__link {
        width: 100%;
        min-width: 100%;
        height: auto;
        min-height: 52px;
        padding: 6px 14px calc(6px + env(safe-area-inset-bottom));
        border-radius: 0;
    }

    .tp-mobile-showroom__link:hover {
        width: 100%;
    }

    .tp-mobile-showroom__icon {
        width: 32px;
        height: 32px;
    }

    .visio-conditional-section {
        padding: 18px 13px;
    }

    .visio-conditional-subsection {
        padding: 16px 12px;
    }

    .visio-checkbox-buttons .wpcf7-list-item label {
        padding-right: 15px;
        padding-left: 44px;
    }

    .visio-file-uploader {
        padding: 18px 14px;
    }

    .visio-file-item {
        padding: 10px;
    }

    .visio-file-item__icon,
    .visio-file-item__remove {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
    }
}

.tp-postbox-comments-input textarea {
    line-height: normal;
    padding:25px;
}

/* AEO/content components and semantic media. */
@font-face {
    font-family: "Font Awesome 6 Pro";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("assets/fonts/fa-light-300.woff2") format("woff2");
}

@font-face {
    font-family: "Font Awesome 6 Pro";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("assets/fonts/fa-regular-400.woff2") format("woff2");
}

@font-face {
    font-family: "Font Awesome 6 Pro";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("assets/fonts/fa-solid-900.woff2") format("woff2");
}

@font-face {
    font-family: "Font Awesome 5 Brands";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("assets/fonts/fa-brands-400.woff2") format("woff2");
}

.tp-footer-copyright-text address {
    margin: 0;
    font-style: normal;
}

.tp-gallery-figure,
.tp-about-image {
    min-width: 0;
    margin-right: 0;
    margin-left: 0;
}

.tp-gallery-caption,
.tp-media-caption {
    margin-top: 10px;
    color: var(--tp-body-color);
    font-size: 14px;
    line-height: 1.5;
}

.visio-tldr,
.visio-content-cta {
    padding: clamp(24px, 4vw, 48px);
    border: 1px solid rgba(20, 27, 51, 0.14);
    border-radius: 20px;
    background: var(--tp-white-color);
}

.visio-tldr {
    border-left: 6px solid var(--tp-theme-color);
}

.visio-content-cta {
    background: var(--tp-secoundery-color);
}

.visio-comparison-table {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.visio-comparison-table table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
}

.visio-comparison-table th,
.visio-comparison-table td {
    padding: 14px 16px;
    border: 1px solid rgba(20, 27, 51, 0.14);
    text-align: left;
    vertical-align: top;
}

@media (max-width: 767.98px) {
    .visio-tldr,
    .visio-content-cta {
        padding: 22px 18px;
        border-radius: 14px;
    }
}

.tp-header-logo img {
    width:auto;
    height:36px;
}


.tp-blog-pagination {
    margin-bottom:80px;
}

/* Complianz: compact consent settings tab, clear of the back-to-top button. */
.cmplz-manage-consent {
    right: 70px !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 8px 14px !important;
    border: 0 !important;
    box-shadow: none !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
}

@media (min-width: 768px) {
    .cmplz-manage-consent {
        bottom: -18px !important;
    }

    .cmplz-manage-consent:hover,
    .cmplz-manage-consent:focus-visible {
        bottom: 0 !important;
    }
}

@media (max-width: 767.98px) {
    .cmplz-manage-consent {
        top: auto !important;
        right: auto !important;
        bottom: calc(72px + env(safe-area-inset-bottom)) !important;
        left: 0 !important;
        box-sizing: border-box !important;
        width: 22px !important;
        min-width: 22px !important;
        max-width: 22px !important;
        padding: 6px 3px !important;
        border-radius: 0 7px 7px 0 !important;
        font-size: 0 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        writing-mode: horizontal-tb !important;
        transform: none !important;
        transition: opacity .2s ease !important;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        -webkit-user-select: none;
        user-select: none;
        z-index: 2147483646 !important;
        opacity: .82 !important;
    }

    .cmplz-manage-consent::after {
        content: "Cookies";
        display: block;
        font-size: 9px !important;
        line-height: 1 !important;
        letter-spacing: .01em;
        writing-mode: vertical-rl !important;
        text-orientation: mixed !important;
        transform: rotate(180deg);
        transform-origin: center;
        pointer-events: auto;
    }

    .cmplz-manage-consent:hover,
    .cmplz-manage-consent:focus-visible {
        opacity: 1 !important;
    }
}

/* Lightweight SVG controls replace the global Font Awesome utility CSS. */
.tp-offcanvas-button-close svg,
.tp-menu-close svg {
    display: block;
    transition: color 0.3s ease, transform 0.3s ease;
}

.tp-offcanvas-button-close:hover svg,
.tp-offcanvas-button-close:focus-visible svg {
    color: var(--tp-secoundery-color);
    transform: rotate(-90deg);
}

.tp-offcanvas-menu ul li.active > .tp-menu-close > svg {
    transform: rotate(90deg);
}

/* Non-clickable reference facts retain the visual pill style without fake links. */
.tpproject__meta span {
    border-color: rgba(255, 255, 255, 0.35);
    color: var(--tp-white-color);
}

/* Semantic testimonial markup keeps the original visual typography. */
blockquote.tp-testimonail-title {
    margin: 0;
    padding: 0;
    border: 0;
}

blockquote.tp-testimonail-title p {
    margin: 0;
    color: inherit;
    font: inherit;
}

blockquote.tp-testimonail-title cite {
    font-style: normal;
}

.tp-career-box-title {
    margin-top: 0;
    margin-bottom: 0.5rem;
}
.tp-portfolio-long-bg {
    overflow: hidden;
}

.tp-portfolio-long-bg .tp-portfolio-long-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1199px) {
    .tp-hero-area {
        padding-top:0px !important;
    }
}

/* ==========================================================
   HEADER — STABLE LAYOUT FOR SAFARI, NOTEBOOKS AND IOS
   Desktop navigation starts at 1400px. Below that width the
   compact icon header prevents clipped logo/actions and wrap.
========================================================== */

#header-sticky,
#header-sticky > .container-wide,
#header-sticky .tp-header-wrap {
    box-sizing: border-box;
    max-width: 100%;
}

#header-sticky > .container-wide {
    width: 100%;
    max-width: 1860px;
}

/*
 * The homepage content lives inside ScrollSmoother, so the solid header must
 * paint its own white strip instead of relying on the document background.
 */
.tp-site-header--solid {
    position: relative;
    z-index: 100;
    min-height: 80px;
    background-color: var(--tp-white-color);
}

.tp-site-header--solid #header-sticky {
    display: flex;
    align-items: center;
    min-height: 80px;
    background-color: var(--tp-white-color);
}

.tp-site-header--solid #header-sticky.tp-header-spacing-3 {
    padding-top: 0;
}

.tp-site-header--solid #header-sticky .tp-header-spacing-2 {
    width: 100%;
    padding-top: 14px;
    padding-bottom: 14px;
}

body.home .tp-hero-area,
body.page-template-front-page .tp-hero-area {
    padding-top: 80px !important;
}

/*
 * ScrollSmoother takes #smooth-content out of normal flow after its deferred
 * JavaScript starts. Keep the solid header out of flow from the first paint
 * as well, so the hero has one stable 80/110px offset instead of two.
 * Safari receives visio-native-scroll in <head> and keeps the header in flow.
 */
html:not(.visio-native-scroll) body.home .tp-site-header--solid,
html:not(.visio-native-scroll) body.page-template-front-page .tp-site-header--solid {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
}

html.visio-native-scroll body.home .tp-site-header--solid,
html.visio-native-scroll body.page-template-front-page .tp-site-header--solid {
    position: relative;
}

#header-sticky .tp-header-wrap > .row {
    margin-right: 0;
    margin-left: 0;
}

.tp-header-cta {
    min-width: 0;
    margin-left: 0 !important;
}

.tp-header-area.header-sticky.tp-header-spacing-3 {
    padding-top: 0;
}

.header-sticky .tp-header-spacing-2 {
    padding-top: 12px;
    padding-bottom: 12px;
}

.header-sticky .tp-header-wrap {
    padding-right: 0;
    padding-left: 0;
}

@media (min-width: 1400px) {
    #header-sticky .tp-header-wrap > .row {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
    }

    #header-sticky .tp-header-logo-column {
        flex: 0 0 clamp(135px, 8.5vw, 175px);
        width: auto;
        max-width: none;
    }

    #header-sticky .tp-header-menu-column {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        max-width: none;
    }

    #header-sticky .tp-header-actions-column {
        flex: 0 0 auto;
        width: auto;
        min-width: 0;
        max-width: none;
    }

    #header-sticky .tp-header-menu {
        display: block;
        width: 100%;
        min-width: 0;
    }

    #header-sticky .tp-header-menu > nav > ul {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }
}

@media (min-width: 1800px) and (max-width: 1999px) {
    #header-sticky .tp-header-menu > nav > ul > li {
        margin-right: 12px;
        margin-left: 12px;
    }
}

@media (min-width: 1600px) and (max-width: 1799px) {
    #header-sticky .tp-header-menu > nav > ul > li {
        margin-right: 8px;
        margin-left: 8px;
    }

    #header-sticky .tp-header-menu > nav > ul > li > a {
        font-size: 15.5px;
    }
}

@media (min-width: 1400px) and (max-width: 1599px) {
    #header-sticky .tp-header-menu {
        padding-right: 5px;
        padding-left: 5px;
    }

    #header-sticky .tp-header-menu > nav > ul > li {
        margin-right: 5px;
        margin-left: 5px;
    }

    #header-sticky .tp-header-menu > nav > ul > li > a {
        font-size: 14.5px;
    }

    #header-sticky .tp-header-cta-phone {
        margin-right: 10px !important;
    }

    #header-sticky .tp-header-client-zone {
        margin-right: 10px;
    }

    #header-sticky .tp-header-cta-button .tp-btn {
        padding-right: 15px;
        padding-left: 15px;
    }
}

@media (max-width: 1399px) {
    .tp-site-header--solid {
        min-height: 80px;
    }

    .tp-site-header--solid #header-sticky .tp-header-spacing-2 {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .tp-header-area.tp-header-spacing-3 {
        padding-top: 0;
    }

    #header-sticky .tp-header-spacing,
    #header-sticky .tp-header-spacing-2 {
        padding-top: 14px;
        padding-bottom: 14px;
    }

    #header-sticky.header-sticky .tp-header-spacing,
    #header-sticky.header-sticky .tp-header-spacing-2 {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    #header-sticky .tp-header-logo-column {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        max-width: none;
    }

    #header-sticky .tp-header-menu-column {
        flex: 0 0 0;
        width: 0;
        max-width: 0;
        overflow: hidden;
    }

    #header-sticky .tp-header-actions-column {
        flex: 0 0 auto;
        width: auto;
        max-width: none;
    }

    #header-sticky .tp-header-mobile-actions {
        display: flex;
    }

    #header-sticky .tp-header-bar .header-sidebar-btn {
        width: 44px;
        min-width: 44px;
        height: 44px;
        min-height: 44px;
    }

    #header-sticky .tp-header-wrap,
    #header-sticky.header-sticky .tp-header-wrap {
        padding-right: 0;
        padding-left: 0;
    }
}

@media (max-width: 767px) {
    #header-sticky .tp-header-logo img {
        width: auto;
        max-width: 110px;
        height: 34px;
    }
}

@media (max-width: 374px) {
    .tp-site-header--solid {
        min-height: 80px;
    }

    .tp-site-header--solid #header-sticky .tp-header-spacing-2 {
        padding-top: 22px;
        padding-bottom: 22px;
    }

    .tp-header-area.container-wide,
    .tp-header-area > .container-wide {
        padding-right: 12px;
        padding-left: 12px;
    }

    #header-sticky .tp-header-logo img {
        max-width: 90px;
        height: 29px;
    }

    #header-sticky .tp-header-cta,
    #header-sticky .tp-header-mobile-actions {
        gap: 5px;
    }

    #header-sticky .tp-header-mobile-action {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
    }

    #header-sticky .tp-header-mobile-action svg {
        width: 17px;
        height: 17px;
    }

    #header-sticky .tp-header-bar .header-sidebar-btn {
        width: 36px;
        min-width: 36px;
        height: 36px;
        min-height: 36px;
    }
}

@media (min-width: 992px) {
    .tp-site-header--solid {
        min-height: 110px;
    }

    .tp-site-header--solid #header-sticky:not(.header-sticky) {
        min-height: 110px;
    }

    body.home .tp-hero-area,
    body.page-template-front-page .tp-hero-area {
        padding-top: 110px !important;
    }
}

/* Desktop menu: the grey pill follows the UL instead of filling its column. */
@media (min-width: 1400px) {
    #header-sticky .tp-header-menu-column {
        text-align: center;
    }

    #header-sticky .tp-header-menu {
        width: max-content;
        max-width: 100%;
        padding-right: clamp(14px, 1vw, 24px);
        padding-left: clamp(14px, 1vw, 24px);
        margin-right: auto;
        margin-left: auto;
    }

    #header-sticky .tp-header-menu > nav > ul {
        width: max-content;
        max-width: 100%;
        column-gap: clamp(14px, 1.05vw, 22px);
    }

    #header-sticky .tp-header-menu > nav > ul > li {
        margin-right: 0;
        margin-left: 0;
    }

    #header-sticky .tp-header-menu > nav > ul > li > a {
        font-size: clamp(14.5px, .9vw, 17px);
    }
}

/* Safari keeps the solid header in normal flow, so it needs no second offset. */
html.visio-native-scroll body.home .tp-hero-area,
html.visio-native-scroll body.page-template-front-page .tp-hero-area {
    padding-top: 0 !important;
}
