:root:has(.vh-trial-question[open]) {
    overflow: hidden;
}

.vh-trial-question {
    box-sizing: border-box;
    width: min(34rem, calc(100% - 2rem));
    max-height: calc(100% - 2rem);
    padding: clamp(1.5rem, 5vw, 2.75rem);
    border: 1px solid #ece7dc;
    border-radius: 1.25rem;
    background: #fff;
    color: #20231d;
    box-shadow: 0 24px 80px rgb(19 24 18 / 28%);
    text-align: center;
}

.vh-trial-question::backdrop {
    background: rgb(19 24 18 / 68%);
}

.vh-trial-question h2 {
    max-width: 20ch;
    margin: 0 auto 1.75rem;
    color: inherit;
    font-size: clamp(1.5rem, 5vw, 2.25rem);
    font-weight: 800;
    line-height: 1.15;
    text-wrap: balance;
}

.vh-trial-question h2:focus {
    outline: none;
}

.vh-trial-question__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

#vh-trial-question .vh-button {
    min-height: 3rem;
    padding: .625rem 1rem;
    border: 1px solid transparent;
    border-radius: .5rem;
    background: var(--vuka-yellow, #ffb919);
    color: #20231d !important;
    box-shadow: none;
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
}

#vh-trial-question .vh-button:is(:hover, :focus-visible) {
    background: #ffc548;
    color: #20231d !important;
}

.vh-trial-question .vh-button:focus-visible {
    outline: 2px solid #20231d;
    outline-offset: 3px;
}
