.beos-icon-wall-card {
    position: relative;
    padding: 1.25rem 0.625rem;
    display: flex;
    justify-self: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;

    /* responsive size + fixed ratio */
    max-width: 16rem;
    min-width: 10rem;
    height: 100%;
    aspect-ratio: 3 / 4;


    background-color: var(--bb-history-bg-color);

}

.beos-icon-wall-card:focus-visible {
    outline: 2px solid var(--bs-dark-text-color);
    outline-offset: 2px;
}

.beos-icon-wall-card__icon-wrap {
    max-width: 5rem;

    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;

}

.beos-icon-wall-card__icon {
    object-fit: contain;
    max-width: 5rem;
    height: 5rem;
    padding-bottom: 1.25rem
}

.beos-icon-wall-card__content {
    position: relative;
    z-index: 1;
}

.beos-icon-wall-card__paragraph {
    text-align: center;
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5rem;
}

.beos-icon-wall-card__hover {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 1.25rem 0.625rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bs-dark-text-color);
    color: white;
    opacity: 0;
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.2s ease;
}

.beos-icon-wall-card:hover .beos-icon-wall-card__hover,
.beos-icon-wall-card:focus .beos-icon-wall-card__hover,
.beos-icon-wall-card:focus-within .beos-icon-wall-card__hover {
    opacity: 1;
}
