   -webkit-line-clamp: var(--heading-max-lines, 3);
    }

    :host([immersive-card]) .wide .text {
        width: 47%;
        padding: calc(var(--msft-article-padding) * 1px);
    }

    :host([immersive-card]) .wide .text .heading-wrapper {
        height: 100%;
        display: flex;
        align-items: center;
    }

    :host([immersive-card]) .wide .heading {
        font-size: var(--type-ramp-plus-2-font-size);
        line-height: var(--type-ramp-plus-2-line-height);
        -webkit-line-clamp: var(--heading-max-lines, 6);
    }

    :host([immersive-card]) .wide .image-end {
        width: unset;
        height: 100%;
    }

    :host([immersive-card]) .wide .image-end-container {
        max-height:unset;
    }

    :host([immersive-card]) .wide .image {
        display: block;
    }

    :host([immersive-card]) .wide .image-end-gradient-container {
        display: flex;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }

    :host([immersive-card]) .wide .image-end-gradient-top {
        width: 30px;
        height: 100%;
    }

    :host([immersive-card]) .wide .image-end-gradient-bottom {
        width: 100px;
        height: 100%;
    }

    :host([immersive-card]) .wide.narrow-image .text {
        width: 50%;
    }

    :host([immersive-card]) .wide.narrow-image .text .heading-wrapper {
        padding-inline-end: 18px;
    }

    :host([immersive-card]) .wide.narrow-image .image-end-container .image ::slotted(img) {
        width: auto;
        max-height: 304px;
    }

    :host([immersive-card]) .wide.narrow-image .image-end-gradient-top {
        width: 10px;
        height: 100%;
    }

    :host([immersive-card]) .wide.narrow-image .image-end-gradient-bottom {
        display: none;
    }

    :host([immersive-card]) .wide.image-pos-start .gradient {
        right: -105px;
        background: linear-gradient(
            90deg,
            transparent 0%,
            var(--gradient-mid-color) 90px,
            var(--gradient-color) 120px
        );
    }

    :host([immersive-card]) .wide.wide-image .text {
        width: 100%;
    }

    :host([immersive-card]) .wide.wide-image .text .heading-wrapper {
        align-items: end;
    }

    :host([immersive-card]) .wide.wide-image .heading {
        -webkit-line-clamp: var(--heading-max-lines, 1);
    }

    :host([immersive-card]) .wide.wide-image .image-end,
    :host([immersive-card]) .wide.wide-image .image-end-container .image ::slotted(img) {
        width: 100%;
    }

    :host([immersive-card]) .wide.wide-image .image {
        display: flex;
    }

    :host([immersive-card]) .wide.wide-image .image-end-gradient-container {
        display: block;
        width: 100%;
        position: absolute;
        bottom: 0;
    }

    :host([immersive-card]) .wide.wide-image .image-end-gradient-container:after {
        content: "";
        height: 45px;
        background: var(--gradient-color);
        position: absolute;
        bottom: 0;
        right: 0;
        left: 0;
    }

    :host([immersive-card]) .wide.wide-image .image-end-gradient-top {
        width: 100%;
        height: 47px;
        background: linear-gradient(
            180deg,
            transparent 0%,
            var(--gradient-mid-color) 100%
        );
        position: absolute;
        bottom: 74px;
    }

    :host([immersive-card]) .wide.wide-image .image-end-gradient-bottom {
        width: 100%;
        height: 29px;
        background: linear-gradient(
            180deg,
            var(--gradient-mid-color) 0%,
            var(--gradient-color) 100%
        );
        position: absolute;
        bottom: 45px;
    }

    :host([card]) .article {
        padding: 16px;
    }

    :host([card]: