.blog-details{
    margin-top: 60px;
}
.blog-details .header p{
    color: #a0a0a0;
    font-weight: 600;
    margin-bottom: 10px;
}
.blog-details .header h1{
    font-weight: 600;
    padding: 0 17rem;
    line-height: 52px;
    margin-bottom: 20px;
}
.blog-details .header ul{
    text-align: center;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 15px;
}
.blog-details .header ul li{
    background: #a0b4c0;
    padding: 2px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 12px;
}

.blog-details .image{
    padding: 0px;
}
.blog-details .image img{
    width: 100%;
}
.blog-details .details{
    background: #FAFAFA;
    padding: 30px;
    font-weight: 500;
}
.blog-details .details p:last-child{
    margin-bottom: 0px;
}

.blog-details .author img{
    border-radius: 50%;
    margin-right: 12px;
}
.blog-details .author p{
    font-weight: 600;
}
.blog-details .shares h3{
    font-size: 20px;
    color: #a0a0a0;
    margin-bottom: 5px;
}
.blog-details .shares ul{
    list-style: none;
    display: flex;
    justify-content: end;
    gap: 20px;
}
.blog-details .shares ul li a{
    color: black;
}
.blog-details .shares ul li a i{
    font-size: 20px;
}
@media only screen and (max-width: 1200px){
    .blog-details .header h1{
        padding: 0px 6rem;
    }
}
@media only screen and (max-width: 991px){
    .blog-details .header h1 {
        padding: 0px 2rem;
    }
}
@media only screen and (max-width: 767px){
    .blog-details .header h1 {
        line-height: 40px;
    }
    section.sub {
        margin-top: 20px !important;
    }
    .blog-details .shares h3,
    .blog-details .shares ul li a i {
        font-size: 15px;
    }
}
@media only screen and (max-width: 512px){
    .blog-details .header p{
        margin-bottom: 0px;
    }
    .blog-details .header h1 {
        line-height: 31px;
        font-size: 25px;
    }
}


/* related blog section */
.blogs{
    margin-top: 30px;
}
.blogs h2{
    font-weight: 900;
    margin-bottom: 0px;
}
.blogs .cards{
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}
.blogs .card{
    width: calc(25% - 15px);
}
.blogs .cards .content{
    padding: 15px;
    background: #FAFAFA;
}
.blogs .cards .content p{
    font-size: 14px;
    color: #707070;
    font-weight: 600;
    margin-bottom: 15px;
}
.blogs .cards .content h2{
    font-size: 16px;
    margin-bottom: 30px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit content to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}
.blogs .cards .content .author{
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 22px;
}
.blogs .cards .content .author img{
    width: 30px;
    height: 30px;
    border-radius: 50%;
}
.blogs .cards .content .author p{
    margin: 0;
    color: #9b9b9b;
    font-size: 14px;
    font-weight: 600;
}
.blogs .cards .content .btn{
    float: right;
}

@media only screen and (max-width: 991px){
    .blogs .cards {
        flex-wrap: wrap;
    }
    .blogs .cards .card{
        width: calc(33% - 15px);
    }
}
@media only screen and (max-width: 767px){
    .blogs .cards .card{
        width: calc(50% - 15px);
    }
}
@media only screen and (max-width: 425px){
    .blogs .cards .card{
        width: 100%;
    }
}
