:root {
    --primary: #003a49;
    --accent: #e6bd00;
}

body {
    padding-top: 80px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 1000;
    background: #fff;
    color: var(--primary);
    padding: 8px 12px;
}

.skip-link:focus {
    left: 12px;
}

header.site-header,
.header.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    margin-top: 0;
    width: 100%;
    min-height: 80px;
    background-color: #fff;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
}

.site-header .container-flex {
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 15px;
    min-height: 80px;
}

.site-header .container-flex::after {
    content: "";
    display: table;
    clear: both;
}

.site-header .logo {
    float: left;
    margin-top: 17px;
    margin-left: 15px;
}

.site-nav {
    float: right;
    display: block;
}

.header-right {
    float: right;
}

.site-nav .moduletable_menu {
    float: left;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
}

.banner:not(.hero-banner) {
    box-sizing: border-box;
    width: min(100%, 1600px);
    max-width: 1600px;
    margin: -80px auto 0;
    padding: 80px 15px 0;
    overflow: hidden;
}

.banner:not(.hero-banner) .banner-media {
    overflow: hidden;
    line-height: 0;
    width: 100%;
}

.banner:not(.hero-banner) .banner-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    aspect-ratio: 2400 / 435;
    object-fit: cover;
    border-radius: 0;
}

.content .banner:not(.hero-banner) .oznam p {
    margin: 0;
}

.banner:not(.hero-banner) .oznam {
    padding: 12px 15px;
}

.banner:not(.hero-banner) .oznam p {
    line-height: 1.45;
}

@media (max-width: 991px) {
    .banner:not(.hero-banner) {
        padding-top: 60px;
        margin-top: -60px;
    }
}

@media (max-width: 768px) {
    .banner:not(.hero-banner) {
        padding-top: 50px;
        padding-left: 0;
        padding-right: 0;
    }

    .banner:not(.hero-banner) .banner-media {
        min-height: 130px;
    }

    .banner:not(.hero-banner) .banner-image {
        width: 100%;
        max-width: 100%;
        height: 130px;
        min-height: 130px;
        aspect-ratio: auto;
        object-fit: cover;
        object-position: center;
        margin-left: 0;
    }

    .banner:not(.hero-banner) .oznam {
        position: static;
        padding: 8px 12px;
    }

    .banner:not(.hero-banner) .oznam p {
        font-size: 11px;
        line-height: 1.4;
    }

    .banner:not(.hero-banner) .oznam p::before {
        width: 12px;
        height: 12px;
        background-size: 12px 12px;
        margin-right: 8px;
        top: 1px;
    }
}

.item-page.left:not(.kontakty):not(.kariera) h1:not(.title),
.item-page.left:not(.kontakty):not(.kariera) > .container > h1 {
    background-image: linear-gradient(#f2ca00, #f2ca00);
    background-size: 120px 3px;
    background-repeat: no-repeat;
    background-position: bottom center;
}

.item-page.left:not(.kontakty):not(.kariera) h1:not(.title),
.item-page.left:not(.kontakty):not(.kariera) > .container > h1 {
    text-align: center;
}

.item-page.left.kontakty h1 {
    text-align: left;
    background-position: bottom left;
}

.item-page.left.kariera h1 {
    text-align: left;
    background-position: bottom left;
}

.content-bottom-2 .dopyt .contact-form {
    margin-top: 0;
    max-width: none;
}

.content-bottom-2 .dopyt .rsform-block-odoslat {
    text-align: center;
}

.content-bottom-2 .dopyt .rsform-block-odoslat .btn-default {
    min-width: 180px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    color: #003a49;
    background: #fff;
    border: 1px solid #003a49;
}

.content-bottom-2 .dopyt .rsform-block-odoslat .btn-default:hover {
    background: #0f8299;
    border-color: #0f8299;
    color: #fff;
}

.page-body img {
    max-width: 100%;
    height: auto;
}

.page-body a:not(.btn):not(.btn-default):not(.btn-dopyt) {
    color: #0f8299;
    text-decoration: underline;
}

.page-body a:not(.btn):not(.btn-default):not(.btn-dopyt):hover {
    color: #003a49;
    text-decoration: none;
}

/* Montáž/Servis: úvodný odsek pred .montaz (SK podľa okrajov) */
.item-page.left.page-assembly .page-body > p:first-child:has(+ .montaz),
.item-page.left.page-service .page-body > p:first-child:has(+ .montaz) {
    text-align: left;
    font-size: inherit;
}

/* Montáž/Servis EN/DE: ostatné stránky s .montaz – centrovaný úvod */
.item-page:not(.stroje):not(.kariera):not(.page-assembly):not(.page-service) .page-body > p:first-child:has(+ .montaz) {
    text-align: center;
    font-size: 17px;
}

/* Výroba: galéria a nadpis na stred, úvodný text podľa okrajov (ako SK) */
.item-page.left .page-body:has(> p.text-center .btn) > p.text-center,
.item-page.left .page-body:has(> p.text-center .btn) > p.h2.text-center {
    text-align: center !important;
}

/* Výroba a ostatné: úvodný text vľavo (okrem .text-center / .h2) */
.item-page:not(.stroje):not(.kariera) .page-body > p:first-child:not(.text-center):not(.h2):not(:has(+ .montaz)) {
    text-align: left;
    font-size: inherit;
}

.item-page:not(.stroje):not(.kariera) .page-body > p:first-child:has(> strong:only-child) {
    text-align: left;
    font-size: inherit;
}

.item-page .page-body > p:first-child strong {
    display: inline;
    font-weight: 700;
}

.item-page .page-body > p:first-child:has(> strong:only-child) strong {
    display: block;
    text-align: left;
    font-weight: 900;
    color: #003a49;
}

.item-page .page-body:has(.item-image) > p,
.item-page .page-body:has(.item-image) > ul {
    text-align: left;
    font-size: inherit;
}

.item-page:not(.stroje):not(.kariera) .page-body:has(.item-image) > p:first-child,
.item-page:not(.stroje):not(.kariera) .page-body:has(.item-image) > p:nth-child(2),
.item-page:not(.stroje):not(.kariera) .page-body:has(.item-image) > p {
    text-align: left;
    font-size: inherit;
}

.item-page:not(.stroje):not(.kariera) .page-body:has(> p:nth-child(2) + .montaz) > p {
    text-align: left;
    font-size: inherit;
}

.item-page .page-body .item-image {
    float: right;
    width: 50%;
    margin-left: 20px;
    margin-bottom: 20px;
}

.item-page .page-body .item-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .item-page .page-body .item-image {
        float: none !important;
        width: 100%;
        margin-left: 0;
    }
}

.content .page-body > ul > li,
.item-page .page-body > ul > li {
    list-style: none;
    line-height: 24px;
    margin-bottom: 15px;
    padding-left: 1em;
    background: url("/images/chevron-right.svg") no-repeat left 0.5em;
}

.content .page-body > ul,
.item-page .page-body > ul {
    padding-left: 1em;
    margin-bottom: 30px;
}

.item-page.kariera.career-job .page-body,
.item-page.kariera-job .page-body {
    float: none;
    width: 100%;
}

.item-page .montaz {
    position: relative;
    overflow: visible;
    min-height: 380px;
    margin-top: 80px;
}

/* Live uses .item-page 8.333% padding; local .left + nested .container broke overlap. */
.item-page.left:has(.montaz) {
    max-width: 1170px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 8.333%;
    padding-right: 8.333%;
}

.item-page.left:has(.montaz) > .container.content-box {
    max-width: none;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.item-page .montaz .text {
    float: left;
    width: 370px;
    max-width: none;
    color: #fff;
    padding: 40px;
    text-align: left;
    margin-top: 40px;
    margin-left: 5%;
    position: absolute;
    z-index: 2;
    border-radius: 5px;
    background: linear-gradient(to right, #0f8299, #003a49);
    box-shadow: 10px 10px 20px 0 rgba(0, 0, 0, 0.15);
    font-size: 15px;
    line-height: 1.45;
}

.item-page .montaz .text p {
    margin: 0;
    color: #fff;
    text-align: left;
    font-size: inherit;
    line-height: inherit;
}

.item-page .montaz .text h3 {
    margin: 0;
    font-size: inherit;
    font-weight: 400;
    line-height: inherit;
    color: #fff;
    text-align: left;
}

.item-page .montaz .text p + p {
    margin-top: 0;
}

.item-page .montaz .text p strong {
    color: #fff;
    font-weight: 700;
}

.item-page .montaz .img1,
.item-page .montaz .img2 {
    float: right;
    width: 50%;
    margin-bottom: 10px;
    margin-right: 10%;
    position: relative;
    z-index: 1;
}

.item-page .montaz .img1 img,
.item-page .montaz .img2 img {
    border-radius: 5px;
    width: 100%;
    display: block;
}

@media (max-width: 1199px) {
    .item-page .montaz .text {
        margin-left: 0;
    }

    .item-page .montaz .img1,
    .item-page .montaz .img2 {
        margin-right: 0;
        width: 58.888%;
    }
}

@media (max-width: 991px) {
    .item-page .montaz {
        margin-top: 0;
        min-height: 0;
    }

    .item-page .montaz .text {
        width: 300px;
    }

    .item-page .montaz .img1,
    .item-page .montaz .img2 {
        width: 58.333%;
    }
}

@media (max-width: 768px) {
    .item-page.left:has(.montaz),
    .breadcrumb-section--montaz {
        padding-left: 0;
        padding-right: 0;
    }

    .item-page .montaz .text,
    .item-page .montaz .img1,
    .item-page .montaz .img2 {
        float: none;
        width: 100%;
        max-width: none;
        margin: 0 0 10px;
        position: relative;
    }

    .item-page .montaz .text {
        padding: 30px;
    }
}

.mapa iframe {
    width: 100%;
    border: 0;
    border-radius: 5px;
}

.item-page.kontakty > .container > .row.contact-columns {
    display: flex;
    flex-wrap: wrap;
}

.item-page.kontakty > .container > .row.contact-columns > .moduletable.kontakt {
    float: none;
    display: flex;
    flex-direction: column;
}

.content .item-page.kontakty .moduletable.kontakt h2 {
    height: auto !important;
    min-height: 2.875em;
    box-sizing: content-box;
}

.item-page.kontakty .moduletable.kontakt h2 {
    line-height: 1em;
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    overflow: visible;
    box-sizing: content-box;
}

.item-page.kontakty .moduletable.kontakt h2 em {
    display: block;
    font-style: normal;
    font-size: 18px;
    line-height: 20px;
    height: 2em;
    min-height: 2em;
    overflow: hidden;
}

html[lang="en"] .item-page.kontakty .moduletable.kontakt h2 em,
html[lang="de"] .item-page.kontakty .moduletable.kontakt h2 em {
    height: 2em;
    min-height: 2em;
    line-height: 18px;
}

/* Long EN/DE titles (e.g. Reparatur- und Montagestätte) wrap to 2 lines */
html[lang="en"] .item-page.kontakty > .container > .row.contact-columns > .moduletable.kontakt h2,
html[lang="de"] .item-page.kontakty > .container > .row.contact-columns > .moduletable.kontakt h2 {
    min-height: 3.5em;
}

html[lang="en"] .item-page.kontakty .moduletable.kontakt > p,
html[lang="de"] .item-page.kontakty .moduletable.kontakt > p {
    line-height: 1.35;
    margin-bottom: 0;
}

html[lang="en"] .item-page.kontakty .moduletable.kontakt > p:first-of-type,
html[lang="de"] .item-page.kontakty .moduletable.kontakt > p:first-of-type {
    margin-top: 0;
    margin-bottom: 0;
}

html[lang="en"] .item-page.kontakty .moduletable.kontakt > p:last-of-type,
html[lang="de"] .item-page.kontakty .moduletable.kontakt > p:last-of-type {
    margin-bottom: 8px;
}

.item-page.kontakty .moduletable.kontakt > p:first-of-type {
    min-height: 4.5em;
    margin-top: 2px;
    margin-bottom: 6px;
}

.item-page.kontakty .moduletable.kontakt > p:last-of-type {
    min-height: 4.5em;
    margin-bottom: 12px;
}

.item-page.kontakty .mapa iframe {
    height: 250px;
    min-height: 0;
}

.item-page.kontakty .moduletable.kontakt a {
    text-decoration: underline;
}

#form-feedback {
    scroll-margin-top: 90px;
    scroll-margin-bottom: 40px;
}

.content-bottom-2.kontakty-form {
    scroll-margin-top: 90px;
}

.content-bottom-2.kontakty-form .dopyt {
    width: 100%;
    box-sizing: border-box;
}

.content-bottom-2.kontakty-form .dopyt .contact-form.rsform::after {
    content: "";
    display: table;
    clear: both;
}

.content-bottom-2.kontakty-form .dopyt .rsform-block input.form-control,
.content-bottom-2.kontakty-form .dopyt .rsform-block textarea.form-control {
    width: 100%;
    box-shadow: none;
    background: transparent;
}

.content-bottom-2.kontakty-form .dopyt .rsform-block-odoslat .btn-default {
    min-width: 180px;
    line-height: 50px;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #0f8299 !important;
    background: #fff;
    border: 1px solid #0f8299;
}

.content-bottom-2.kontakty-form .dopyt .rsform-block-odoslat .btn-default:hover,
.content-bottom-2.kontakty-form .dopyt .rsform-block-odoslat .btn-default:focus {
    background: #0f8299;
    border-color: #0f8299;
    color: #fff !important;
}

.item-page.kariera > .container::after {
    content: "";
    display: table;
    clear: both;
}

.item-page.kariera .dopyt.career-dopyt {
    clear: none;
    float: right;
    width: 55%;
    border: 2px solid #f2ca00;
    padding: 1em 6%;
    margin-top: 70px;
    margin-bottom: 50px;
    text-align: center;
    box-sizing: border-box;
}

.item-page.kariera .dopyt.career-dopyt h2 {
    display: inline-block;
    background-color: #fff;
    padding: 0 30px;
    font-size: 26px;
    font-weight: 400;
    color: #f2ca00;
    line-height: 1.4em;
    position: relative;
    top: -2.1em;
    margin: 0 0 -1.2em;
}

.item-page.kariera .dopyt.career-dopyt .career-form {
    margin-top: 0;
    max-width: none;
    border: 0;
    padding: 0;
    float: none;
    width: 100%;
    text-align: left;
}

.item-page.kariera .dopyt.career-dopyt .career-form::after {
    content: "";
    display: table;
    clear: both;
}

.item-page.kariera .dopyt.career-dopyt .rsform-block {
    padding: 0 15px;
    width: 50%;
    float: left;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.item-page.kariera .dopyt.career-dopyt .rsform-block.rsform-block-sprava,
.item-page.kariera .dopyt.career-dopyt .rsform-block.rsform-block-file,
.item-page.kariera .dopyt.career-dopyt .rsform-block.rsform-block-suhlas,
.item-page.kariera .dopyt.career-dopyt .rsform-block.rsform-block-odoslat {
    width: 100%;
}

.item-page.kariera .dopyt.career-dopyt .rsform-block > label {
    display: none;
}

.item-page.kariera .dopyt.career-dopyt .rsform-block.rsform-block-file > label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 400;
    color: #99b0b6;
    text-align: left;
}

.item-page.kariera .dopyt.career-dopyt .rsform-block input.form-control,
.item-page.kariera .dopyt.career-dopyt .rsform-block textarea.form-control {
    width: 100%;
    box-shadow: none;
    background: transparent;
    border: none;
    padding: 10px 0;
    border-bottom: 1px solid #f2ca00;
    font-size: 14px;
    color: #0f8299;
}

.item-page.kariera .dopyt.career-dopyt .rsform-block input.form-control::placeholder,
.item-page.kariera .dopyt.career-dopyt .rsform-block textarea.form-control::placeholder {
    color: #99b0b6;
}

.item-page.kariera .dopyt.career-dopyt .rsform-block.rsform-block-file input.form-control {
    border-bottom: none;
    color: #003a49;
    padding: 8px 0;
    font-size: 13px;
}

.item-page.kariera .dopyt.career-dopyt .rsform-block.rsform-block-suhlas {
    padding-top: 0;
    text-align: left;
    font-size: 12px;
    color: #003a49;
}

.item-page.kariera .dopyt.career-dopyt .rsform-block-odoslat {
    text-align: center;
}

.item-page.kariera .dopyt.career-dopyt .rsform-block-odoslat .btn-default {
    min-width: 180px;
    line-height: 50px;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #0f8299 !important;
    background: #fff;
    border: 1px solid #0f8299;
}

.item-page.kariera .dopyt.career-dopyt .rsform-block-odoslat .btn-default:hover,
.item-page.kariera .dopyt.career-dopyt .rsform-block-odoslat .btn-default:focus {
    background: #0f8299;
    border-color: #0f8299;
    color: #fff !important;
}

@media (max-width: 991px) {
    .item-page.kariera .dopyt.career-dopyt {
        float: none;
        width: 100%;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .item-page.kariera .dopyt.career-dopyt {
        margin: 30px 0 40px;
        padding: 1em 5px;
    }

    .item-page.kariera .dopyt.career-dopyt h2 {
        font-size: 22px;
        padding: 0 15px;
    }

    .item-page.kariera .dopyt.career-dopyt .rsform-block {
        width: 100%;
        float: none;
        margin-bottom: 12px;
        padding: 0 12px;
    }

    .item-page.kariera .dopyt.career-dopyt .rsform-block-odoslat .btn-default {
        width: 100%;
    }
}

.consent-text {
    flex: 1;
    min-width: 0;
    text-align: left;
    line-height: 1.45;
}

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer;
    min-width: 0;
    line-height: normal;
    font-weight: normal;
    text-transform: none;
    letter-spacing: normal;
    border-radius: 0;
    color: inherit !important;
}

.header .jf_mm_trigger,
.nav-toggle.jf_mm_trigger {
    width: auto;
    height: auto;
    background: none;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px 0;
    background: var(--primary);
}

.banner-image,
.content-image,
.image-grid img,
.service-card img,
.activity-item img,
.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.content-image,
.image-grid img,
.service-card img,
.activity-item img,
.gallery-item img {
    border-radius: 3px;
}

.hero-banner {
    position: relative;
    overflow: hidden;
    width: min(100%, 1600px);
    max-width: 1600px;
    aspect-ratio: 1600 / 500;
    max-height: 500px;
    height: auto;
    margin: 0 auto;
    padding-top: 0;
}

.banner.hero-banner {
    margin-top: 0;
    padding-top: 0;
}

.hero-banner__slides {
    position: absolute;
    inset: 0;
}

.hero-banner__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 0;
    transition: opacity 0.9s ease-in-out;
    pointer-events: none;
}

.hero-banner__slide.is-active,
.hero-banner__slide.is-leaving {
    opacity: 1;
}

.hero-banner__slide.is-active {
    z-index: 2;
}

.hero-banner__slide.is-leaving {
    z-index: 1;
}

.hero-banner__slide img {
    width: 100%;
    max-width: none;
    height: 100%;
    margin-left: 0;
    object-fit: cover;
    transform: scale(1);
    will-change: transform;
}

@media (max-width: 1199px) {
    .hero-banner .hero-banner__caption.banner-text {
        inset: 0;
        top: 0 !important;
        left: 0 !important;
        width: 100%;
        height: 100%;
        margin: 0 !important;
        padding: 24px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        aspect-ratio: 4 / 3;
        min-height: 260px;
        max-height: none;
    }

    .hero-banner .hero-banner__caption.banner-text {
        padding: 16px 20px;
    }

    .hero-banner .hero-banner__caption h1 {
        font-size: clamp(22px, 6.5vw, 30px) !important;
        line-height: 1.25;
        margin: 0 0 8px;
    }

    .hero-banner .hero-banner__caption p {
        font-size: clamp(14px, 3.8vw, 18px) !important;
        line-height: 1.35;
        margin: 0 0 14px;
    }

    .hero-banner .hero-banner__caption .btn-default {
        min-width: 170px;
        font-size: 13px;
        line-height: 42px;
    }
}

.hero-banner__slide.is-active img {
    animation: hero-banner-zoom 5s linear forwards;
}

.hero-banner__slide.is-leaving img {
    animation: none;
    transform: scale(1.12);
}

@media (prefers-reduced-motion: reduce) {
    .hero-banner__slide {
        transition: none;
    }

    .hero-banner__slide.is-active img {
        animation: none;
        transform: scale(1.05);
    }
}

@keyframes hero-banner-zoom {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.12);
    }
}

.hero-banner__caption {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.9s ease-in-out;
}

.hero-banner__slide.is-active .hero-banner__caption,
.hero-banner__slide.is-leaving .hero-banner__caption {
    opacity: 1;
}

.hero-banner__slide.is-active .hero-banner__caption {
    pointer-events: auto;
}

.hero-banner__caption h1,
.hero-banner__caption p {
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
    max-width: 980px;
}

.hero-banner__caption h1 {
    font-size: clamp(28px, 4.5vw, 56px);
    font-weight: 300;
    margin: 0 0 15px;
    background: none;
    padding-bottom: 0;
}

.hero-banner__caption p {
    font-size: clamp(16px, 2vw, 24px);
    margin: 0 0 30px;
}

.hero-banner__caption .btn-default {
    pointer-events: auto;
    color: #fff !important;
    border-color: var(--accent);
    min-width: 220px;
}

.hero-banner__caption .btn-default:hover {
    background-color: var(--accent);
    color: var(--primary) !important;
}

.section-title {
    text-align: center;
    margin: 0 0 35px;
    padding-bottom: 10px;
    font-size: 42px;
    font-weight: 300;
    color: #0f8299;
    background: url('/images/yellow-line.png') no-repeat bottom center;
    border-bottom: 0;
    display: block;
    width: 100%;
}

.home-services {
    padding: 60px 5px 50px;
}

@media (min-width: 992px) {
    /* Live keeps ~1170px here; Bootstrap 3 drops to 970px and narrows service copy. */
    .home-services > .container {
        width: 1170px;
        max-width: 100%;
    }

    .home-services .service-cards.row {
        margin-left: -5px;
        margin-right: -5px;
    }

    .home-services .service-cards > [class*="col-"] {
        padding-left: 5px;
        padding-right: 5px;
    }
}

.home-services .service-card {
    margin-bottom: 30px;
}

.home-services .service-card img {
    border-radius: 5px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 100%;
}

.home-services .service-card h3 {
    color: #0f8299;
    font-size: 26px;
    font-weight: 300;
    margin: 5px 0 10px;
    width: 100%;
    max-width: 100%;
    text-align: center;
}

.home-services .service-card h3 a {
    color: inherit;
    text-decoration: none;
}

.home-services .service-card h3 a:hover,
.home-services .service-card h3 a:focus {
    color: inherit;
    text-decoration: none;
}

.home-services .service-card p {
    color: var(--primary);
    font-size: 15px;
    line-height: 1.5;
    width: 80%;
    max-width: 80%;
    margin: 0 auto 15px;
    padding: 0;
    text-align: center;
}

.content-bottom.home-about {
    padding: 60px 0 80px;
    background: #f3f3f3 url('/images/content-bottom-bg.png') no-repeat right bottom;
}

.content-bottom .about-grid {
    margin-top: 10px;
}

.content-bottom .about-copy p {
    text-align: left;
    color: var(--primary);
    line-height: 1.6;
}

.video-embed {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 5px;
    overflow: hidden;
    background: #000;
}

.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.about-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 40px;
    margin-top: 10px;
}

.about-actions .btn-default {
    margin: 0;
}

.presentation-link,
.content .presentation-link,
.content-bottom .presentation-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary) !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
}

.presentation-link__icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    background-color: var(--primary);
    mask: url('/images/file-pdf.svg') no-repeat center / contain;
    -webkit-mask: url('/images/file-pdf.svg') no-repeat center / contain;
    transition: background-color 0.2s ease;
}

.presentation-link__text {
    color: inherit;
    text-decoration: none !important;
}

.presentation-link:hover,
.presentation-link:focus,
.content .presentation-link:hover,
.content .presentation-link:focus,
.content-bottom .presentation-link:hover,
.content-bottom .presentation-link:focus {
    color: #0f8299 !important;
    text-decoration: none !important;
}

.presentation-link:hover .presentation-link__icon,
.presentation-link:focus .presentation-link__icon {
    background-color: #0f8299;
}

.presentation-link:hover .presentation-link__text,
.presentation-link:focus .presentation-link__text {
    color: #0f8299 !important;
    text-decoration: underline !important;
}

.section {
    padding: 40px 0;
}

.section--alt {
    background: #f8f8f8;
}

.content-box {
    max-width: 960px;
}

/* Stroje pages need ~1200px so col-sm-5 fits a 500px image beside specs */
.item-page.stroje > .container.content-box {
    width: min(100%, 1200px);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

.item-page.left.stroje {
    padding-left: 0;
    padding-right: 0;
}

.content .blog-stroje .item {
    padding: 0 0 30px;
    overflow: visible;
}

.service-cards,
.image-grid,
.gallery-grid,
.activity-grid,
.contact-grid {
    margin-top: 24px;
}

.service-card,
.contact-card,
.activity-item {
    margin-bottom: 24px;
}

.service-card h3,
.activity-item h3,
.contact-card h3 {
    margin-top: 16px;
}

.content-list {
    padding-left: 20px;
}

.content-list li {
    margin-bottom: 8px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.gallery-grid--production {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

@media (min-width: 576px) {
    .gallery-grid--production {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .gallery-grid--production {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.gallery-grid--surface {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 20px;
}

@media (min-width: 576px) {
    .gallery-grid--surface {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .gallery-grid--surface {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.gallery-grid--production .gallery-item img {
    aspect-ratio: 230 / 160;
}

.gallery-grid--surface .gallery-item img {
    aspect-ratio: 370 / 240;
}

.gallery-grid--lightbox .gallery-item img {
    transition: transform 0.35s ease;
}

.gallery-grid--lightbox .gallery-item {
    position: relative;
    border: none;
    border-radius: 4px;
    overflow: hidden;
}

.gallery-grid--lightbox .gallery-item:hover img,
.gallery-grid--lightbox .gallery-item:focus-visible img {
    transform: scale(1.08);
}

.gallery-item__zoom {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.78);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.gallery-item__zoom::before {
    content: '';
    width: 48px;
    height: 48px;
    background: url('/images/gallery-icons/lupa.svg') center / contain no-repeat;
}

.gallery-grid--lightbox .gallery-item:hover .gallery-item__zoom,
.gallery-grid--lightbox .gallery-item:focus-visible .gallery-item__zoom {
    opacity: 1;
}

body.gallery-lightbox-open {
    overflow: hidden;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.gallery-lightbox[hidden] {
    display: none !important;
}

.gallery-lightbox__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    padding: 0;
    margin: 0;
    background: rgba(255, 255, 255, 0.86);
    cursor: pointer;
}

.gallery-lightbox__backdrop:hover,
.gallery-lightbox__backdrop:focus {
    background: rgba(255, 255, 255, 0.86);
}

.gallery-lightbox__dialog {
    position: relative;
    z-index: 1;
    max-width: min(1320px, 96vw);
    max-height: 92vh;
    animation: gallery-lightbox-in 0.28s ease;
}

@keyframes gallery-lightbox-in {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gallery-lightbox__stage {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox__figure {
    margin: 0;
    position: relative;
    display: inline-block;
    max-width: min(1200px, 96vw);
    max-height: 88vh;
}

.gallery-lightbox__figure::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: #fff;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease-out;
}

.gallery-lightbox__figure.is-loading::before {
    opacity: 1;
}

.gallery-lightbox__figure.is-lit::before {
    opacity: 0;
}

.gallery-lightbox__image {
    display: block;
    max-width: min(1200px, 96vw);
    max-height: 88vh;
    width: auto;
    height: auto;
    margin: 0 auto;
    border-radius: 2px;
    opacity: 1;
    filter: brightness(1);
    box-shadow: 0 8px 32px rgba(0, 58, 73, 0.18);
    transition: opacity 0.35s ease, filter 0.35s ease;
}

.gallery-lightbox__image.is-loading {
    opacity: 0.15;
    filter: brightness(3) saturate(0);
}

.gallery-lightbox__image.is-lit {
    animation: gallery-image-lit 0.35s ease-out forwards;
}

@keyframes gallery-image-lit {
    0% {
        opacity: 0.2;
        filter: brightness(3.2) saturate(0.05) contrast(0.9);
    }

    100% {
        opacity: 1;
        filter: brightness(1) saturate(1) contrast(1);
    }
}

.gallery-lightbox__close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    width: 24px;
    height: 24px;
    min-width: 0;
    border: 1px solid rgba(0, 58, 73, 0.12);
    border-radius: 50%;
    padding: 0;
    background: rgba(255, 255, 255, 0.72);
    color: rgba(0, 58, 73, 0.72);
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    text-align: center;
    cursor: pointer;
    opacity: 0.72;
    transform: translate(50%, -50%);
    box-shadow: 0 1px 6px rgba(0, 58, 73, 0.1);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.gallery-lightbox__close:hover,
.gallery-lightbox__close:focus {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(0, 58, 73, 0.22);
    color: #003a49;
    opacity: 1;
    transform: translate(50%, -50%);
    box-shadow: 0 3px 14px rgba(0, 58, 73, 0.16);
}

.gallery-lightbox__close:focus-visible {
    outline: 2px solid #f2ca00;
    outline-offset: 2px;
}

.gallery-lightbox__nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 44px;
    height: 72px;
    min-width: 0;
    border: 0;
    padding: 0;
    margin: 0;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 1px 8px rgba(0, 58, 73, 0.12);
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: translateY(-50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.gallery-lightbox__figure:hover .gallery-lightbox__nav,
.gallery-lightbox__nav:focus-visible {
    opacity: 1;
    pointer-events: auto;
}

@media (hover: none) {
    .gallery-lightbox__nav {
        opacity: 1;
        pointer-events: auto;
    }
}

.gallery-lightbox__nav--prev {
    left: 0;
    border-radius: 0 4px 4px 0;
}

.gallery-lightbox__nav--next {
    right: 0;
    border-radius: 4px 0 0 4px;
}

.gallery-lightbox__nav::before {
    content: '';
    display: block;
    width: 20px;
    height: 32px;
    margin: 0;
    background: url('/images/chevron-right.svg') center / contain no-repeat;
}

.gallery-lightbox__nav--prev::before {
    transform: rotate(180deg);
}

.gallery-lightbox__nav:hover,
.gallery-lightbox__nav:focus {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 3px 14px rgba(0, 58, 73, 0.16);
    outline: none;
    transform: translateY(-50%);
}

.gallery-lightbox__nav:hover::before,
.gallery-lightbox__nav:focus::before {
    opacity: 0.85;
}

.gallery-lightbox__nav:focus-visible {
    outline: 1px solid rgba(15, 130, 153, 0.45);
    outline-offset: 4px;
}

.gallery-item {
    display: block;
    overflow: hidden;
    border: 1px solid #e6e6e6;
}

.gallery-item img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.cookie-consent {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.45);
}

.cookie-consent[hidden] {
    display: none !important;
}

body.cookie-consent-open {
    overflow: hidden;
}

.cookie-consent-panel {
    position: relative;
    width: 100%;
    max-width: 420px;
    max-height: calc(100vh - 32px);
    overflow: auto;
    padding: 28px 24px 22px;
    background: #003a49;
    color: #fff;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.cookie-consent-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: auto;
    height: auto;
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0;
    background: none;
    box-shadow: none;
    appearance: none;
    color: rgba(255, 255, 255, 0.75);
    font-family: inherit;
    font-size: 13px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0;
    cursor: pointer;
}

.cookie-consent-close:hover,
.cookie-consent-close:focus {
    color: #fff;
    background: none;
    outline: none;
}

.cookie-consent-close:focus-visible {
    outline: 1px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.cookie-consent-title {
    margin: 0 18px 14px 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

.cookie-consent-text {
    margin: 0 0 18px;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
}

.cookie-consent-categories {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

.cookie-consent-category {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    cursor: pointer;
}

.cookie-consent-category.is-required {
    cursor: default;
}

.cookie-consent-category input[type="checkbox"] {
    flex: 0 0 auto;
    margin-top: 3px;
    accent-color: #f2ca00;
}

.cookie-consent-category-label {
    display: block;
}

.cookie-consent-category-label strong {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cookie-consent-category-label small {
    display: block;
    font-size: 12px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.78);
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.cookie-consent-btn {
    flex: 1 1 calc(50% - 5px);
    min-width: 120px;
    padding: 10px 14px;
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.cookie-consent-btn:hover,
.cookie-consent-btn:focus {
    background: rgba(255, 255, 255, 0.12);
}

.cookie-consent-btn-primary {
    flex-basis: 100%;
    border-color: #f2ca00;
    color: #003a49;
    background: #f2ca00;
}

.cookie-consent-btn-primary:hover,
.cookie-consent-btn-primary:focus {
    background: #e0bb00;
    border-color: #e0bb00;
}

.cookie-consent-details {
    margin: 0;
    text-align: center;
    font-size: 12px;
}

.cookie-consent-details a {
    color: #fff;
    text-decoration: underline;
}

.cookie-consent-details a:hover,
.cookie-consent-details a:focus {
    color: #f2ca00;
}

.cookie-settings-trigger {
    margin-top: 24px;
}

.cookie-settings-trigger .btn {
    border-color: #003a49;
    color: #003a49;
}

.cookie-settings-trigger .btn:hover,
.cookie-settings-trigger .btn:focus {
    background: #003a49;
    color: #fff;
}

.item-page .content table {
    width: 100%;
    margin: 16px 0 24px;
    border-collapse: collapse;
    font-size: 14px;
}

.item-page .content table th,
.item-page .content table td {
    padding: 10px 12px;
    border: 1px solid #d9e2e6;
    text-align: left;
    vertical-align: top;
}

.item-page .content table th {
    background: #f4f8f9;
    color: #003a49;
}

@media (min-width: 768px) {
    .cookie-consent {
        align-items: flex-end;
        justify-content: flex-end;
        padding: 24px;
    }
}

.content-bottom-2 .dopyt .rsform-block.rsform-block-suhlas > label,
.item-page.kariera .rsform-block.rsform-block-suhlas > label,
.item-page.kariera .dopyt.career-dopyt,
.item-page.kariera .career-form {
    scroll-margin-top: 90px;
}

.content-bottom-2 .dopyt .rsform-block.rsform-block-suhlas > label,
.item-page.kariera .rsform-block.rsform-block-suhlas > label {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    line-height: 1.5;
    color: #003a49;
    cursor: pointer;
}

.content-bottom-2 .dopyt .rsform-block.rsform-block-suhlas input[type="checkbox"],
.item-page.kariera .rsform-block.rsform-block-suhlas input[type="checkbox"] {
    flex: 0 0 auto;
    margin-top: 3px;
    border: 1px solid #f2ca00;
}

.content-bottom-2 .dopyt .rsform-block.rsform-block-suhlas a,
.item-page.kariera .rsform-block.rsform-block-suhlas a {
    color: #003a49;
    text-decoration: underline;
}

.content-bottom-2 .dopyt .rsform-block.rsform-block-suhlas a:hover,
.item-page.kariera .rsform-block.rsform-block-suhlas a:hover {
    color: #0f8299;
    text-decoration: none;
}

.item-page.kariera .kariera-text a[href^="tel:"] {
    text-decoration: none;
}

.item-page.kariera .kariera-text a[href^="tel:"]:hover {
    text-decoration: none;
    color: #0f8299;
}

.contact-form {
    max-width: 640px;
    margin-top: 24px;
}

.alert-success {
    color: #1f7a1f;
}

.alert-danger {
    color: #b00020;
}

@media (min-width: 992px) {
    .nav-toggle {
        display: none !important;
    }

    .nav-backdrop {
        display: none !important;
    }

    .site-header .container-flex {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
    }

    .site-header .container-flex::after {
        display: none;
    }

    .site-header .logo {
        float: none;
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        margin-top: 0 !important;
        margin-bottom: 0;
        margin-left: 15px;
    }

    .header-right {
        float: none;
        flex: 1 1 auto;
        min-width: 0;
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-end;
        align-items: center;
    }

    .site-nav {
        display: block !important;
        position: static;
        transform: none;
        visibility: visible;
        width: auto;
        max-width: none;
        padding: 0;
        overflow: visible;
        box-shadow: none;
        pointer-events: auto;
        float: none;
        flex: 0 1 auto;
        min-width: 0;
        order: 1;
    }

    .site-nav .moduletable_menu {
        float: none;
    }

    .header .moduletable_menu .nav {
        display: flex;
        flex-wrap: nowrap;
        float: none;
    }

    .header .moduletable_menu .nav > li {
        float: none;
        flex: 0 0 auto;
    }

    .header-lang {
        float: none;
        flex: 0 0 auto;
        order: 2;
        margin-top: 0 !important;
        margin-right: 15px !important;
        margin-left: 12px !important;
        position: static;
        top: auto;
    }

    .header-right .header-lang.mod-languages {
        margin-top: 0 !important;
    }

    .header .moduletable_menu .nav > li > ul {
        display: none;
    }

    .header .moduletable_menu .nav > li:hover > ul,
    .header .moduletable_menu .nav > li:focus-within > ul {
        display: block;
    }

    .header .moduletable_menu .nav > li.parent > a::after {
        display: none;
    }

    .header .moduletable_menu .nav > li > ul > li > a {
        line-height: 20px;
        padding: 10px 20px;
        font-size: 14px;
        font-weight: 400;
        min-width: 250px;
        white-space: nowrap;
    }
}

@media (min-width: 992px) and (max-width: 1499px) {
    .site-header .logo img {
        max-width: 210px;
    }

    .header .moduletable_menu .nav > li > a {
        padding: 0 12px;
        font-size: 13px;
    }
}

@media (min-width: 992px) and (max-width: 1699px) {
    html[lang="de"] .header .moduletable_menu .nav > li > a {
        padding: 0 10px;
        font-size: 12px;
    }

    html[lang="de"] .site-header .logo img {
        max-width: 200px;
    }

    html[lang="de"] .header-lang {
        margin-left: 12px !important;
    }
}

@media (min-width: 1200px) and (max-width: 1699px) {
    html[lang="de"] .header .moduletable_menu .nav > li > a {
        padding: 0 12px;
        font-size: 13px;
    }
}

@media (max-width: 991px) {
    body {
        padding-top: 60px;
    }

    body.nav-open {
        overflow: hidden;
    }

    header.site-header,
    .header.site-header {
        min-height: 60px;
    }

    .site-header .container-flex {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr) auto;
        align-items: center;
        column-gap: 8px;
        min-height: 60px;
        padding: 0 12px;
        position: relative;
        z-index: 1101;
    }

    .site-header .logo {
        float: none;
        grid-column: 2;
        justify-self: start;
        min-width: 0;
        max-width: 100%;
        margin: 0 !important;
        overflow: hidden;
        text-align: left;
        order: unset;
    }

    .site-header .logo img {
        display: block;
        max-width: 100%;
        width: auto;
        height: auto;
        max-height: 40px;
    }

    .header-lang {
        flex: 0 0 auto;
        float: none;
        margin: 0 !important;
        position: static !important;
        top: auto !important;
        right: auto !important;
        order: unset;
    }

    .header-right {
        float: none;
        grid-column: 3;
        justify-self: end;
        order: unset;
        display: flex;
        align-items: center;
    }

    .header-right .site-nav {
        order: unset;
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        grid-column: 1;
        grid-row: 1;
        flex: unset;
        width: 44px;
        min-width: 44px;
        max-width: 44px;
        height: 44px;
        position: relative;
        z-index: 2;
        margin: 0;
        padding: 0;
        order: unset;
    }

    .header-lang .lang-block {
        margin: 0;
        padding: 0;
        white-space: nowrap;
    }

    .header-lang .lang-block li.lang-disabled {
        opacity: 0.45;
        cursor: default;
    }

    .header-lang .lang-block li.lang-disabled .lang-disabled-flag {
        display: inline-block;
        cursor: default;
    }

    .nav-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.35);
        z-index: 1090;
    }

    .nav-backdrop:not([hidden]) {
        display: block;
    }

    .site-nav {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(320px, 86vw);
        max-width: 320px;
        float: none;
        margin: 0;
        padding: 60px 0 20px;
        background: #fff;
        box-shadow: 2px 0 12px rgba(0, 0, 0, 0.18);
        overflow-x: hidden;
        overflow-y: auto;
        transform: translateX(-105%);
        transition: transform 0.25s ease;
        z-index: 1100;
        visibility: hidden;
        pointer-events: none;
    }

    .site-nav.is-open {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    .site-nav .moduletable_menu {
        float: none;
        width: 100%;
    }

    .site-nav .moduletable_menu,
    .site-nav .mod-languages {
        float: none;
        width: 100%;
    }

    .header .moduletable_menu .nav > li {
        float: none;
        width: 100%;
    }

    .header .moduletable_menu .nav > li > a {
        line-height: 1.35;
        padding: 14px 20px;
        display: block;
    }

    .header .moduletable_menu .nav > li.parent > a {
        padding-right: 48px;
    }

    .header .moduletable_menu .nav > li.parent > a::after {
        content: "+";
        position: absolute;
        right: 18px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 20px;
        font-weight: 400;
        line-height: 1;
        color: #0f8299;
    }

    .header .moduletable_menu .nav > li.parent.is-expanded > a::after {
        content: "−";
    }

    .header .moduletable_menu .nav > li > ul {
        position: static;
        display: none;
        box-shadow: none;
        padding: 0 0 8px;
    }

    .header .moduletable_menu .nav > li.is-expanded > ul {
        display: block;
    }

    .header .moduletable_menu .nav > li > ul > li > a {
        min-width: 0;
        line-height: 1.35;
        padding: 10px 20px 10px 35px;
    }

    .hero-banner {
        width: 100%;
        min-height: 260px;
        max-height: none;
    }

    .content-bottom.home-about {
        text-align: center;
        background-position: -200px bottom;
    }

    .content-bottom .about-copy p {
        text-align: center;
    }

    .about-actions {
        justify-content: center;
    }
}

.item-page.stroje ul.zoo-list > li {
    background: url("/images/chevron-right.svg") no-repeat left 0.35em;
    padding-left: 1.25em;
    list-style: none;
}

.content .blog-aktuality .details {
    margin-bottom: 0;
}

.content .blog-aktuality .items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 30px;
    row-gap: 0;
    margin: 0;
    overflow: visible;
}

.content .blog-aktuality .items:after {
    display: none;
}

.content .blog-aktuality .items > .teaser-item {
    width: 100% !important;
    float: none !important;
    clear: none !important;
    padding: 0 0 30px !important;
    min-width: 0;
    box-sizing: border-box;
}

.content .blog-aktuality .teaser-item .pos-media {
    float: none !important;
    width: 100%;
    margin: 0 0 10px;
}

.content .blog-aktuality .teaser-item .pos-media a {
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #f2f2f2;
}

.content .blog-aktuality .teaser-item img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover;
    object-position: center;
    margin-bottom: 0 !important;
}

.content .blog-aktuality .teaser-item .pos-content,
.content .blog-aktuality .teaser-item .pos-content p {
    overflow-wrap: anywhere;
}

@media (max-width: 991px) {
    .content .blog-aktuality .items {
        grid-template-columns: 1fr;
    }
}

.item-page.left .blog-aktuality .heading h1.title {
    text-align: left;
    background: none !important;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 50px;
}

.item-page.left .blog-aktuality .heading h1.title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 120px;
    height: 3px;
    background: #f2ca00;
}

.content .blog-aktuality h1.pos-title {
    background-image: none;
    padding-bottom: 0;
}

.content .blog-aktuality h1.pos-title::after {
    display: none;
}

.page-body ul.zoo-list > li > a,
.item-page.stroje ul.zoo-list > li > a {
    text-decoration: none !important;
    color: #003a49;
}

.page-body ul.zoo-list > li > a:hover,
.page-body ul.zoo-list > li > a:focus,
.item-page.stroje ul.zoo-list > li > a:hover,
.item-page.stroje ul.zoo-list > li > a:focus {
    text-decoration: underline !important;
    color: #0f8299;
}

.content .blog-stroje .item h1.pos-title,
.item-page.stroje .blog-stroje .item h1.pos-title {
    background: none !important;
    text-align: left !important;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 40px;
    font-size: 42px;
    letter-spacing: -0.025em;
    line-height: 1.2;
    font-weight: 300;
    text-transform: none;
}

@media (min-width: 992px) {
    .content .blog-stroje .item h1.pos-title,
    .item-page.stroje .blog-stroje .item h1.pos-title {
        white-space: nowrap;
    }
}

@media (max-width: 991px) {
    .content .blog-stroje .item h1.pos-title,
    .item-page.stroje .blog-stroje .item h1.pos-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .content .blog-stroje .item h1.pos-title,
    .item-page.stroje .blog-stroje .item h1.pos-title {
        font-size: 32px;
        margin-bottom: 35px;
    }
}

.content .blog-stroje .item h1.pos-title::after,
.item-page.stroje .blog-stroje .item h1.pos-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 120px;
    height: 3px;
    background: #f2ca00;
}

.blog-stroje table td,
.blog-stroje table strong {
    color: #003a49;
    text-decoration: none;
}

.blog-stroje .pos-content .element-textarea {
    overflow-x: visible;
    -webkit-overflow-scrolling: touch;
}

/* Machine detail – image + specs like live Zoo template (Bootstrap col-sm-5/7 float) */
.content .blog-stroje .item::after {
    content: "";
    display: table;
    clear: both;
}

.content .blog-stroje table,
.content .blog-stroje table.stroje_table {
    width: auto;
    max-width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.content .blog-stroje table:not(.stroje_table) {
    width: 100%;
    max-width: 100%;
    table-layout: auto;
}

.content .blog-stroje table td {
    border: 0;
    border-bottom: 1px solid #e6e6e6;
    padding: 8px 20px 8px 0;
    vertical-align: top;
    text-align: left;
}

.content .blog-stroje table td:first-child:not([colspan]),
.content .blog-stroje table td.stroje1:not([colspan]) {
    font-weight: 900;
    padding-right: 0;
}

.content .blog-stroje table td[colspan] {
    font-weight: 400;
}

/* Simple 2-column spec rows (stroje_table only) – values offset to the right like live */
.content .blog-stroje table.stroje_table tr > td:first-child:nth-last-child(2) {
    white-space: nowrap;
    padding-right: 0;
}

.content .blog-stroje table.stroje_table tr > td:first-child:nth-last-child(2) + td {
    text-align: right;
    padding-left: 48px;
    padding-right: 0;
    white-space: nowrap;
}

.content .blog-stroje table:not(.stroje_table) td.stroje2,
.content .blog-stroje table:not(.stroje_table) td[colspan] {
    white-space: normal;
    text-align: left;
    padding-left: 8px;
    word-break: break-word;
}

.content .blog-stroje table.stroje_table td.stroje2 {
    white-space: nowrap;
    padding-left: 0;
}

@media (min-width: 768px) {
    .content .blog-stroje .item .pos-media img {
        width: 100%;
        max-width: 500px;
        height: auto;
        margin-bottom: 0;
    }

    .content .blog-stroje .item .pos-content {
        padding-left: 20px;
    }
}

@media (max-width: 767px) {
    .content .blog-stroje .item .pos-media,
    .content .blog-stroje .item .pos-content {
        float: none;
        width: 100%;
    }

    .content .blog-stroje .item .pos-media img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 991px) {

    .content .blog-stroje table {
        width: 100%;
        table-layout: fixed;
    }

    .content .blog-stroje table td.stroje1,
    .content .blog-stroje table td:first-child {
        width: 42%;
    }

    .content .blog-stroje table td.stroje2,
    .content .blog-stroje table td:not(.stroje1):not(:first-child) {
        white-space: normal;
        word-break: break-word;
    }
}

.content-bottom-2 {
    margin-top: 20px;
    padding: 0 5px 30px;
}

.content-bottom-2 .galeria-povrchova-uprava {
    margin-bottom: 60px;
    scroll-margin-top: 90px;
}

.galeria-povrchova-uprava--spread:not(.is-spread-done) .gallery-item:not(.is-spread-revealed) {
    opacity: 0;
    transform: translate(-28px, -28px) scale(0.9);
    box-shadow: none;
}

.galeria-povrchova-uprava.is-spreading .gallery-item.is-spread-pending {
    opacity: 0;
    transform: translate(-28px, -28px) scale(0.9);
    box-shadow: none;
    pointer-events: none;
}

.galeria-povrchova-uprava.is-spreading .gallery-item.is-spread-revealed {
    opacity: 1;
    transform: translate(0, 0) scale(1);
    box-shadow: 0 8px 22px rgba(0, 58, 73, 0.16);
    pointer-events: auto;
    transition:
        opacity 0.35s ease,
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease;
}

.galeria-povrchova-uprava.is-spreading .gallery-item.is-spread-revealed img {
    transform: none;
}

.content-bottom-2 .galeria-povrchova-uprava .gallery-grid {
    margin-top: 0;
}

.content p.h2,
.page-body p.h2 {
    margin-top: 50px;
    margin-bottom: 40px;
    text-align: center;
    font-size: 36px;
    font-weight: 300;
    color: #0f8299;
}

@media (max-width: 768px) {
    .content p.h2,
    .page-body p.h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }
}

.item-page.left .page-body > p,
.item-page.left .page-body > ul,
.item-page.left .page-body > h3 {
    text-align: left;
}

.item-page.left .page-body > .certifikaty {
    text-align: center;
}

.item-page.left.certifikaty .page-body,
.item-page.left.certifikaty .page-body p,
.item-page.left.certifikaty .page-body ul,
.item-page.left.certifikaty .page-body h3 {
    text-align: left;
}

.item-page.left.certifikaty .page-body > .certifikaty {
    text-align: center;
}

.item-page.left.certifikaty .page-body > .certifikaty .moduletable p {
    text-align: center;
}

.item-page.left.certifikaty .page-body > .certifikaty + p,
.item-page.left.certifikaty .page-body > .certifikaty + p + ul {
    text-align: left;
}

.content .content-bottom-2 ul li,
.content-bottom-2 .vyroba ul li {
    list-style: disc;
    background: none;
    padding-left: 0;
    margin-left: 1.2em;
}

/* Breadcrumb uses the same container stack as .item-page content below. */
.breadcrumb-section {
    padding: 0 15px;
}

.breadcrumb-section--stroje {
    padding: 0;
}

.breadcrumb-section--stroje .container.content-box {
    width: min(100%, 1200px);
    max-width: 1200px;
    padding-left: 0;
    padding-right: 0;
}

.breadcrumb-section--montaz {
    box-sizing: border-box;
    max-width: 1170px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 8.333%;
    padding-right: 8.333%;
}

.breadcrumb-section--montaz .container.content-box {
    max-width: none;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.breadcrumb-wrap {
    box-sizing: border-box;
    width: auto;
    max-width: none;
    margin: 20px 0;
    padding: 0;
    font-size: 11px;
    line-height: 20px;
    color: #003a49;
}

.breadcrumb-wrap .breadcrumb {
    margin: 0;
}

.breadcrumb-wrap .breadcrumb-here {
    display: inline;
    margin-right: 0.35em;
    font-size: 11px;
    font-weight: 400;
}

.breadcrumb-wrap .breadcrumb {
    display: inline;
    padding: 0;
    margin: 0;
    font-size: 11px;
    line-height: 20px;
    vertical-align: baseline;
}

.breadcrumb-wrap .breadcrumb > li {
    display: inline;
    float: none;
}

.breadcrumb-wrap .breadcrumb > li + li:before {
    display: none;
}

.content-bottom-2 .vyroba img {
    border: 1px solid #ddd;
}

.content-bottom-2 .vyroba p,
.content-bottom-2 .vyroba ul li {
    color: #003a49;
    font-size: 15px;
    line-height: 1.6;
}

.content-bottom-2 .vyroba ul {
    padding-left: 0;
    margin-bottom: 0;
}

.content-bottom-2 .vyroba ul li {
    margin-bottom: 10px;
    list-style: disc;
}

.content-bottom-2 .vyroba ul li strong {
    font-weight: 700;
}

.content-bottom-2 .CTA {
    margin-top: 10px;
}

.content-bottom-2 .CTA p:first-child {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.5;
    color: #003a49;
}

@media (max-width: 991px) {
    .content-bottom-2 .CTA p:first-child {
        font-size: 15px;
    }
}

.content-bottom-2 .CTA .btn-dopyt {
    float: right;
    min-width: 220px;
    padding: 0 70px 0 120px;
    line-height: 60px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fff !important;
    border: 1px solid #096578 !important;
    background-color: #0f8299;
    background-image: url('/images/conversation.svg');
    background-repeat: no-repeat;
    background-position: 70px center;
    background-size: 30px 30px;
}

@media (max-width: 991px) {
    .content-bottom-2 .CTA .btn-dopyt {
        padding: 0 50px 0 70px;
        background-position: 30px center;
        font-size: 15px;
    }
}

.content-bottom-2 .CTA .btn-dopyt:hover,
.content-bottom-2 .CTA .btn-dopyt:focus {
    background-color: #096578 !important;
    background-image: url('/images/conversation.svg');
    background-repeat: no-repeat;
    background-position: 70px center;
    background-size: 30px 30px;
    color: #fff !important;
    border-color: #096578 !important;
}

@media (max-width: 991px) {
    .content-bottom-2 .CTA .btn-dopyt:hover,
    .content-bottom-2 .CTA .btn-dopyt:focus {
        background-position: 30px center;
    }
}
