/*!
Theme Name: Intraservis Centr
Text Domain: intraservis
Domain Path: /languages
Author: ViktoR.
Description: A custom theme for Intraservis, built with Tailwind CSS.
Version: 1.0
*/

:root {
    --container-max: 1920px
}

* {
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box
}

html,
body {
    margin: 0;
    height: 100%;
    scroll-behavior: smooth
}

p, h1, h2, h3, h4, li {
    text-wrap: pretty;
}

h1, h2, h3 {
    text-wrap: balance; 
}

a {
    text-decoration: none
}

button:focus-visible {
    outline: 2px solid #4a90e2 !important;
    outline: -webkit-focus-ring-color auto 5px !important
}

.hide-scrollbar::-webkit-scrollbar {
    display: none
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none
}

.js-drag-scroll {
    will-change: scroll-position
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem
}

@media (min-width:768px) {
    .container {
        padding-left: 2.5rem;
        padding-right: 2.5rem
    }
}

@media (min-width:1024px) {
    .container {
        padding-left: 120px;
        padding-right: 120px
    }
}

.form-container-with-triangle {
    position: relative
}

.form-container-with-triangle::before {
    content: "";
    position: absolute;
    background-color: inherit;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-top: 32px solid;
    border-top-color: inherit;
    z-index: 10
}

@media (min-width:1024px) {
    .form-container-with-triangle::before {
        bottom: auto;
        top: 0;
        left: 1px;
        height: 100%;
        width: auto;
        aspect-ratio: 5/12;
        transform: translateX(-100%);
        clip-path: polygon(0 50%, 100% 0, 100% 100%);
        border: none;
        background-color: #f5f6f7
    }
}

.right-column-image {
    display: block
}

@media (min-width:1024px) {
    .right-column-image {
        clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%, 0 18%)
    }
}

.callout-with-top-triangle {
    position: relative
}

.callout-with-top-triangle::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 24px;
    width: 0;
    height: 0;
    border-left: 32px solid transparent;
    border-right: 32px solid transparent;
    border-top: 32px solid #f5f6f7;
    z-index: 20
}

.about-section {
    width: 100%;
    background: #ffffff;
    padding-top: 3rem;
    padding-bottom: 3rem
}

@media (min-width:768px) {
    .about-section {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem
    }
}

@media (min-width:1024px) {
    .about-section {
        padding-top: 6rem;
        padding-bottom: 6rem
    }
}

.about-section-title {
    color: #0085d2;
    font-weight: 300;
    text-align: left;
    margin-bottom: 30px
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem 1.5rem
}

@media (min-width:768px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (min-width:1024px) {
    .about-grid {
        grid-template-columns: repeat(4, 1fr)
    }
}

.about-card {
    display: flex;
    flex-direction: column;
    width: 100%
}

.about-card-img {
    position: relative;
    width: 100%;
    background: #f5f6f7;
    overflow: hidden;
    cursor: pointer;
    pointer-events: auto;
    aspect-ratio: 3/4
}

.about-card-img img {
    width: 100%;
    height: 100%;
    padding: 1px;
    object-fit: cover;
    pointer-events: auto
}

.about-card-name {
    color: #01527A;
    font-weight: 600;
    font-size: 26px;
    line-height: 28px;
    margin-top: 21px
}

.about-card-role {
    color: #01527A;
    font-size: 13px;
    line-height: 13px;
    margin-top: 9px
}

.about-detail-panel {
    display: block;
    background: #f3f4f6;
    padding: 2rem;
    border-radius: 0.5rem;
    position: relative;
    margin-top: 0.5rem;
    grid-column: 1 / -1
}

.about-detail-name {
    font-weight: 600;
    font-size: 1.5rem;
    color: #01527A
}

.about-detail-role {
    font-size: 0.875rem;
    color: #01527A;
    margin-bottom: 1rem
}

.about-detail-desc {
    font-size: 1rem;
    color: #01527A;
}

.cta-banner {
    position: relative;
    width: 100%
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr
}

@media (min-width:768px) {
    .cta-grid {
        grid-template-columns: 2fr 3fr
    }
}

@media (min-width:1024px) {
    .cta-grid {
        grid-template-columns: 7fr 13fr
    }
}

/* .cta-left {
    position: relative;
    height: 192px;
    overflow: hidden
}

@media (min-width:768px) {
    .cta-left {
        height: 260px
    }
}

@media (min-width:1024px) {
    .cta-left {
        height: 280px;
    }
}

.cta-right {
    position: relative;
    display: flex;
    align-items: center;
    height: 192px;
    background: linear-gradient(to bottom, #0085d2, #00abec)
}

@media (min-width:768px) {
    .cta-right {
        height: 260px
    }
}

@media (min-width:1024px) {
    .cta-right {
        height: 280px;
    }
} */

.cta-right .cta-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem
}

@media (min-width:768px) {
    .cta-right .cta-inner {
        padding-left: 3rem;
        padding-right: 3rem
    }
}

@media (min-width:1024px) {
    .cta-right .cta-inner {
        padding-left: 0;
        padding-right: 60px
    }
}

.cta-separators {
    border-top: 1px solid rgba(255, 255, 255, .5);
    border-bottom: 1px solid rgba(255, 255, 255, .5)
}

.alignleft {
    float: left;
    margin-right: 1rem;
    margin-bottom: 1rem
}

.alignright {
    float: right;
    margin-left: 1rem;
    margin-bottom: 1rem
}

.aligncenter {
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-top: 1rem;
    margin-bottom: 1rem
}

.wp-caption {
    font-size: 0.875rem;
    color: #6b7280
}

.social-icon {
    width: 18px;
    height: 18px
}

.top-corrector {
    margin-top: -1px;
}

.triangle-bottom-right {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 0;
    height: 0;
    border-bottom: 100px solid #f5f6f7;
    border-left: 100px solid transparent;
    z-index: 10;
}

.triangle-top-left {
    position: absolute;
    top: -1px;
    left: -1px;
    width: 0;
    height: 0;
    border-top: 100px solid #f5f6f7;

    border-right: 100px solid transparent;
    z-index: 10;
}

.corner-overlay {
    pointer-events: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
}
.corner-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-top: 60px solid #f5f6f7;
    border-right: 60px solid transparent;
}
.corner-overlay::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-bottom: 60px solid #f5f6f7;
    border-left: 60px solid transparent;
}

.text-content-responsive {
    font-family: "Segoe UI";
    font-weight: 400;
    color: #000000;
    font-size: 1rem;
    line-height: 1.625;
    letter-spacing: 0.12px;
}

@media (min-width: 768px) {
    .text-content-responsive {
        font-size: 1.125rem;
        line-height: 26px;
        letter-spacing: 0.14px;
    }
}

@media (min-width: 1024px) {
    .text-content-responsive {
        font-size: 20px;
        line-height: 31px;
        letter-spacing: 0.16px;
    }
}

.entry-content {
    color: #000000;
    font-family: "Segoe UI";
    font-size: 1rem;
    line-height: 1.625;
    letter-spacing: 0.12px;
}
.entry-content p { margin-bottom: 20px; }
.entry-content strong { font-weight: 700; color: #000000; }
.entry-content a { color: #0085d2; }
.entry-content a:hover { opacity: .8; }
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: #090909;
    font-weight: 600;
    margin-top: 1.25rem;
    margin-bottom: .75rem;
}
.entry-content h1 { font-size: 2rem; line-height: 1.2; }
.entry-content h2 { font-size: 26px; line-height: 28px; letter-spacing: 0.52px; }
.entry-content h3 { font-size: 1.5rem; line-height: 1.3; }
.entry-content h4 { font-size: 1.25rem; line-height: 1.35; }
.entry-content h5 { font-size: 1.125rem; line-height: 1.4; }
.entry-content h6 { font-size: 1rem; line-height: 1.45; }
.entry-content ul { list-style: none; margin-left: 0; padding-left: 28px; margin-bottom: 1.25rem; }
.entry-content ol { list-style: decimal; list-style-position: outside; margin-left: 0; padding-left: 24px; margin-bottom: 1.25rem; }
.entry-content li { margin-bottom: 2px; line-height: inherit; }
.entry-content ul li { position: relative; padding-left: 15px; }
.entry-content ul li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; background: #090909; border-radius: 50%; }
.entry-content li:last-child { margin-bottom: 0; }
.entry-content p + ul, .entry-content p + ol { margin-top: 16px; }
.entry-content h2 + ul { margin-top: 20px; }
.entry-content ul + p, .entry-content ol + p { margin-top: 24px; }
.entry-content blockquote {
    border-left: 4px solid #0085d2;
    padding-left: 20px;
    font-style: italic;
    color: #090909;
    margin: 1.5rem 0;
}
.entry-content .wp-block-quote { border-left: 4px solid #0085d2; padding-left: 20px; font-style: italic; color: #090909; margin: 1.5rem 0; }
.entry-content .wp-block-pullquote { border-left: 4px solid #0085d2; padding-left: 20px; font-style: italic; color: #090909; margin: 1.5rem 0; }
.entry-content figure { margin: 1.5rem 0; }
.entry-content .wp-block-image img { border-radius: .5rem; }
.entry-content .wp-block-image figcaption { font-size: .875rem; color: #6b7280; margin-top: .5rem; text-align: center; }
.entry-content .wp-block-table table { width: 100%; border-collapse: collapse; }
.entry-content .wp-block-table th,
.entry-content .wp-block-table td { border: 1px solid #e5e7eb; padding: .75rem; text-align: left; }
.entry-content .wp-block-buttons .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    padding: .5rem 1rem;
    border-radius: .375rem;
    background: #0085d2;
    color: #ffffff;
    font-weight: 600;
}

.triangle-divider {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-top: 40px solid #ffffff;
}

.triangle-divider.triangle-dark-blue {
    border-top-color: #006eb6;
}

.triangle-divider.triangle-soft-white {
    border-top-color: #f5f6f7;
}
.entry-content .wp-block-buttons .wp-block-button__link:hover { background: #01527a; }

@media (min-width: 768px) {
    .entry-content { font-size: 1.125rem; line-height: 26px; letter-spacing: 0.14px; }
}

@media (min-width: 1024px) {
    .entry-content { font-size: 20px; line-height: 31px; letter-spacing: 0.16px; }
}

.page-hero-title {
    font-family: "Segoe UI";
    text-align: center;
    font-weight: 500;
    color: #0085d2;
    font-size: 36px;
    line-height: 78px;
    letter-spacing: 1.44px;
}

@media (min-width: 640px) {
    .page-hero-title { font-size: 48px; }
}

@media (min-width: 768px) {
    .page-hero-title { font-size: 60px; }
}

@media (min-width: 1024px) {
    .page-hero-title { font-size: 72px; }
}

.scroll-top[hidden] { display: none!important }
.scroll-top { position: fixed; left: clamp(12px,2vw,24px); bottom: clamp(12px,2vw,24px); z-index: 50 }
.scroll-top__btn {position: relative;width: 51px;height: 51px;border-radius: 9999px;display: flex;align-items: center;justify-content: center;background-color: #ffffff;transition: transform .15s ease, box-shadow .15s ease}
.scroll-top__btn:focus-visible, .scroll-top__btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,.16); outline: 0 }
.scroll-top__svg { position: absolute; inset: 0; pointer-events: none }
.scroll-top__bg { fill: none; stroke: rgba(0,0,0,.08); stroke-width: 6 }
.scroll-top__progress { fill: none; stroke: #0085d2; stroke-width: 6; transform-origin: 50% 50%; transform: rotate(-90deg); transition: stroke-dashoffset .2s linear }
.scroll-top__arrow { display: block; width: 14px; height: 14px; margin-top: 5px; border-left: 2px solid #0085d2; border-top: 2px solid #0085d2; transform: rotate(45deg) }
.scroll-top__btn:focus-visible .scroll-top__arrow, .scroll-top__btn:hover .scroll-top__arrow { border-color: #01527a }
@media (max-width:480px){ .scroll-top__btn, .scroll-top__svg { width: 44px; height: 44px } }

