:host {
    display: block;
    padding: 10px;

}

:host(:not(:first-child)) {
    border-top: 1px solid var(--primary-surface);
}

:host(:not(:last-child)) {
    border-bottom: 1px solid var(--primary-surface);
}

.side-by-side {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;

    & .side-image {
        width: 160px;
        height: 160px;

        &.pixelated {
            image-rendering: pixelated;
        }
    }

    & .side-content {
        flex: 1;
        min-width: 0;
    }

    @media all and (max-width: 500px) {
        gap: 0;
        display: grid;
        grid-template-columns: auto;

        & .side-image {
            width: 120px;
            height: 120px;
            justify-self: center;
        }

        & .side-content {
            h2 {
                margin-top: 0;
            }
        }
    }
}
