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

/*----------------------------------------*/
/*  4.4 Alumni css
/*----------------------------------------*/

.rs-alumni{
    &-one{
        .rs-alumni-thumb{
            margin-bottom: 40px;
            img{
                width: 100%;
                border-radius: 12px;
            }
        }
        .section-desc{
            margin-bottom: 45px;
        }
    }
    &-two{
        .rs-alumni-wrapper {
            display: grid;
            grid-template-columns: 750px auto;
            gap: 30px;
            margin-top: 42px;
            @media #{$laptop}{
                grid-template-columns: 650px auto;
            }
            @media #{$lg}{
                grid-template-columns: 500px auto;
            }
            @media #{$md}{
                grid-template-columns: repeat(1,1fr);
            }
        }
        .rs-alumni-content{
            ul{
                li{
                    list-style: none;
                    position: relative;
                    padding-inline-start: 10px;
                    &:not(:last-child){
                        margin-bottom: 5px;
                    }
                    &::before{
                        position: absolute;
                        content: "";
                        width: 5px;
                        height: 5px;
                        background: #4C4C4C;
                        border-radius: 50%;
                        top: 10px;
                        inset-inline-start: 0;
                    }
                }
            }
        }
        .rs-alumni-inner{
            position: relative;
            padding-inline-start: 40px;
            @media #{$md}{
                padding-inline-start: 25px;
            }
            &::before{
                position: absolute;
                content: "";
                inset-inline-start: 0px;
                top: 0px;
                width: 16px;
                height: 16px;
                background-color: var(--rs-theme-blue);
                border: 3px solid rgba(255, 255, 255, 0.98);
                border-radius: 50%;
                z-index: 2;
                box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.3);
            }
            &::after{
                position: absolute;
                content: "";
                inset-inline-start: 7px;
                top: 0;
                bottom: 0;
                width: 1px;
                height: 100%;
                background-color: var(--rs-border-primary);
            }
        }
        .rs-alumni-title{
            background: var(--rs-theme-blue); 
            padding-top: 23px;
            padding-bottom: 20px;
            padding-inline-start: 25px;
            padding-inline-end: 25px;
            border-radius: 6px 6px 0 0;
            color: var(--rs-white);
        }
        .rs-alumni-content{
            color: var(--rs-text-primary);
            padding-top: 20px;
            padding-inline-start: 30px;
            padding-inline-end: 30px;
            padding-bottom: 25px;
            background: var(--rs-white);
            border-radius: 0 0 6px 6px;
            position: relative;
            @media #{$md}{
                padding-inline-start: 20px;
                padding-inline-end: 20px;
                padding-bottom: 20px;
            }
        }
        .rs-alumni-thumb{
            height: 100%;
            width: 100%;
            img{
                width: 100%;
                height: 100%;
                object-fit: cover;
                object-position: top center;
                border-radius: 12px;
            }
        }
        .rs-alumni-content-item-wrapper{
            display: flex;
            align-items: center;
            flex-direction: column;
            gap: 30px;
        }
        .rs-alumni-thumb-wrapper{
            display: flex;
            align-items: center;
            flex-direction: column;
            gap: 30px;
        }
        .rs-alumni-desc{
            font-weight: 500;
            font-style: italic;
        }
    }
    &-details{
        .rs-alumni-wrapper{
            display: grid;
            grid-template-columns: 400px auto;
            gap: 30px 50px;
            align-items: center;
            @media #{$laptop}{
                grid-template-columns: 350px auto;
                gap: 30px 30px;
                align-items: start;
            }
            @media #{$lg}{
                grid-template-columns: 300px auto;
            }
            @media #{$md}{
                grid-template-columns: auto;
            }
        }
        .rs-alumni-thumb-wrapper{
            background: var(--rs-white);
            box-shadow: 0px 4px 30px 0px rgba(0, 0, 0, 0.06);
            border-radius: 16px;
            padding: 12px;
            @media #{$laptop}{
                position: sticky;
                top: 110px;
            }
            @media #{$md}{
                position: relative;
                top: unset;
            }
        }
        .rs-alumni-author-thumb{
            img{
                width: 100%;
                border-radius: 12px;
            }
        }
        .rs-alumni-author-info{
            padding-top: 20px;
            padding-bottom: 13px;
        }
        .rs-alumni-author-name{
            margin-bottom: 5px;
        }
        .rs-alumni-details-title {
	        margin-bottom: 15px;
        }
        .rs-alumni-details-desc {
            border-bottom: 1px solid var(--rs-border-primary);
            padding-bottom: 30px;
            margin-bottom: 33px;
        }
        .rs-alumni-info {
            display: grid;
            grid-template-columns: repeat(2,1fr);
            gap: 20px;
            @media #{$sm}{
                grid-template-columns: repeat(1,1fr);
            }
        }
        .rs-info-list{
            li{
                list-style: none;
                position: relative;
                padding-inline-start: 12px;
                &:not(:last-child){
                    margin-bottom: 8px;
                }
                &::before{
                    position: absolute;
                    content: "";
                    width: 5px;
                    height: 5px;
                    background: #4C4C4C;
                    border-radius: 50%;
                    top: 9px;
                    inset-inline-start: 0;
                }
            }
        }
        .rs-alumni-info-title {
	        margin-bottom: 15px;
        }
    }
}