/* Compact homepage actions with the original KITUWI figures and apparatus. */
.light-home .light-hero .entry-actions--six {
    width: min(100%, 60rem);
    margin-top: 1.8rem;
    gap: .85rem;
}

.light-home .light-hero .entry-mat-action {
    --mat-surface: #fff6e9;
    --mat-edge: #edcfaa;
    --mat-edge-hover: #cf9a59;
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 4.75rem;
    padding: .7rem 5.25rem .7rem 1.1rem;
    border: 1px solid var(--mat-edge);
    border-radius: .75rem;
    background: var(--mat-surface);
    box-shadow: 0 2px 8px rgb(38 60 47 / 4%);
    color: #263c2f;
    backdrop-filter: none;
    font-size: .95rem;
    line-height: 1.35;
    letter-spacing: -.015em;
    isolation: isolate;
    overflow: hidden;
    transform: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.light-home .light-hero .entry-mat-action--trial {
    --mat-surface: #fffbf8;
    --mat-edge: #e6d9d1;
    --mat-edge-hover: #c9a58e;
}

.light-home .light-hero .entry-mat-action--overview {
    --mat-surface: #f7faf8;
    --mat-edge: #d5e0d9;
    --mat-edge-hover: #9eb6a7;
}

.entry-mat-action strong {
    position: relative;
    z-index: 2;
    min-width: 0;
    font-weight: 700;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

.entry-mat-copy-line {
    display: block;
}

.entry-mat-arrow {
    display: inline-block;
    margin-left: .2em;
    color: #8e4114;
    font-size: 1.05em;
    line-height: .8;
    white-space: nowrap;
}

.entry-mat-action--overview .entry-mat-arrow {
    color: #263c2f;
}

.light-home .entry-mat-action .entry-mat-visual {
    position: absolute;
    right: .7rem;
    bottom: .35rem;
    display: block;
    width: 7rem;
    height: 7.5rem;
    transform: scale(.53);
    transform-origin: bottom right;
    pointer-events: none;
}

.entry-mat-visual img {
    position: absolute;
    display: block;
    max-width: none;
    height: auto;
    object-fit: contain;
    /* No filter, blend mode or deformation: the brand figures stay original. */
}

.entry-mat-action--course .entry-mat-apparatus {
    right: 1.2rem;
    bottom: 0;
    width: 4.2rem;
}

.entry-mat-action--course .entry-mat-kid {
    top: 0;
    left: 1.1rem;
    width: 4.4rem;
}

.entry-mat-action--trial .entry-mat-apparatus {
    right: 0;
    bottom: .05rem;
    width: 7rem;
}

.entry-mat-action--trial .entry-mat-kid {
    right: .15rem;
    bottom: 2.3rem;
    width: 6rem;
}

.entry-mat-action--overview .entry-mat-apparatus {
    right: 0;
    bottom: .05rem;
    width: 7rem;
}

.entry-mat-action--overview .entry-mat-kid {
    right: 1.05rem;
    bottom: .72rem;
    width: 4.9rem;
}

.light-home .light-hero .entry-mat-action:hover,
.light-home .light-hero .entry-mat-action:focus-visible {
    border-color: var(--mat-edge-hover);
    background: var(--mat-surface);
    box-shadow: 0 4px 12px rgb(38 60 47 / 7%);
    color: #263c2f;
    transform: translateY(-1px);
}

.light-home .light-hero .entry-mat-action:active {
    box-shadow: none;
    transform: none;
}

.light-home .light-hero .entry-mat-action:focus-visible {
    outline: 2px solid #526b5c;
    outline-offset: 3px;
}

@media (min-width: 761px) and (max-width: 1080px) {
    .light-home .light-hero .entry-actions--six {
        gap: .75rem;
    }

    .light-home .light-hero .entry-mat-action {
        padding: .65rem 5rem .65rem .9rem;
        font-size: .95rem;
    }

    .light-home .entry-mat-action .entry-mat-visual {
        right: .6rem;
        transform: scale(.5);
    }
}

@media (max-width: 900px) {
    .light-home .light-hero .entry-actions--six {
        width: min(100%, 30rem);
        grid-template-columns: 1fr;
        gap: .65rem;
        margin-top: 1.8rem;
    }

    .light-home .light-hero .entry-mat-action {
        min-height: 4.5rem;
        padding: .65rem 5.25rem .65rem 1rem;
        font-size: .95rem;
    }

    .light-home .entry-mat-action .entry-mat-visual {
        right: .75rem;
        bottom: .35rem;
        transform: scale(.5);
    }

    .light-home .light-hero .light-google {
        margin-top: 1.5rem;
    }
}

@media (max-width: 680px) {
    .light-home .light-hero .entry-actions--six {
        gap: .6rem;
    }

    .light-home .light-hero .entry-mat-action {
        min-height: 4.25rem;
        padding: .6rem 5rem .6rem 1rem;
        font-size: .95rem;
    }

    .light-home .entry-mat-action .entry-mat-visual {
        right: .65rem;
        bottom: .3rem;
        transform: scale(.48);
    }
}

@media (prefers-reduced-motion: reduce) {
    .light-home .light-hero .entry-mat-action {
        transition: none;
    }

    .light-home .light-hero .entry-mat-action:hover,
    .light-home .light-hero .entry-mat-action:focus-visible,
    .light-home .light-hero .entry-mat-action:active {
        transform: none;
    }
}

@media (forced-colors: active) {
    .light-home .light-hero .entry-mat-action {
        border: 2px solid ButtonText;
        background: ButtonFace;
        color: ButtonText;
        box-shadow: none;
    }

    .entry-mat-arrow {
        color: LinkText;
    }
}
