/* The contact page's social identity is shared by all screen sizes. */
body.page-id-178 .elementor .elementor-element-f9edb0a a.elementor-social-icon-linkedin {
    background-color: var(--e-global-color-primary, #8bd9bd) !important;
    color: white !important;
}
body.page-id-178 .elementor .elementor-element-f9edb0a .elementor-social-icon-linkedin svg {
    fill: white !important;
}

body .elementor[data-elementor-type="wp-page"] {
    --rp-diagonal-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23141d1a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 16 16 4M5 4h11v11'/%3E%3C/svg%3E");
}
body:is(.page-id-174,.page-id-1982) .elementor[data-elementor-type="wp-page"] .e-grid:is(.elementor-element-873e2f4,.elementor-element-8dc63fa) h3 a::after {
    content: "Čítať prípadovú štúdiu" !important;
    padding-right: 40px !important;
    background-image: var(--rp-diagonal-arrow) !important;
    background-repeat: no-repeat !important;
    background-size: 14px 14px !important;
    background-position: right 17px center !important;
}

@media (max-width: 767px) {
    .kh-study .kh-read > span[aria-hidden] {
        font-size: 0 !important;
        width: 14px;
        height: 14px;
        background: var(--rp-diagonal-arrow) center / contain no-repeat;
    }
    .elementor.e-loop-item.type-post .elementor-element-65f95b6 .elementor-icon-list-icon :is(svg,path) {
        fill: var(--e-global-color-primary, #8bd9bd) !important;
    }

    body.rp-responsive-page .elementor[data-elementor-type="wp-page"] {
        & .e-con:is(.elementor-element-6c01593b,.elementor-element-2696f499,.elementor-element-b85f2dc) {
            display: grid !important;
            grid-template-columns: minmax(0,1fr) minmax(0,max-content) !important;
            column-gap: 10px !important;
            row-gap: 16px !important;
            align-items: center !important;
            & > * { grid-column: 1 / -1; min-width: 0; }
            & > :first-child { grid-area: 1 / 1 !important; }
            & .kh-archive-cta, & .elementor-element-0462e9e {
                grid-area: 1 / 2 !important;
                width: fit-content !important;
                max-width: 38vw !important;
                justify-self: end;
                align-self: center !important;
            }
            & .kh-heading .elementor-heading-title, & .elementor-element-7238f47 h2 { text-align: left !important; }
            & .kh-archive-cta .elementor-button, & .elementor-element-34996c8 a {
                white-space: normal !important;
                padding: 9px 12px !important;
                font-size: 14px !important;
                line-height: 1.22 !important;
                text-align: center;
            }
            & .elementor-element-cfe2d02 { display: contents !important; }
            & .elementor-element-929f12a { grid-column: 1 / -1 !important; grid-row: 2 !important; }
        }
        /* Let the three portraits overlap slightly on phones while keeping one face per card. */
        & .elementor-element-9ea7de6.e-con {
            margin: 26px 0 12px !important;
            width: 100% !important;
            & > .e-con {
                width: 38% !important;
                height: auto !important;
                min-height: 0 !important;
                aspect-ratio: 4/5;
                padding: 0 !important;
                background-size: cover !important;
                background-position: center 30% !important;
                background-repeat: no-repeat !important;
            }
            & .elementor-element-f6553d3 { left: 6% !important; }
            & .elementor-element-b56d866 { left: 56% !important; }
        }
        & .e-grid:is(.elementor-element-202180e,.elementor-element-dac6267,.elementor-element-62491af,.elementor-element-a36976d,
            .elementor-element-1b5391e,.elementor-element-7c0689b,.elementor-element-980d06e,.elementor-element-2dd1d4e) {
            grid-template-columns: minmax(0,1fr) !important;
            grid-template-rows: auto auto !important;
            & > .e-con { grid-column: 1 !important; grid-row: 1 !important; }
            & > .e-con:has(> .elementor-widget-heading:nth-child(2)) {
                grid-row: 2 !important;
                & > .elementor-widget-heading:nth-child(2) .elementor-heading-title {
                    font-size: 17px !important;
                    font-weight: 400 !important;
                    line-height: 1.4 !important;
                }
            }
        }
        & .e-con:is(.elementor-element-cf9bd93,.elementor-element-e62dfea,.elementor-element-7942637) {
            padding-block: 32px !important;
            height: auto !important;
            min-height: 0 !important;
        }
        & .e-con.elementor-element-93b824d {
            width: 100% !important;
            margin-inline: 0 !important;
            padding-inline: 0 !important;
            grid-template-columns: minmax(0,1fr) !important;
        }
        & .elementor-element-b8b8e6f li::before {
            content: "" !important;
            background-image: var(--rp-diagonal-arrow) !important;
            background-position: center !important;
            background-size: 12px 12px !important;
            background-repeat: no-repeat !important;
        }
        & > .e-con.e-parent:is(.elementor-element-8323fed,.elementor-element-13b013c) { padding-inline: 12px !important; }
        & .e-con.elementor-element-83be318 { padding-inline: 0 !important; }
        & .elementor-element-d181aae h1 { font-size: clamp(24px,7.65vw,36px) !important; line-height: 1.12 !important; }
        & .elementor-element-1f9a2cf {
            & .elementor-heading-title { font-weight: 400 !important; }
            & .elementor-icon-list-text { font-weight: 500 !important; }
            & .elementor-icon-list-item, & .elementor-icon-list-item > a { align-items: flex-start !important; }
            & .elementor-icon-list-icon { align-self: flex-start; height: 24px; display: inline-flex; align-items: center; }
        }
        & .elementor-element-059c5d5 > .e-con {
            display: grid !important;
            width: 100% !important;
            grid-template-columns: 48px minmax(0,1fr) !important;
            align-items: center !important;
            gap: 10px !important;
            & > .e-con {
                width: 48px !important;
                max-width: 48px !important;
                height: 48px !important;
                min-height: 0 !important;
                padding: 0 !important;
                display: grid !important;
                place-content: center !important;
                & .elementor-widget-icon { width: auto !important; margin: 0 !important; }
                & :is(.elementor-icon-wrapper,.elementor-icon) { display: grid; place-items: center; line-height: 1; }
            }
        }
    }
    body.page-id-2737 .elementor.elementor-2737[data-elementor-type="wp-page"] {
        & .elementor-element-3ddf3ef.e-con {
            width: 100% !important;
            aspect-ratio: 1672 / 941 !important;
            height: auto !important;
            min-height: 0 !important;
            padding: 0 !important;
            background-size: contain !important;
            background-position: center !important;
            background-repeat: no-repeat !important;
        }
        & div.elementor-heading-title { font-size: var(--rp-body) !important; line-height: 1.5 !important; }
        & .elementor-element-f0b2664 { gap: 12px !important; }
        & .elementor-element-125d67d, & .elementor-element-c3caf2d h2 { text-align: left !important; align-items: flex-start !important; }
        & .e-grid:is(.elementor-element-b70de9b,.elementor-element-8730bf2) {
            display: grid !important;
            grid-template-columns: minmax(0,1fr) !important;
            gap: 20px !important;
            & > .e-con {
                position: relative !important;
                display: grid !important;
                grid-template-columns: 48px minmax(0,1fr) !important;
                gap: 12px !important;
                width: 100% !important;
                padding: 0 !important;
                align-items: start !important;
                & > .e-con:first-child {
                    margin: 0 !important;
                    width: 48px !important;
                    height: 48px !important;
                    padding: 0 !important;
                    display: grid !important;
                    place-content: center !important;
                    & .elementor-heading-title {font-size: 16px !important; line-height: 24px !important;}
                }
                & > .e-con:nth-child(2) {
                    min-width: 0; width: 100% !important;
                    align-items: flex-start !important; gap: 4px !important;
                    & .elementor-heading-title { text-align: left !important; font-size: 16px !important; line-height: 24px !important; }
                }
                /* Elementor puts whitespace inside the old connector containers. */
                & > .e-con:nth-child(3):not(:has(*)) { display: none !important; }
                &:not(:last-child)::before {
                    content: "" !important; position: absolute !important;
                    left: 24px !important; top: 48px !important; bottom: -20px !important;
                    width: 0 !important; height: auto !important; transform: translateX(-50%) !important;
                    border: 0 !important; border-left: 2px solid #8bd9bd !important;
                    background: none !important; opacity: 1 !important; pointer-events: none;
                }
            }
        }
        & .elementor-element-8730bf2.e-grid > .e-con:not(:last-child)::before { border-left: 1px dashed currentColor !important; opacity: .35 !important; }
        & .e-con.elementor-element-3e8b2e8 { gap: 20px !important; }
        & .elementor-element-3bc6ddf {
            --simulation-gap: 20px;
            gap: var(--simulation-gap) !important;
            & > .e-grid { gap: var(--simulation-gap) !important; }
            & .elementor-element-bf2a335::after { content: none !important; }
            & > .e-grid > .e-con { position: relative; overflow: visible; }
            & > .e-grid > .e-con:not(.elementor-element-d80407c)::after {
                content: "" !important; position: absolute; left: 50%; top: 100%;
                width: 1px; height: var(--simulation-gap); background: #161616; pointer-events: none;
            }
        }
        & .e-parent.elementor-element-e6916ce { padding-inline: var(--rp-inset) !important; }
        & .e-con.elementor-element-57480bc { padding: 0 !important; }
        & .e-con.elementor-element-0a5ce5f { width: 100% !important; margin: 0 !important; padding: 24px !important; }
        & .elementor-element-d3345f6 { grid-template-columns: minmax(0,1fr) !important; gap: 16px !important; }
        & .elementor-element-875817b .elementor-heading-title { font-size: var(--rp-h3) !important; line-height: 1.22 !important; }
    }
}
