body {
    background-color: #fff;
}

.all-posts-area .inner,
.related-posts .cont,
.header-area .cont {
    max-width: 1040px;
    margin: auto;
}

/*.header-area .cont {
  max-width: 1065px;
  padding-right: 5px;
}*/

.header-area {
    height: 508px;
    background-color: #fafafa;
    padding-top: 158px;
}

.header-area .st {
    font-size: 64px;
    line-height: 64px;
    color: #000;
    font-weight: 700;
    margin-bottom: 32px;
}

.header-area p {
    font-weight: 500;
    font-size: 24px;
    color: #808080;
    line-height: 32px;
    display: inline-block;
}

.social-links {
    padding-left: 0px;
    list-style: none;
    width: 100%;
    max-width: 195px;
    text-align: right;
    float: right;
    position: relative;
    top: -1.5px;
}

.social-links li {
    display: inline-block;
    margin-right: 22px;
}

.social-links li:last-child {
    margin-right: 0px;
}

.social-links li a path {
    transition: 0.5s;
}

.social-links li a:hover path,
.social-links li a:focus path,
.social-links li a:hover:focus path {
    fill: var(--black-5);
}

@media (max-width: 767px) {
    .header-area {
        padding-top: 83px;
        height: 380px;
    }
}

@media (max-width: 722px) {
    .header-area p {
        width: 100%;
        text-align: center;
        font-size: 14px;
    }

    .social-links {
        width: 100%;
        text-align: center;
        float: none;
        max-width: 100%;
    }

    .header-area .st {
        font-size: 45px;
        text-align: center;
        line-height: 41px;
    }
}

@media (max-width: 325px) {
    .header-area p {
        font-size: 14px;
        line-height: 17px;
        max-width: 169px;
        display: block;
        margin: auto;
        margin-bottom: 17px;
    }
}

/**/
.all-posts-area {
    position: relative;
    margin-top: -135px;
}

.all-posts-area .single .smt,
.related-posts .post .smt {
    font-weight: bold;
    font-size: 14px;
    line-height: 24px;
    color: var(--yellow);
    display: inline-block;
    margin-bottom: 8px;
    padding-top: 14px;
}

.all-posts-area .single .s-title {
    font-weight: bold;
    font-size: 32px;
    line-height: 36px;
    max-width: 334px;
    letter-spacing: -0.02em;
    color: var(--black-5);
    margin-bottom: 16px;
}

.all-posts-area .single .bottom-para {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #808080;
    margin-bottom: 28px;
    max-width: 330px;
}

.all-posts-area .single .s-title a {
    color: var(--black-5) !important;
    font-weight: bold;
}

.all-posts-area .single .s-title a:hover,
.all-posts-area .single .s-title a:focus,
.all-posts-area .single .s-title a:hover:focus {
    opacity: 0.7;
}

.all-posts-area .single .rt-area {
    background-color: #ffffff;
    max-width: 400px;
}

.all-posts-area .single .author,
.related-posts .post .author {
    display: block;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: var(--black-5);
    margin-bottom: 4px;
}

.all-posts-area .single .date,
.related-posts .post .date {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    opacity: 0.5;
    color: var(--black-5);
}
.all-posts-area .rt-area.ccol {
    padding-left: 32px;
    width: 38.46%;
    padding-right: 10px;
}

.all-posts-area .cont.single {
    filter: drop-shadow(0px 7.12px 14.24px rgba(0, 0, 0, 0.04));
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    align-items: center;
    margin-bottom: 48px;
    margin-left: 0px;
    margin-right: 0px;
}

.all-posts-area .cont.single .col {
    padding: 0;
}
.all-posts-area .cont.single .col a {
    display: inline-block;
}

.related-posts .center {
    justify-content: center;
}

.related-posts .center.row {
    margin-left: 0px;
    margin-right: 0px;
}
.all-posts-area .cont.single .col img {
    vertical-align: bottom;
}
.all-posts-area .cont.single .col img,
.related-posts .post img {
    height: auto;
}

.all-po0sts-area .inner {
    padding-left: 14px;
}

@media (max-width: 1230px) {
    .all-posts-area .single .s-title {
        font-size: 21px;
        line-height: 25px;
        max-width: 327px;
    }

    .all-posts-area .single .smt {
        font-size: 12px;
        line-height: 15px;
        color: var(--yellow);
        margin-bottom: 8px;
        padding-top: 24px;
    }

    .all-posts-area .single .author,
    .all-posts-area .single .date {
        font-size: 12px;
        line-height: 18px;
    }
}

@media (max-width: 1020px) {
    .all-posts-area .single .bottom-para {
        font-size: 15px;
        line-height: 20px;
        margin-bottom: 14px;
    }
}

@media (max-width: 881px) {
    .all-posts-area .rt-area.ccol {
        padding-left: 15px;
        width: 36.46%;
    }

    .all-posts-area .single .s-title {
        font-size: 17px;
        line-height: 20px;
        max-width: 327px;
    }

    .all-posts-area .single .bottom-para {
        font-size: 14px;
        line-height: 18px;
        margin-bottom: 13px;
        font-weight: 400;
    }
}

@media (max-width: 767px) {
    .all-posts-area .inner {
        padding-right: 12px;
        padding-left: 12px;
    }
}

@media (max-width: 722px) {
    .all-posts-area .cont.single {
        display: block;
        border: 1px solid #f3f3f3;
    }

    .all-posts-area .rt-area.ccol,
    .all-posts-area .cont.single .col {
        width: 100%;
    }

    .all-posts-area .inner {
        max-width: 425px;
    }

    .all-posts-area .single .s-title {
        font-size: 20px;
        line-height: 25px;
        max-width: 341px;
    }

    .all-posts-area .single .bottom-para {
        font-size: 16px;
        line-height: 24px;
        font-weight: 400;
        max-width: 100%;
        margin-bottom: 27px;
    }
}

@media (max-width: 440px) {
    .all-posts-area .single .s-title {
        max-width: 300px;
    }

    .all-posts-area .single .author,
    .all-posts-area .single .date {
        font-size: 13px;
        line-height: 18px;
    }
}

/**/

/*related-posts*/
/* .related-posts {
    margin-top: -150px;
} */

.related-posts .cont .row .col-sm-6:nth-child(odd) {
    padding-right: 16px;
    padding-left: 0px;
}

.related-posts .cont .row .col-sm-6:nth-child(even) {
    padding-left: 16px;
    padding-right: 0px;
}

.related-posts .post {
    border-radius: 4px;
    filter: drop-shadow(0px 10px 20px rgba(0, 0, 0, 0.04));
    background-color: #fff;
    max-width: 508px;
    overflow: hidden;
    height: 100%;
}

.related-posts .post .cont-area {
    padding-left: 36px;
    padding-right: 10px;
    text-align: left;
}
.related-posts .cont .row .col-sm-6 {
    margin-bottom: 23px;
}
.related-posts .post .s-title a {
    font-weight: bold;
    font-size: 24px;
    line-height: 32px;
    color: var(--black-5) !important;
}

.related-posts .post .s-title {
    max-width: 406px;
}

.related-posts .post .s-title a:hover,
.related-posts .post .s-title a:focus,
.related-posts .post .s-title a:hover:focus {
    opacity: 0.7;
}

.related-posts .post p {
    margin-bottom: 24px;
}

@media (max-width: 1230px) {
    .related-posts .post .s-title {
        max-width: 338px;
        line-height: 21px;
    }

    .related-posts .post .s-title a {
        font-weight: bold;
        font-size: 18px;
        color: var(--black-5) !important;
        line-height: 20px;
    }
}

@media (max-width: 767px) {
    .related-posts .cont .row .col-sm-6:nth-child(even) {
        padding-left: 10px;
        padding-right: 12px;
    }

    .related-posts .cont .row .col-sm-6:nth-child(odd) {
        padding-left: 12px;
        padding-right: 10px;
    }
}

@media (max-width: 720px) {
    .related-posts .col-sm-6 {
        width: 100%;
        padding: 0px 12px !important;
    }

    .related-posts .post {
        max-width: 425px;
        margin: auto;
        margin-bottom: 27px;
        border: 1px solid #f9f5f5;
    }
}

@media (max-width: 348px) {
    .related-posts .post .s-title a {
        font-size: 15px;
        line-height: 17px;
    }

    .related-posts .post .author,
    .related-posts .post .date {
        font-size: 12px;
    }
}

/*related-posts*/
