﻿#secList {
    width: 70%
}

#secMostReaded {
    width: 30%;
    padding: 20px;
}

#secSellYourCar {
    outline: 1px solid #0000004f;
    border-radius: 4px;
    padding: 20px;
    background-color: #d3d3d34a;
    text-align: center;
    line-height: 1.4
}

#btnSellYourCar {
    color: white;
    background-color: var(--orange);
    border-radius: 5px;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 18px;
    margin-top: 20px;
}

#Caption {
    font-weight: 600;
    font-size: 32px;
    color: var(--orange);
    margin: 20px 0;
    line-height: 1.4
}

#list {
    display: flex;
    flex-wrap: wrap;
}

#secListInner {
    display: flex;
    flex-wrap: wrap;
}

.blogContainer {
    width: 100%;
    border-bottom: 1px solid #0000001a;
    padding: 10px 0px;
}

.blogContainerInner {
    display: flex;
    overflow: hidden;
    cursor: pointer;
}

.blogContainerImage {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 180px;
    width: 40%;
    border-radius: 4px;
    background-size:contain;
}

.blogContainerSummary {
    padding: 10px 20px;
    width: 60%;
    display: flex;
    flex-direction: column;
}

.blogContainerSummaryTitle {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4
}

.blogContainerSummarDescription {
    font-size: 16px;
    margin: 10px 0;
    line-height: 1.4
}

.blogContainerSummarDate {
    font-size: 16px;
    margin: 10px 0;
    justify-self: end;
}

.tagItem {
    padding: 5px 10px;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
    font-size: 14px;
}

#blogTitle{
        margin:10px;
        text-align:center;
        font-weight:600;
        font-size:28px;
}

#blogImg {
    height: 350px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

@media (max-width: 768px) {
    .blogContainer {
        width: 100%;
        padding: 10px;
    }

    #secList {
        width: 100%
    }

    #secMostReaded {
        width: 100%
    }

    .blogContainerInner {
        display: flex;
        flex-direction: column;
        overflow: hidden;
        cursor: pointer;
    }

    .blogContainerImage {
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        height: 180px;
        width: 100%;
        border-radius: 4px
    }

    .blogContainerSummary {
        padding: 10px 5px;
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    #blogImg {
        height: 200px;
    }
}
