:root {
    --color-primary: #ff184e;
}
.container {
    max-width: 1240px;
    margin: 0 auto;
}
.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-.5 * var(--bs-gutter-x));
    margin-left: calc(-.5 * var(--bs-gutter-x));
}
.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-right: auto;
    margin-left: auto;
}
.row>* {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-top: var(--bs-gutter-y);
    flex-grow: 1;
}
*, *::before, *::after {
  box-sizing: border-box;
}

@media only screen and (min-width:992px){
    .col-lg-9 {
        flex: 0 0 auto;
        width: 75%;
    }
    .col-lg-8 {
        flex: 0 0 auto;
        width: 66.66666667%;
    }
    .col-lg-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }
    .col-lg-6 {
        flex: 0 0 auto;
        width: 50%;
    }
    .col-lg-3 {
        flex: 0 0 auto;
        width: 25%;
    }
    .col-lg-2 {
        flex: 0 0 auto;
        width: 16.66666667%;
    }
    .col-lg-5{
        flex: 0 0 auto;
        width: 41.6667%;
    }
    .col-lg-7{
        flex: 0 0 auto;
        width: 58.3333%;
    }
}
p {
    line-height: 1.4;
    font-weight: 400;
    color: #565656;
    font-family: "Montserrat", sans-serif !important;
}
.main-sec {
    padding: 60px 0px 40px;
}
.featured-interal {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.featured-post .featured-category {
    font-size: 12px;
    color: #d84315;
    font-weight: bold;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}
.featured-post .featured-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 10px;
}
.featured-post .featured-title a {
    text-decoration: none;
    color: #000;
}
.featured-post .featured-excerpt {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
}
.featured-post .featured-image {
    position: relative;
}
.featured-post .featured-image img {
    width: 100%;
    border-radius: 0px;
    object-fit: cover;
}
.dotted-border {
    border-bottom: 1px dashed #ccc;
    margin: 20px 0px;
}
.threepost-main {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.threepost-main-interal .post-category {
    font-size: 12px;
    color: #d84315;
    font-weight: bold;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}
.threepost-main-interal .post-title {
    font-size: 17px;
    line-height: 1.3;
    font-weight: 600;
    margin: 10px 0 5px;
}
.threepost-main-interal .post-title a {
    text-decoration: none;
    color: #000;
}
.threepost-main-interal .post-excerpt {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 0px;
}
.latest-posts .latest-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #ccc;
}
.latest-posts .post-title {
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
    margin: 0 0 5px;
}
.latest-posts .post-title a {
    text-decoration: none;
    color: #000;
}
.latest-posts .post-author {
    font-size: 14px;
    color: #555;
}
.latest-posts .post-thumbnail img {
    width: 175px;
    height: 120px;
    object-fit: cover;
    max-width: none;
}
.threepost-main-interal .threepost-image img {
    height: 185px;
    width: 100%;
    object-fit: cover;
    margin-bottom: 10px;
}
.threeposts-sec {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-content: center;
}
.threeposts-sec.four {
    grid-template-columns: repeat(4, 1fr);
}
.threeposts-sec .single-post {
    width: 100%;
}
.bottom-section .threeposts-sec img {
    margin-bottom: 10px;
    width: 100%;
    object-fit: cover;
    height: 250px;
}
.threeposts-sec.four .single-post img {
    height: 200px;
}
.bottom-section .post-title {
    font-size: 18px;
    line-height: 1.4;
    text-decoration: none;
    font-weight: 600;
    color: #1e1e1e;
    margin: 0px 0px 10px;
    display: block;
}
.bottom-section a.post-title {
    height: 50px;
    overflow: hidden;
}
.section-title {
    font-size: 30px;
    font-weight: 600;
    color: #1e1e1e;
    margin-bottom: 30px;
    margin-top: 0px;
    text-transform: uppercase;
}
.bottom-section.dark{
    background-color: #1e1e1e;
}
.bottom-section.dark .featured-interal,
.horizontal .featured-interal{
    flex-direction: row;
}
.bottom-section.dark .featured-interal .content-featured,
.horizontal .featured-interal .content-featured {
    width: 55%;
}
.latest-posts.horizontal {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.latest-posts.horizontal .latest-item {
    margin-bottom: 0px;
    padding-bottom: 0px;
    border-bottom: none;
    align-items: flex-start;
}
.bottom-section .post-title {
    font-size: 18px;
    line-height: 1.4;
    text-decoration: none;
    font-weight: 600;
    color: #1e1e1e;
    margin: 0px 0px 10px;
    display: block;
}
.threepost-main.four-grid {
    display: grid;
    grid-template-columns: repeat(2, 2fr);
    gap: 15px;
}
.four-grid .threepost-main-interal .threepost-image img {
    height: 135px;
}
.four-grid .threepost-main-interal .post-title {
    font-size: 15px;
}
.br-1 {
    border-right: 1px solid #ccc;
}
.dark .featured-post .featured-title a,
.dark .latest-posts .post-title a,
.dark .threepost-main-interal .post-title a,
.dark .section-title{
    color: #fff;
}
.dark .featured-post .featured-excerpt,
.dark .latest-posts .post-author{
    color: #ccc;
}


@media only screen and (max-width: 767px){
    .threepost-main {
        grid-template-columns: repeat(1, 1fr);
    }
    .main-sec > .col-lg-8{
        margin-bottom: 30px;
    }
    .threeposts-sec.four,
    .threeposts-sec{
        grid-template-columns: repeat(1, 1fr);
    }
    .bottom-section.dark .featured-interal, .horizontal .featured-interal {
        flex-direction: column;
    }
    .latest-posts.horizontal {
        grid-template-columns: repeat(1, 1fr);
    }
}