#solution.hs-solution {
    padding: 105px 0 115px;
    overflow: hidden
}

#solution .modes-layout {
    display: grid;
    grid-template-columns: 390px minmax(0, 1fr);
    gap: 52px;
    align-items: center
}

#solution .modes-list {
    display: grid;
    gap: 12px
}

#solution .mode-choice {
    background: #fff4e2;
    border: 1px solid #e9c88f;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px #4f0c192c;
    transition: background .25s, border-color .25s, box-shadow .25s
}

#solution .mode-choice.active {
    background: #fff8e9;
    border-color: #ffe0a8;
    box-shadow: 0 14px 32px #4f0c193d
}

#solution .mode-trigger {
    width: 100%;
    min-height: 76px;
    display: grid;
    grid-template-columns: 34px 1fr 22px;
    gap: 14px;
    align-items: center;
    text-align: left;
    background: transparent;
    border: 0;
    padding: 17px 20px;
    color: #70212a;
    cursor: pointer
}

#solution .mode-trigger:focus-visible {
    outline: 3px solid #fff0c4;
    outline-offset: -4px
}

#solution .mode-icon {
    display: grid;
    place-items: center;
    color: #a13c3d
}

#solution .mode-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round
}

#solution .mode-name {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4
}

#solution .mode-arrow {
    color: #ab7354;
    font-size: 23px;
    line-height: 1;
    transition: transform .25s
}

#solution .mode-choice.active .mode-arrow {
    transform: rotate(90deg);
    color: #8c2b33
}

#solution .mode-detail {
    padding: 0 22px 20px 68px;
    color: #684740;
    font-size: 14px;
    line-height: 1.7
}

#solution .mode-detail[hidden] {
    display: none
}

#solution .mode-detail p {
    margin: 0 0 11px
}

#solution .mode-detail ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0 0 13px;
    padding: 0
}

#solution .mode-detail li {
    border: 1px solid #ead2ae;
    border-radius: 4px;
    background: #fffaf1;
    padding: 3px 8px;
    color: #885345;
    font-size: 12px
}

#solution .mode-detail a {
    color: #922832;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px
}

#solution .mode-detail a:hover {
    text-decoration: underline
}

#solution .mode-stage {
    position: relative;
    min-height: 470px;
    display: grid;
    place-items: center
}

#solution .mode-figure {
    width: 100%;
    height: 470px;
    margin: 0;
    display: grid;
    place-items: center
}

#solution .mode-figure[hidden] {
    display: none
}

#solution .mode-figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 18px 20px #4f0b1b2c)
}

#solution .mode-figure.entering {
    animation: mode-appear .38s ease both
}

@keyframes mode-appear {
    from {
        opacity: .2;
        transform: translateY(8px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@media(max-width:900px) {
    #solution .modes-layout {
        grid-template-columns: 1fr;
        gap: 24px
    }

    #solution .mode-stage,
    #solution .mode-figure {
        min-height: 0;
        height: 340px
    }
}

@media(prefers-reduced-motion:reduce) {

    #solution .mode-choice,
    #solution .mode-arrow {
        transition: none
    }

    #solution .mode-figure.entering {
        animation: none
    }
}