/* 
.products-showcase {}
*/

.products-list {
    opacity: 1;
}

.products-list.ready {
    opacity: 1 !important;
}

.container .content-block {
    width: 100%;
}

.section-content-row.products-list {
    box-sizing: border-box;
    padding: 0;
    height: auto;
}


.products-list-header {
    display: block;
    width: 100%;
}

.products-list-content {
    position: relative;
}

.products-info-header {
    margin-bottom: 1rem;
}

.product-info-header-item {
    display: block;
}

/* --- MOBILE ---- */
.products-info-header .product-info {
    padding: 1.5rem;
}

.product-info-contents {
    max-width: 20rem;
    z-index: 1;
}

.products-list-content .product-info {
    padding: 1.5rem;
    position: relative;
    display: flex;
}

.products-list-content .product-info:nth-of-type(odd) {
    justify-content: flex-start;
    left: 1px;
}

.products-list-content .product-info:nth-of-type(even) {
    justify-content: flex-end;
    right: 1px;
}

.products-list-content .product-info:nth-of-type(odd)::before,
.products-list-content .product-info:nth-of-type(even)::after{
    content: "";
    position: absolute;
    top: -2px;
    bottom: 0;
    border: 2px solid #E01F21;
    border-radius: 1rem;
    z-index: 0;
}

.products-list-content .product-info:nth-of-type(odd)::before{
    width: 50%;
}
.products-list-content .product-info:nth-of-type(even)::after {
    width: 50%;
}

.products-list-content .product-info:nth-of-type(odd)::before{
    border-right-color: transparent;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    left: 0;
}
.products-list-content .product-info:nth-of-type(even)::after{
    border-left-color: transparent;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    right: 0;
}

.products-list .cta-holder {
    padding-top: 1.5rem;
}

.products-list-content .product-info:nth-of-type(even) .product-info-contents .cta-holder {
    text-align: right;
}

.link-line-text {
    position: absolute;
    font-size: 1.25rem;
    line-height: 1.2;
    color:#E01F21;
    display: inline-block;
    font-weight: 600;
    background: white;
    width: auto;
    z-index: 1;
    padding: .2rem 1rem;
}

.link-line-text.top {
    left: 50%;
    transform: translateX(-50%);
    top: -1rem;
}
.link-line-text.bottom {
    right: 50%;
    transform: translateX( 50%);
    text-align: right;
    bottom: -0.9rem;
}

.link-line-text.arrow::before, 
.link-line-text.arrow::after {
    width: 0;
    height: 0; 
    color: inherit;
    position: absolute;
    border-top: 0.4rem solid transparent;
    border-bottom: 0.4rem solid transparent;
    
}

.link-line-text.arrow.left::before {
    content: ""; 
    border-right: 0.6rem solid currentColor;
    left: -0.5rem;
    top: 0.55rem;
}
.link-line-text.arrow.right::after {
    content: "";
    border-left: 0.6rem solid currentColor;
    right: -0.5rem;
    top: 0.55rem;
}

.product-info .icon-and-product-name-holder {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 1rem;
    padding: 10px 0;
}

.products-list-content .product-info:nth-of-type(even) .icon-and-product-name-holder {    
    flex-direction: row-reverse;
}

.products-list-content .product-info:nth-of-type(even) .item-heading,
.products-list-content .product-info:nth-of-type(even) .item-description {    
    text-align: right;
}


/* Text sizing and layout */

.product-info .product-name {
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.21;
    margin-bottom: 0rem;
    margin-left: 1rem;
    margin-right: 1rem;
}

.product-info .item-heading {
    font-weight: 600;
    font-size: 1.675rem;
    line-height: 1.1;
    margin-bottom: 1.2rem
}

.product-info .item-description * {
    font-weight: 300;
    font-size: 0.75rem;
    line-height: 1rem;
}

.products-list-header-content-block .product-info .item-description * {
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.2;
}
.products-list-header-content-block .product-info .item-heading {
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.25;
    margin-bottom: 2rem;
}
.products-list-header-content-block .products-info-header .product-info {
    max-width: 100%;
}

.product-info .icon-holder > * {
    box-sizing: border-box;
    display: block;
    width: 100%;
    height: 100%;
    max-height: 5rem;
    object-fit: contain;
}

.products-info h3 {
    font-size: 1rem;
}

@media (min-width: 640px ){

    .product-info-contents {
        max-width: unset;
    }

    .products-info-header .product-info {
        padding: 1.5rem 0;
        max-width: unset;
        display: flex;
    }
    .products-info-header .product-info .item-content-column {
        padding: 1rem;
    }
    .products-info-header .product-info .item-content-column--1 {
        flex: 0 0 50%;
    }
    .products-info-header .product-info .item-content-column--2 {
        flex: 0 0 50%;
        padding-left: 2rem;
    }
}
@media (min-width: 640px ) and (max-width: 959px ){
    
    .products-list-content .product-info-contents {
        width: 50%;
    }

    .product-info .product-name {
        font-size: 1.25rem;
        line-height: 1.21;
        margin-bottom: 0rem;
    }
    
    .product-info .item-heading {
        font-weight: 700;
        font-size: 1.5rem;
        line-height: 1.25;
        margin-bottom: 2rem;
    }
    
    .product-info .item-description * {
        font-weight: 600;
        font-size: 1.1rem;
        line-height: 1.36;
    }
    
    .products-info h3 {
        font-size: 1rem;
    }
}

/*

    Padding on item-heading 0 1ch
    remove dtop large font change

*/

@media (min-width: 960px ){
    .products-list-content-block {
        padding: 0 1rem;
    }

    .products-list-inner-wrapper {
        display: flex;
    }

    .products-list-inner-wrapper .product-info {
        flex: 1;
        justify-content: center;
        text-align: center;
    }

    .products-list-content .product-info:nth-of-type(even) {
        justify-content: center;
        text-align: center;
        left: 1px;
    }


    .products-list-content .product-info-contents {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .products-list-content .product-info-contents .cta-holder {
        margin-top: auto;
        text-align: center;
    }

    .products-list-content .product-info:nth-of-type(even) .product-info-contents .cta-holder {
        text-align: center;
    }




    .products-list-content .product-info:nth-of-type(odd)::before,
    .products-list-content .product-info:nth-of-type(even)::after{
        position: absolute;
        width: auto;
        height: 50%;
        left: 0px;
        right: -2px;
        border-radius: 1rem;
    }

    .products-list-content .product-info:nth-of-type(odd)::before{
        top: 50%;
    }
    .products-list-content .product-info:nth-of-type(even)::after {
        top: 2px;
    }

    .products-list-content .product-info:nth-of-type(odd)::after, 
    .products-list-content .product-info:nth-of-type(even)::before {
            content: unset;
            border: none;
            
    }
    .products-list-content .product-info:nth-of-type(odd)::before, 
    .products-list-content .product-info:nth-of-type(even)::after {
        content: "";
        border-left-color:#E01F21;
        border-right-color:#E01F21;

        border-bottom-left-radius: 2rem;
        border-bottom-right-radius: 2rem;
    }
    .products-list-content .product-info:nth-of-type(odd)::before{
        border-bottom-color:#E01F21;
        border-bottom-width: 2px;
        border-top-color: transparent;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
    .products-list-content .product-info:nth-of-type(even)::after{
        border-top-color:#E01F21;
        border-bottom-color: transparent;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        border-top-left-radius: 2rem;
        border-top-right-radius: 2rem;
    }

    .complete .products-list-content .product-info:last-of-type::before,
    .complete .products-list-content .product-info:first-of-type::after{
        content: "";
        position: absolute;
        width: calc( 100% - 2rem );
        right: -2px;
        height: 50%;
    }
    
    
    .complete .products-list-content .product-info:first-of-type::after{
        left: 0px;
        border-top: 2px solid #E01F21;
        border-left: 2px solid #E01F21;
        border-top-left-radius: 2rem;
        top: -2px;
    }
    
    .complete .products-list-content .product-info:last-of-type::before {
        right: 0px;
        bottom: 0;
        border-bottom: 2px solid #E01F21;
        border-right: 2px solid #E01F21;
        border-bottom-right-radius: 2rem;
    }

    .link-line-text {
        display: block;  
        position: absolute;  
    }
    
    .link-line-text.top {
        width: auto;
        left: 2px;
        top: 50%;
        bottom: auto;
    }
    .link-line-text.bottom {
        position: absolute;
        width: auto;
        top: 50%;
        bottom: auto;
    }
    .link-line-text.up {
        text-align: left;
        transform: rotate(-90deg) translateX(-50%);
        transform-origin: left;
    } 
    .link-line-text.down {
        right: 0;
        transform: rotate(90deg) translateX(50%);
        transform-origin: right;
    } 

    .link-line-text.arrow.left::after {
        border-right: 0.6rem solid #E01F21;
        left: -1rem;
        top: 0.5rem;

    }
    .link-line-text.arrow.right::after {
        border-right: 0.6rem solid transparent;
        border-left: 0.6rem solid #E01F21;
        right: -1rem;
        top: 0.5rem;
    }

    .link-line-text.arrow.right.down::after {
        border-left: 0.6rem solid transparent;
        border-right: 0.6rem solid #E01F21;
        left: -1rem;
        top: 0.5rem;
        right: unset;
    }

    .product-info .icon-and-product-name-holder {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        margin-bottom: 1rem;
        padding: 0;
    }


    .products-list-content .product-info:nth-of-type(even) .icon-and-product-name-holder {    
        flex-direction: column;
    }

    .products-list-content .product-info:nth-of-type(even) .item-heading,
    .products-list-content .product-info:nth-of-type(even) .item-description {    
        text-align: center;
    }

    .product-info .product-name {
        font-size: 1.1rem;
        margin-top: 1rem;
    }
    
    .product-info .item-heading {
        font-weight: 700;
        font-size: 1.3rem;
        line-height: 1.25;
        margin-bottom: 1rem;
        padding: 0 1ch;
        min-height: 5.5rem;
    }
    
    .product-info .item-description * {
        font-weight: 600;
        font-size: 1.1rem;
        line-height: 1.36;
    }
    
    .products-info h3 {
        font-size: 1.25rem;
    }

    .offering-showcase h5 {
        font-size: 1.5rem;
    }

}
@media (min-width: 1140px ){

    .product-info .product-name {
        margin-bottom: 0rem;
    }
    
    .products-info h3 {
        font-size: 1rem;
    }
}
