@use '../../utils' as *;

/*----------------------------------------*/
/*  4.2 Award css
/*----------------------------------------*/

.rs-award{
    &-one{
        .rs-award-item{
            background: var(--rs-bg-primary);
            padding: 60px 30px 30px 30px;
            border-radius: 4px;
            border: 1px solid transparent;
            transition: .3s;
            position: relative;
            @media #{$laptop}{
                padding: 40px 20px 20px 20px;
            }
            &::before{
                content: "";
                position: absolute;
                left: 0;
                bottom: 0;
                height: 3px;
                border-radius: 0 0 4px 4px;
                width: 0;
                background-color: var(--rs-theme-green);
                transition: all 0.5s ease;
            }
            &:hover{
                &::before{
                    width: 100%;
                }
            }
        }
        .rs-award-top{
            display: flex;
            justify-content: space-between;
        }
        .rs-award-thumb{
            img{
                width: 80px;
                height: 60px;
                object-fit: cover;
            }
        }
        .rs-award-date{
            color: var(--rs-theme-green);
            font-weight: 600;
            position: relative;
            z-index: 1;
            .rs-stroke-text{
                font-size: 50px;
                font-weight: 700;
                color: rgba(232, 236, 237, 0);
                -webkit-text-stroke-width: 2px;
                stroke-width: 2px;
                -webkit-text-stroke-color: #E8ECED;
                stroke: #E8ECED;
                position: absolute;
                inset-inline-start: 0;
                top: -35px;
                z-index: -1;
            }
        }
        .rs-award-title{
            text-transform: uppercase;
            font-weight: 500;
            color: var(--rs-text-primary);
            margin: 35px 0 3px;
            @media #{$lg}{
                font-size: 16px;
            }
        }
        .rs-award-name{
            text-transform: capitalize;
            font-weight: 500;
            margin: 75px 0 0;
            font-size: 18px;
            color: var(--rs-theme-green);
        }
    }
}