
/* Homepage - Světlo pro život */

/* Stín bílého textu ve všech rozlišeních */
body.type-index .mito-light__title.--lighter,
body.type-index .mito-light__right p {
    text-shadow: 0 1px 5px rgba(0, 0, 0, 1);
}

/* Tablet a menší obrazovky */
@media (max-width: 992px) {
    body.type-index .mito-light::before {
        content: "";
        position: absolute;
        top: 0;
        left: -260px;
        width: 1980px;
        height: 100%;
        z-index: 1;
        pointer-events: none;
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, .55) 0%,
            rgba(0, 0, 0, .46) 38%,
            rgba(0, 0, 0, .20) 65%,
            transparent 83%
        );
    }

    body.type-index .mito-light > div {
        z-index: 2;
    }
}

/* Mobil */
@media (max-width: 767px) {
    body.type-index .mito-light::before {
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, .56) 0%,
            rgba(0, 0, 0, .51) 32%,
            rgba(0, 0, 0, .30) 50%,
            transparent 73%
        );
    }

    body.type-index .mito-light {
        padding-top: 55px;
        padding-bottom: 70px;
    }

    body.type-index .mito-light__title {
        font-size: clamp(30px, 8.5vw, 39px);
        line-height: 1.08;
    }

    body.type-index .mito-light p {
        font-size: 17px;
        line-height: 1.5;
    }
}


/* Product card specs – headline */
.products .p .p-desc .ji-card-specs > p.ji-card-specs__headline {
    grid-column: 1 / -1;
    margin: 0 0 15px;
    color: #141414;
    font-weight: 600;
}

/* Preserve the existing two-column grid */
.products .p .p-desc .ji-card-specs > dl {
    display: contents;
}


/* Efekty terapie hover */
@media (min-width: 1024px)
  and (hover: hover)
  and (pointer: fine)
  and (prefers-reduced-motion: no-preference) {

  .ji-benefits__items > .ji-benefits__item {
    transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .ji-benefits__items > .ji-benefits__item:hover {
    transform: translateY(-4px);
  }
}