/* =========================================================
   ONI SYSTEM – LOGISTIKA A DOPRAVA
   Sloučené a vyčištěné CSS
   ========================================================= */

/* ---------------------------------------------------------
   ZÁKLADNÍ PROMĚNNÉ A OCHRANA STRÁNKY
   Pravidla se aktivují pouze na stránce, kde existuje .transport
   --------------------------------------------------------- */
body:has(.transport) {
    --oni-content-width: 1380px;
    --oni-page-gap: 48px;
    --oni-page-gap-mobile: 24px;
}

html:has(body .transport),
body:has(.transport) {
    overflow-x: clip;
}

/* zabrání oříznutí full-width hero banneru */
body:has(.transport) #content-wrapper,
body:has(.transport) #content-wrapper .content-wrapper-in,
body:has(.transport) #content-wrapper .content,
body:has(.transport) #content-wrapper .content-inner {
    overflow: visible !important;
}

/* =========================================================
   HERO / BANNER PŘES CELOU ŠÍŘKU OBRAZOVKY
   ========================================================= */
body:has(.transport) #content .hero,
body:has(.transport) .content-inner .hero,
body:has(.transport) article .hero {
    position: relative !important;
    width: 100vw !important;
    max-width: 100vw !important;
    left: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: hidden !important;
}

body:has(.transport) #content .hero img,
body:has(.transport) .content-inner .hero img,
body:has(.transport) article .hero img {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 470px;
    object-fit: cover !important;
    object-position: center center !important;
    margin: 0 !important;
    padding: 0 !important;
}

body:has(.transport) #content .hero .hero-bg,
body:has(.transport) .content-inner .hero .hero-bg,
body:has(.transport) article .hero .hero-bg {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

body:has(.transport) #content .hero .hero-inner,
body:has(.transport) .content-inner .hero .hero-inner,
body:has(.transport) article .hero .hero-inner {
    position: relative !important;
    width: min(var(--oni-content-width), calc(100% - var(--oni-page-gap))) !important;
    max-width: var(--oni-content-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* =========================================================
   TEXTOVÁ STRÁNKA – ODSTRANĚNÍ HORNÍ ČÁSTI
   Pouze na stránce Logistika a doprava
   ========================================================= */
body:has(.transport) .next-prev,
body:has(.transport) .breadcrumbs,
body:has(.transport) h1[data-testid="textArticleTitle"] {
    display: none !important;
}

body:has(.transport) h1[data-testid="textArticleTitle"],
body:has(.transport) h1[data-testid="textArticleTitle"]::before,
body:has(.transport) h1[data-testid="textArticleTitle"]::after,
body:has(.transport) .content-inner,
body:has(.transport) .content-inner > article,
body:has(.transport) .content-inner .text {
    border-top: none !important;
    border-bottom: none !important;
}

body:has(.transport) .content-inner::before,
body:has(.transport) .content-inner::after,
body:has(.transport) .content-inner > article::before,
body:has(.transport) .content-inner > article::after {
    content: none !important;
    display: none !important;
}

body:has(.transport) #content-wrapper,
body:has(.transport) .content-wrapper-in,
body:has(.transport) .content-inner {
    padding-top: 0 !important;
}

/* =========================================================
   PRO JAKÝ TYP DOPRAVY JE ŘEŠENÍ VHODNÉ?
   ========================================================= */
.transport {
    background: #ffffff;
    padding: 45px 0 35px;
}

.transport > .container {
    width: min(var(--oni-content-width), calc(100% - var(--oni-page-gap))) !important;
    max-width: var(--oni-content-width) !important;
    margin: 0 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.transport h2 {
    margin: 0 0 28px;
    text-align: center;
    font-size: 27px;
    line-height: 1.2;
    font-weight: 700;
    color: #1F1F1F;
}

.transport-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    width: 100% !important;
}

.transport-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04), 0 10px 25px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.transport-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07), 0 18px 35px rgba(0, 0, 0, 0.05);
}

.transport-body {
    display: flex;
    flex-direction: column;
    padding: 28px 24px 22px;
    box-sizing: border-box;
}

/* Logistika a doprava – ikony v kartách nejsou zobrazené.
   Skryje ikonový font i případnou PNG/SVG ikonu v HTML. */
.transport:not(.transport--construction) .transport-body > i,
.transport:not(.transport--construction) .transport-body > img,
.transport:not(.transport--construction) .transport-icon {
    display: none !important;
}

.transport-body h3 {
    margin: 0 0 14px;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 700;
    color: #1F1F1F;
}

.transport-body p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #343a40;
}

.transport-photo {
    position: relative;
    width: 100%;
    height: 165px;
    margin-top: auto;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.transport-photo span {
    display: none;
}

/* =========================================================
   CO MŮŽETE SLEDOVAT A ŘÍDIT
   ========================================================= */
.oni-monitoring {
    width: 100%;
    padding: 10px 0;
    box-sizing: border-box;
}

.oni-monitoring__inner {
    width: min(var(--oni-content-width), calc(100% - var(--oni-page-gap)));
    max-width: var(--oni-content-width);
    margin: 0 auto;
    background: #fafafa;
    border-radius: 6px;
    padding: 18px 35px 22px;
    box-sizing: border-box;
}

.oni-monitoring h2 {
    margin: 0 0 22px;
    text-align: center;
    font-family: "Open Sans", sans-serif;
    font-size: 25px;
    line-height: 1.2;
    font-weight: 700;
    color: #10172a;
}

.oni-monitoring__grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 25px;
    align-items: start;
}

.oni-monitoring__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.oni-monitoring__icon {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.oni-monitoring__icon img {
    display: block;
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.oni-monitoring__item h3 {
    margin: 0 0 9px;
    font-family: "Open Sans", sans-serif;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 700;
    color: #101010;
}

.oni-monitoring__item p {
    margin: 0;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 400;
    color: #303030;
}

/* =========================================================
   ONI SYSTEM – APLIKACE
   ========================================================= */
.oni-app-section {
    width: min(var(--oni-content-width), calc(100% - var(--oni-page-gap)));
    max-width: var(--oni-content-width);
    display: grid;
    grid-template-columns: 1.9fr 1fr;
    gap: 14px;
    margin: 30px auto;
    font-family: "Open Sans", sans-serif;
}

.oni-info-card {
    background: linear-gradient(115deg, #ffffff 0%, #fbfbfc 55%, #f4f5f7 100%);
    border-radius: 6px;
    padding: 24px 28px;
    box-sizing: border-box;
    min-height: 255px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.025);
    overflow: hidden;
}

.oni-info-card h2 {
    margin: 0 0 10px;
    padding: 0;
    font-size: 21px;
    line-height: 1.15;
    font-weight: 800;
    color: #1F1F1F;
}

.oni-info-card p {
    margin: 0;
    color: #303640;
    font-size: 14px;
    line-height: 1.5;
}

.oni-data-card {
    position: relative;
}

.oni-data-content {
    display: grid;
    grid-template-columns: 43% 57%;
    align-items: center;
    height: 100%;
}

.oni-data-text {
    position: relative;
    z-index: 2;
}

.oni-intro {
    margin-bottom: 12px !important;
}

.oni-benefits {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.oni-benefits li {
    position: relative;
    padding-left: 24px;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
    color: #20252d;
}

.oni-benefits li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 13px;
    height: 13px;
    border: 2px solid #f01828;
    border-radius: 50%;
    transform: translateY(-50%);
    box-sizing: border-box;
}

.oni-benefits li::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    width: 5px;
    height: 2px;
    border-left: 1.7px solid #f01828;
    border-bottom: 1.7px solid #f01828;
    transform: translateY(-65%) rotate(-45deg);
}

.oni-device-image {
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.oni-device-image img {
    display: block;
    width: 100%;
    max-width: 410px;
    height: auto;
    object-fit: contain;
}

.oni-mobile-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.oni-mobile-card > p {
    margin-bottom: 17px;
}

.oni-store-buttons {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-bottom: 14px;
}

.oni-store-link {
    display: block;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.oni-store-link:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.oni-store-link img {
    display: block;
    width: auto;
    height: 41px;
    object-fit: contain;
}

.oni-qr-row {
    display: flex;
    align-items: center;
    gap: 24px;
}

.oni-qr {
    background: #ffffff;
    padding: 5px;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.oni-qr img {
    display: block;
    width: 78px;
    height: 78px;
    object-fit: contain;
}

.oni-qr-text {
    font-size: 13px !important;
    line-height: 1.35 !important;
    font-weight: 600;
}

/* =========================================================
   RESPONZIVITA
   ========================================================= */
@media (max-width: 1200px) {
    .transport-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .oni-monitoring__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        row-gap: 35px;
    }
}

@media (max-width: 991px) {
    .oni-app-section {
        grid-template-columns: 1fr;
    }

    .oni-info-card {
        min-height: auto;
    }

    .oni-data-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 800px) {
    .transport {
        padding: 35px 0;
    }

    .transport h2 {
        font-size: 27px;
        margin-bottom: 22px;
    }

    .transport-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .transport-body {
        min-height: 180px;
    }
}

@media (max-width: 750px) {
    .oni-monitoring__inner {
        padding: 25px 20px 30px;
    }

    .oni-monitoring h2 {
        font-size: 23px;
        margin-bottom: 30px;
    }

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

@media (max-width: 680px) {
    body:has(.transport) {
        --oni-page-gap: var(--oni-page-gap-mobile);
    }

    body:has(.transport) #content .hero .hero-inner,
    body:has(.transport) .content-inner .hero .hero-inner,
    body:has(.transport) article .hero .hero-inner {
        width: calc(100% - var(--oni-page-gap-mobile)) !important;
    }

    body:has(.transport) #content .hero img,
    body:has(.transport) .content-inner .hero img,
    body:has(.transport) article .hero img {
        min-height: 320px;
    }
}

@media (max-width: 650px) {
    .oni-app-section {
        gap: 12px;
        margin: 20px auto;
    }

    .oni-info-card {
        padding: 22px 20px;
        border-radius: 6px;
    }

    .oni-info-card h2 {
        font-size: 21px;
    }

    .oni-data-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .oni-device-image {
        justify-content: center;
    }

    .oni-device-image img {
        max-width: 380px;
    }

    .oni-store-buttons {
        gap: 12px;
        flex-wrap: wrap;
    }

    .oni-store-link img {
        height: 40px;
    }

    .oni-qr-row {
        gap: 18px;
    }

    .oni-qr img {
        width: 75px;
        height: 75px;
    }
}

@media (max-width: 550px) {
    .transport-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .transport-body {
        min-height: auto;
        padding: 24px 20px;
    }

    .transport-photo {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .oni-monitoring__inner {
        padding: 25px 15px;
    }

    .oni-monitoring h2 {
        font-size: 21px;
    }

    .oni-monitoring__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 12px;
    }

    .oni-monitoring__icon,
    .oni-monitoring__icon img {
        width: 42px;
        height: 42px;
    }

    .oni-monitoring__item h3 {
        font-size: 17px;
    }

    .oni-monitoring__item p {
        font-size: 14px;
    }
}

/* =========================================================
   DOPORUČENÉ GPS ŘEŠENÍ PRO DOPRAVU
   ========================================================= */
.recommended-gps-transport {
    width: 100%;
    padding: 10px 0;
    box-sizing: border-box;
}

.recommended-gps-transport__inner {
    width: min(var(--oni-content-width), calc(100% - var(--oni-page-gap)));
    max-width: var(--oni-content-width);
    margin: 0 auto;
    padding: 18px 35px 22px;
    background: #fafafa;
    border-radius: 6px;
    box-sizing: border-box;
}

.recommended-gps-transport__title {
    margin: 0 0 18px;
    text-align: center;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
    color: #222;
}

.recommended-gps-transport__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

/* KARTA */
.recommended-gps-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    border-radius: 6px;
    padding: 18px 16px 14px;
    text-align: center;
    box-sizing: border-box;
    height: 100%;
}

.recommended-gps-card__image {
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.recommended-gps-card__image img {
    max-width: 100%;
    max-height: 74px;
    display: block;
    object-fit: contain;
}

.recommended-gps-card__name {
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 700;
    color: #1F1F1F;
    text-transform: uppercase;
}

.recommended-gps-card__desc {
    margin: 0 0 14px;
    font-size: 12px;
    line-height: 1.45;
    color: #1F1F1F;
    min-height: 52px;
}

.recommended-gps-card__price {
    margin: 0 0 12px;
    font-size: 29px;
    line-height: 1;
    font-weight: 700;
    color: #1F1F1F;
}

.recommended-gps-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    padding: 10px 16px;
    background: #e3000f;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 0;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    transition: background 0.2s ease;
    margin-top: auto;
}

.recommended-gps-card__button:hover {
    background: #c7000d;
    color: #fff !important;
}

/* TABLET */
@media (max-width: 991px) {
    .recommended-gps-transport__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MOBIL */
@media (max-width: 600px) {
    .recommended-gps-transport__inner {
        padding: 25px 20px 30px;
    }

    .recommended-gps-transport__title {
        font-size: 17px;
    }

    .recommended-gps-transport__grid {
        grid-template-columns: 1fr;
    }

    .recommended-gps-card__price {
        font-size: 24px;
    }
}

/* =========================================================
   KONTAKTNÍ CTA – POPTAT ŘEŠENÍ
   ========================================================= */
.oni-contact-cta {
    width: min(var(--oni-content-width), calc(100% - var(--oni-page-gap)));
    max-width: var(--oni-content-width);
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    margin: 30px auto;
    padding: 32px 55px;
    background: #f7f7f7;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}

/* LEVÁ ČÁST */
.oni-contact-cta__left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 55px;
}

.oni-contact-cta__small {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 400;
    color: #1F1F1F;
}

.oni-contact-cta__left h2 {
    margin: 0 0 14px;
    font-size: 31px;
    line-height: 1.18;
    font-weight: 700;
    color: #1F1F1F;
}

.oni-contact-cta__strong {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
    color: #1F1F1F;
}

/* PRAVÁ ČÁST */
.oni-contact-cta__right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 55px;
    border-left: 1px solid #d8d8d8;
}

/* KONTAKT */
.oni-contact-cta__contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

.oni-contact-cta__phone-icon {
    flex-shrink: 0;
    font-size: 37px;
    line-height: 1;
    color: #1F1F1F;
}

.oni-contact-cta__phone {
    display: block;
    margin-bottom: 5px;
    font-size: 33px;
    line-height: 1.15;
    font-weight: 700;
    color: #1F1F1F !important;
    text-decoration: none !important;
}

.oni-contact-cta__email {
    display: block;
    text-align: center;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 400;
    color: #1F1F1F !important;
    text-decoration: none !important;
}

.oni-contact-cta__phone:hover,
.oni-contact-cta__email:hover {
    color: #e3000f !important;
}

/* TLAČÍTKO */
.oni-contact-cta__button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 84px;
    padding: 18px 30px;
    box-sizing: border-box;
    background: #ed1c24;
    border-radius: 6px;
    color: #ffffff !important;
    font-size: 17px;
    line-height: 1;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 6px 16px rgba(245, 18, 28, 0.16);
    transition:
        background 0.22s ease,
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

.oni-contact-cta__button:hover {
    background: #d9000d;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(217, 0, 13, 0.28);
}

.oni-contact-cta__button:active {
    transform: translateY(0);
    box-shadow: 0 5px 12px rgba(217, 0, 13, 0.20);
}

.oni-contact-cta__button:focus-visible {
    outline: 3px solid rgba(245, 18, 28, 0.24);
    outline-offset: 3px;
}

.oni-contact-cta__button span {
    display: inline-block;
    font-size: 24px;
    line-height: 1;
    font-weight: 900;
    text-shadow: 0.45px 0 currentColor, -0.45px 0 currentColor;
    transition:
        transform 0.22s ease,
        opacity 0.22s ease;
}

.oni-contact-cta__button:hover span {
    transform: translateX(7px) scale(1.08);
    opacity: 1;
}

/* TABLET */
@media (max-width: 991px) {
    .oni-contact-cta {
        grid-template-columns: 1fr;
        padding: 35px;
    }

    .oni-contact-cta__left {
        padding-right: 0;
        padding-bottom: 30px;
        text-align: center;
    }

    .oni-contact-cta__right {
        padding-left: 0;
        padding-top: 30px;
        border-left: 0;
        border-top: 1px solid #d8d8d8;
    }
}

/* MOBIL */
@media (max-width: 650px) {
    .oni-contact-cta {
        margin: 20px auto;
        padding: 28px 20px;
        border-radius: 6px;
    }

    .oni-contact-cta__left h2 {
        font-size: 25px;
    }

    .oni-contact-cta__small,
    .oni-contact-cta__strong {
        font-size: 14px;
    }

    .oni-contact-cta__contact {
        gap: 15px;
        margin-bottom: 20px;
    }

    .oni-contact-cta__phone-icon {
        font-size: 30px;
    }

    .oni-contact-cta__phone {
        font-size: 24px;
    }

    .oni-contact-cta__email {
        font-size: 14px;
        text-align: left;
    }

    .oni-contact-cta__button {
        min-height: 64px;
        font-size: 15px;
    }
}

/* MALÝ MOBIL */
@media (max-width: 420px) {
    .oni-contact-cta__contact {
        align-items: flex-start;
    }

    .oni-contact-cta__phone {
        font-size: 21px;
    }
}

/* =========================================================
   SJEDNOCENÍ H2 NA CELÉ STRÁNCE
   Předloha: "Pro jaký typ dopravy je řešení vhodné?"
   ========================================================= */
body:has(.transport) h2,
body:has(.transport) .recommended-gps-transport__title {
    margin: 0 0 28px !important;
    text-align: center !important;
    font-family: "Open Sans", sans-serif !important;
    font-size: 27px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    color: #1F1F1F !important;
}

/* H2 uvnitř obsahových karet zůstávají zarovnané vlevo */
body:has(.transport) .oni-info-card h2,
body:has(.transport) .oni-contact-cta__left h2 {
    text-align: left !important;
}

/* Mobil – všechny H2 zůstávají vzájemně stejné */
@media (max-width: 800px) {
    body:has(.transport) h2,
    body:has(.transport) .recommended-gps-transport__title {
        font-size: 27px !important;
        margin-bottom: 22px !important;
    }
}


/* =========================================================
   STAVEBNICTVÍ A STROJE – VARIANTA SE 6 KARTAMI
   Použití v HTML:
   <section class="transport transport--construction">
   Původní .transport bez této doplňkové třídy zůstává
   beze změny – tedy 4 karty pro Logistiku a dopravu.
   ========================================================= */

/* DESKTOP – 6 karet v jednom řádku */
.transport.transport--construction .transport-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

/* U užších karet mírně kompaktnější vnitřní rozložení */
.transport.transport--construction .transport-body {
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 12px;
    min-height: 225px;
    padding: 22px 16px 18px;
}

.transport.transport--construction .transport-body > i {
    font-size: 36px;
}

/* Pokud místo ikonového fontu používáte vlastní PNG/SVG ikony */
.transport.transport--construction .transport-body > img,
.transport.transport--construction .transport-icon {
    grid-column: 1;
    grid-row: 1 / 3;
    display: block;
    width: 38px;
    height: 38px;
    object-fit: contain;
    align-self: start;
    justify-self: center;
}

.transport.transport--construction .transport-body h3 {
    font-size: 17px;
    line-height: 1.35;
    margin-bottom: 10px;
}

.transport.transport--construction .transport-body p {
    font-size: 12.5px;
    line-height: 1.5;
}

.transport.transport--construction .transport-photo {
    height: 155px;
}

/* MENŠÍ DESKTOP / TABLET – 3 + 3 */
@media (max-width: 1200px) {
    .transport.transport--construction .transport-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }

    .transport.transport--construction .transport-body {
        grid-template-columns: 62px minmax(0, 1fr);
        column-gap: 16px;
        min-height: 220px;
        padding: 26px 22px 20px;
    }

    .transport.transport--construction .transport-body > i {
        font-size: 42px;
    }

    .transport.transport--construction .transport-body > img,
    .transport.transport--construction .transport-icon {
        width: 44px;
        height: 44px;
    }

    .transport.transport--construction .transport-body h3 {
        font-size: 17px;
    }

    .transport.transport--construction .transport-body p {
        font-size: 14px;
    }

    .transport.transport--construction .transport-photo {
        height: 180px;
    }
}

/* MOBIL / MENŠÍ TABLET – 2 sloupce */
@media (max-width: 800px) {
    .transport.transport--construction .transport-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .transport.transport--construction .transport-body {
        min-height: 210px;
    }
}

/* MALÝ MOBIL – 1 karta na řádek */
@media (max-width: 550px) {
    .transport.transport--construction .transport-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .transport.transport--construction .transport-body {
        min-height: auto;
        padding: 24px 20px;
    }

    .transport.transport--construction .transport-photo {
        height: 200px;
    }
}


/* =========================================================
   STAVEBNICTVÍ A STROJE – FULL-WIDTH BANNER + SKRYTÍ
   DROBEČKOVÉ NAVIGACE A HLAVNÍHO NÁZVU ČLÁNKU

   Aktivuje se pouze na stránce, kde je:
   <section class="transport transport--construction">
   ========================================================= */

/* Skrytí textu nad bannerem:
   Domů → Řešení pro firmy → Stavebnictví a stroje
   + nadpis "Stavebnictví a stroje" */
body:has(.transport--construction) .breadcrumbs,
body:has(.transport--construction) .breadcrumbs-wrapper,
body:has(.transport--construction) .navigation-breadcrumb,
body:has(.transport--construction) .p-breadcrumbs,
body:has(.transport--construction) h1[data-testid="textArticleTitle"],
body:has(.transport--construction) .content-inner > h1,
body:has(.transport--construction) .content-inner > article > h1:first-child {
    display: none !important;
}

/* Odstranění prostoru, který po skrytém nadpisu/breadcrumbs může zůstat */
body:has(.transport--construction) #content-wrapper,
body:has(.transport--construction) .content-wrapper-in,
body:has(.transport--construction) .content,
body:has(.transport--construction) .content-inner,
body:has(.transport--construction) .content-inner > article,
body:has(.transport--construction) .content-inner .text {
    padding-top: 0 !important;
    margin-top: 0 !important;
    border-top: 0 !important;
}

body:has(.transport--construction) .content-inner::before,
body:has(.transport--construction) .content-inner::after,
body:has(.transport--construction) .content-inner > article::before,
body:has(.transport--construction) .content-inner > article::after {
    content: none !important;
    display: none !important;
}

/* Umožní banneru vystoupit z omezené šířky Shoptetu */
body:has(.transport--construction) #content-wrapper,
body:has(.transport--construction) #content-wrapper .content-wrapper-in,
body:has(.transport--construction) #content-wrapper .content,
body:has(.transport--construction) #content-wrapper .content-inner,
body:has(.transport--construction) #content-wrapper article,
body:has(.transport--construction) #content-wrapper .text {
    overflow: visible !important;
}

/* Banner přes celou šířku okna */
body:has(.transport--construction) #content .hero,
body:has(.transport--construction) .content-inner .hero,
body:has(.transport--construction) article .hero {
    position: relative !important;
    left: 50% !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* Obrázek banneru vyplní celou šířku */
body:has(.transport--construction) #content .hero > img,
body:has(.transport--construction) .content-inner .hero > img,
body:has(.transport--construction) article .hero > img,
body:has(.transport--construction) #content .hero .hero-bg,
body:has(.transport--construction) .content-inner .hero .hero-bg,
body:has(.transport--construction) article .hero .hero-bg {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Klasický IMG banner */
body:has(.transport--construction) #content .hero > img,
body:has(.transport--construction) .content-inner .hero > img,
body:has(.transport--construction) article .hero > img {
    min-height: 470px;
    height: 470px !important;
    object-fit: cover !important;
    object-position: center center !important;
}

/* Banner použitý jako background */
body:has(.transport--construction) #content .hero .hero-bg,
body:has(.transport--construction) .content-inner .hero .hero-bg,
body:has(.transport--construction) article .hero .hero-bg {
    position: absolute !important;
    inset: 0 !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* Obsah uvnitř banneru zůstane zarovnaný s ostatním obsahem */
body:has(.transport--construction) #content .hero .hero-inner,
body:has(.transport--construction) .content-inner .hero .hero-inner,
body:has(.transport--construction) article .hero .hero-inner {
    position: relative !important;
    z-index: 2;
    width: min(var(--oni-content-width), calc(100% - var(--oni-page-gap))) !important;
    max-width: var(--oni-content-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Mobil */
@media (max-width: 680px) {
    body:has(.transport--construction) #content .hero > img,
    body:has(.transport--construction) .content-inner .hero > img,
    body:has(.transport--construction) article .hero > img {
        height: 320px !important;
        min-height: 320px !important;
    }
}
