/* Equal, full-width panels for Home's business problem section. */
.vh-mk-home > .vh-mk-problem {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: stretch;
    align-items: stretch;
    gap: 0;
    height: auto;
    padding: 0;
}

.vh-mk-home .vh-mk-problem__why,
.vh-mk-home .vh-mk-problem__tools {
    min-width: 0;
    justify-content: center;
    padding: clamp(3rem, 5vw, 5rem) clamp(1.25rem, 3vw, 3rem);
    text-align: center;
}

.vh-mk-home .vh-mk-problem__why {
    background: var(--vuka-yellow);
}

.vh-mk-home .vh-mk-problem__tools {
    background: #fff;
}

.vh-mk-home .vh-mk-problem__why-inner {
    width: 100%;
    max-width: 30rem;
}

.vh-mk-home .vh-mk-problem__why p {
    margin-inline: auto;
}

.vh-mk-home .vh-mk-problem__list {
    max-width: 40rem;
    gap: clamp(.75rem, 1.5vw, 1.5rem);
}

.vh-mk-home .vh-mk-problem__list li {
    min-width: 0;
    padding-inline: .25rem;
    transform: none;
}

body.vuka-public.vuka-marketing-theme .vh-mk-home .vh-mk-home__solution-copy .vh-mk-display em:last-of-type {
    color: #231f20;
}

body.vuka-public.vuka-marketing-theme .vh-mk-home .vh-mk-stages li {
    background: #fff;
}

.vh-mk-home .vh-mk-selling__item {
    border-top-width: 2px;
    background: #fff;
}

@media (max-width: 900px) {
    .vh-mk-home > .vh-mk-problem {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }
}

/* Center the builder portal screenshot within its Home column and contain its width. */
@media (min-width: 901px) {
    .vh-mk-home > .vh-mk-home__solution {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.vh-mk-home .vh-mk-home__solution-visual {
    min-width: 0;
    justify-self: center;
    width: min(100%, 42rem);
}

.vh-mk-home .vh-mk-home__solution-visual .vh-mk-shot,
.vh-mk-home .vh-mk-home__solution-visual img {
    min-width: 0;
    max-width: 100%;
}

/* These neighbouring sections must grow when a wide viewport is short or text wraps. */
@media (min-width: 901px) {
    body.vuka-public.vuka-marketing-theme .vh-mk-home > .vh-mk-home__solution,
    body.vuka-public.vuka-marketing-theme .vh-mk-home > .vh-mk-steps {
        height: auto;
    }

    body.vuka-public.vuka-marketing-theme .vh-mk-home .vh-mk-steps {
        padding-block: clamp(3rem, 4vw, 4rem);
    }

    body.vuka-public.vuka-marketing-theme .vh-mk-home .vh-mk-steps__intro {
        height: auto;
    }
}

@media (min-width: 1251px) {
    /* A square minimum preserves the design without capping wrapped card content. */
    body.vuka-public.vuka-marketing-theme .vh-mk-home .vh-mk-stages li {
        aspect-ratio: auto;
        min-height: calc((min(58vw, 62rem) - 3 * clamp(.75rem, 1vw, 1.25rem)) / 4);
    }
}

/* Keep the positioned setup artwork and its stacking order inside its own section. */
body.vuka-public.vuka-marketing-theme .vh-mk-home > .vh-mk-steps {
    isolation: isolate;
    overflow: hidden;
}
