@use '../../utils' as *;
/*----------------------------------------*/
/*  5.3 Sidebar css
/*----------------------------------------*/

.sidebar {
    &-search {
        &-box {
            & input{
                width: 100%;
                height: 65px;
                line-height: 65px;
                padding-left: 50px;
                padding-right: 20px;
                text-transform: capitalize;
                color: var(--oit-clr-black);
                background: var(--oit-gray-1);
                border-radius: 10px;
                border: 1px solid rgba($color: #383F3E, $alpha: 0.2);
                &::placeholder {
                    font-weight: 400;
                    font-size: 16px;
                }
                &:focus {
                    border: 1px solid var(--oit-clr-green);
                }
            }            
        }
        &-button {
            & button {
                position: absolute;
                top: 50%;
                inset-inline-start: 20px;
                height: 100%;
                transform: translateY(-50%);
            }
    
        }
    }
    &-widget {
        padding: 45px 37px;
        border-radius: 20px;
        background-color: var(--oit-gray-1);
        border: 1px solid rgba(31, 36, 50, 0.1);
        @media #{$lg,$xs} {
            padding: 35px 25px;
        }
        &-title {
            font-size: 24px;
            text-transform: capitalize;
            color: var(--oit-clr-black);
        }
        &-post {
            & ul {
                & li {
                    list-style-type: none;
                    &:not(:last-child){
                        margin-bottom: 30px;
                        padding-bottom: 20px;
                        border-bottom: 1px solid rgba(121, 121, 121, 0.2);
                    }
                }
            }  
        }
    }
    &-contact {
        padding: 0 45px 40px 45px;
        & > span {
            font-weight: 500;
            font-size: 18px;
            line-height: 1.78;
            display: block;
            margin-bottom: 10px;
            font-family: var(--oit-ff-heading);
            color: var(--oit-clr-white);
        }
        & > a {
            display: inline-block;
            font-weight: 500;
            font-size: 25px;
            margin-bottom: 30px;
            color: var(--oit-clr-white);
            @media #{$lg,$xs}{
                font-size: 20px;
            }
        }
        &-circle {
            position: absolute;
            bottom: 0;
            inset-inline-end: 35px;
            display: block; 
            height: 90px;
            width: 90px;
            text-align: center;
            border-radius: 50%;
            margin-top: -50px;
            background-color: var(--oit-clr-green);
            border: 3px solid var(--oit-clr-white);
            @media #{$lg,$md,$xs}{
               inset-inline-end: 17%;
            }
            & span {
                font-weight: 600;
                font-size: 14px;
                display: flex;
                height: 100%;
                width: 100%;
                justify-content: center;
                align-items: center;
                letter-spacing: 0.01em;
                text-align: center;
                color: var(--oit-clr-black);
            }
        }
        &-wrap {
            overflow: hidden;
            border-radius: 20px;
            & .thumb img {
                width: 100%;
                border-radius: 0 0 50% 50%;
            }
            & .shape {
                position: absolute;
                bottom: 0;
                inset-inline-end: 0;
                z-index: -1;
            }
        }
    }
}
.tagcloud {
    & a {
        line-height: 1;
        font-size: 14px;
        text-align: center;
        border-radius: 10px;
        padding: 12px 15px;
        margin-bottom: 10px;
        display: inline-block;
        background-color: var(--oit-clr-white);
        border: 1px solid rgba(98, 94, 88, 0.1);
        &:not(:last-child){
            margin-right: 8px;
        }
        @media #{$xl} {
            font-size: 12px;
        }
        @media #{$lg} {
            font-size: 13px;
            margin-right: 5px;
            padding: 13px 20px;
        }
        @media #{$md} {
            font-size: 13px;
        }
        @media #{$sm} {
            font-size: 13px;
        }
        @media #{$xs} {
            font-size: 13px;
            margin-right: 5px;
        }
        &:hover{
            background-color: var(--oit-clr-green);
            border-color: var(--oit-clr-green);
        }
    }

    & span {
        font-weight: 600;
        font-size: 16px;
        line-height: 12px;
        color: #202124;
        margin-right: 8px;
    }
}
.rc {
    &-post {   
        &-thumb {
            & img {
                height: 150px;
                width: 100%;
                object-fit: cover;
                border-radius: 5px;
            }
        }
    
        &-title {
            font-weight: 500;
            font-size: 18px;
            line-height: 1.56;
            margin-bottom: 0;
            @media #{$xl}{
                font-size: 16px; 
                & br {
                    display: none;
                }               
            }
            @media #{$lg,$xs}{
                font-size: 14px;
                & br {
                    display: none;
                }
            }
            @media #{$sm}{
                font-size: 18px;                
            }
        }
    }
    &-meta {
        & i{
            margin-right: 5px;
        }
        & span {
            display: flex;
            align-items: center;
            gap: 7px;
        }
    }
}
