.crp-list-item {
    &.crp-list-item-has-image {
        display: flex;
        margin: 5px 0;

        &.crp-list-item-image-left {
            .crp-list-item-image {
                margin-right: 10px;
            }
        }
        &.crp-list-item-image-right {
            justify-content: space-between;

            .crp-list-item-image {
                margin-left: 10px;
            }
        }

        &.crp-list-item-image-left,
        &.crp-list-item-image-right {
            align-items: center;
        }

        &.crp-list-item-image-above,
        &.crp-list-item-image-below {
            flex-direction: column;
        }
    }

    .crp-list-item-image {
        font-size: 0;

        img {
            width: 100%;
        }
    }

    // New structure styling (only when additional fields are enabled).
    .crp-list-item-content {
        flex: 1;

        .crp-list-item-line {
            margin-bottom: 3px;

            &:last-child {
                margin-bottom: 0;
            }
        }

        .crp-field-title {
            font-weight: bold;

            a {
                text-decoration: none;
                color: inherit;

                &:hover {
                    text-decoration: underline;
                }
            }
        }

        .crp-field-author {
            a {
                color: inherit;
                text-decoration: none;

                &:hover {
                    text-decoration: underline;
                }
            }
        }
    }
}