html {
    scroll-behavior: smooth;
    margin: 0px !important;
}

@font-face {
  font-family: Gilroy-Regular;
  src: url('../fonts/Gilroy-Regular.ttf');
}

@font-face {
  font-family: Gilroy-Medium;
  src: url('../fonts/Gilroy-Medium.ttf');
}

@font-face {
  font-family: Manrope-Regular;
  src: url('../fonts/Manrope-Regular.ttf');
}

@font-face {
  font-family: Manrope-Medium;
  src: url('../fonts/Manrope-Medium.ttf');
}

@font-face {
  font-family: Manrope-SemiBold;
  src: url('../fonts/Manrope-SemiBold.ttf');
}

@font-face {
  font-family: Manrope-Bold;
  src: url('../fonts/Manrope-Bold.ttf');
}

body{
    font-size: 16px;
    margin: 0;
    padding: 0;
    font-family: "Gilroy-Medium", sans-serif;
    color:var(--font-color);
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    line-height: 1.625;
    background-color: var(--white);
}

h1, h2{
    font-family: "Manrope-Bold", sans-serif;
    font-weight: normal;
}

h3, h4{
    font-family: "Manrope-SemiBold", sans-serif;
    font-weight: normal;
}

h5{
    font-family: "Manrope-Medium", sans-serif;
    font-weight: normal;
}

p{
    font-family: "Gilroy-Medium", sans-serif;
    font-weight: normal;
}

:root {
    --font-color: #000000;
    --font-color-light: #6B7280;
    --heading-color: #0F172A;
    --white: #ffffff;
    --black: #ffffff;
    --theme-color: #DD3333;
    --footer-bg: #2D1B1B;
    --body-bg: #F8F6F6;

    --theme-color-hover: #bb1111;
}

/* // header styles */
.navbar-brand{
    min-width: 220px;
}

.navbar-brand img{
    width: 80px;
}

.site-header .nav-link{
    font-family: 'Manrope-Medium', sans-serif;
    color: var(--heading-color);
    font-size: 15px;
    transition: ease-in-out 0.3s;
}

.site-header .nav-link:hover{
    color: var(--theme-color);
}

.site-header .nav-item{
    margin-right: 15px !important;
}

.site-header .nav-item:last-child{
    margin-right: 0px;
}

.site-header .dropdown-menu .dropdown-item{
    font-family: 'Manrope-Medium', sans-serif;
    color: var(--heading-color);
    font-size: 15px;
    padding: 10px 15px;
    transition: ease-in-out 0.3s;
}

.site-header .dropdown-menu .dropdown-item:hover{
    background-color: rgb(255 226 226 / 40%);
    color: var(--theme-color);
}

.site-header .dropdown-menu{
    min-width: 13rem;
    border: none;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 10%);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.site-header .nav-item.dropdown:hover .dropdown-menu{
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-search-field{
    background-color: #F8F6F6;
    border-radius: 8px;
    padding: 5px 5px 5px 40px;
    min-height: 48px;
    border: 1px solid transparent;
    box-shadow: transparent;
}

.header-search-field::placeholder{
    color: #6B7280;
}

.search-btn-icon{
    position: absolute;
    left: 12px;
    top: 12px;
    color: #6B7280;
    font-size: 14px;
}

.header-search-field:hover, .header-search-field:focus{
    outline: none;
    box-shadow: none;
    border: 1px solid var(--theme-color);
    background-color: rgb(255 226 226 / 20%);
    box-shadow: 0px 5px 10px -2px rgb(255 226 226 / 20%);
}

.site-header .sticky{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

.search-results-box {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 999;
    display: none;
    max-height: 320px;
    overflow-y: auto;
}

.search-results-box a {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

.search-results-box a:hover {
    background: #f5f7fa;
    color: var(--theme-color);
}

.search-results-box span {
    display: block;
    padding: 12px;
    color: #888;
}

/* footer styles */
.site-footer{
    background-color: var(--footer-bg);
    padding-top: 4rem;
}

.footer-wrapper{
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.footer-brand{
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-brand img{
    width: 80px;
}

.footer-company-info{
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}

.footer-info-heading{
    font-size: 20px;
    text-align: center;
    color: var(--white);
    margin-bottom: 0px;
}

.footer-info-description{
    text-align: center;
    color: var(--white);
    margin-bottom: 0px;
}

.footer-menu{
    margin-bottom: 0px;
    flex-wrap: wrap;
}

.footer-menu li{
    margin: 0px 0px;
}

.footer-menu li::after{
    position: relative;
    content: '|';
    color: var(--white);
    margin: 0px 15px;
}

.footer-menu li:last-child:after{
    display: none;
}

.footer-menu li a{
    color: var(--white);
    text-decoration: none;
    transition: ease-in-out 0.3s;
}

.footer-menu li a:hover{
    color: var(--theme-color);
}

.footer-bottom-wrapper{
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0px;
    margin-top: 2rem;
    border-top: 1px solid rgb(255 225 225 / 20%);
}

.footer-bottom-wrapper p{
    color: var(--white);
    margin-bottom: 0px;
    font-size: 15px;
}

/* home styles */
.homev0{
    background-color: var(--body-bg);
}
/* banner */
.topbanner{
    width: 100%;
    position: relative;
    display: inline-block;
    padding: 20px 0px;
    background-color: var(--theme-color);
}

.banner-wrapper{
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* top post */
.top-post-contaoner{
    width: 100%;
    position: relative;
    display: inline-block;
    padding-top: 25px;
}

.toppost-content-wrapper{
    width: 100%;
    position: relative;
    display: flex;
    border-radius: 16px;
    padding: 3rem;
    background-color: var(--heading-color);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.toppost-content-wrapper::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 1));
    width: 100%;
    height: 100%;
}

.tp-caption{
    width: 70%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 450px;
    position: relative;
    z-index: 11;
}

.tp-badge{
    background-color: var(--theme-color);
    width: fit-content;
    height: 30px;
    border-radius: 6px;
    color: var(--white);
    padding: 3px 10px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tp-heading{
    color: var(--white);
    margin-bottom: 15px;
    margin-top: 20px;
    text-decoration: none;
    transition: ease-in-out 0.3s;
}

.tp-heading:hover{
    transition: ease-in-out 0.3s;
    color: var(--theme-color);
    text-decoration: underline;
}

.tp-heading h1{
    margin-bottom: 0px;
    font-size: 60px;
}

.tp-expert-text{
    color: var(--white);
    font-size: 18px;
}

.tp-link-btn{
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    color: var(--heading-color);
    background-color: var(--white);
    width: fit-content;
    min-height: 48px;
    text-decoration: none;
    transition: ease-in-out 0.3s;
}

.tp-link-btn:hover{
    transition: ease-in-out 0.3s;
    background-color: var(--theme-color);
    color: var(--white);
}

/* home main content */

.main-content{
    width: 100%;
    position: relative;
    padding: 40px 0px;
    overflow: hidden;
}

.latest-content-wrapper{
    width: 100%;
    position: relative;
    display: inline-block;
}

.latest-head{
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E5E7EB;
}

.latest-heading{
    font-size: 24px;
    margin-bottom: 0px;
    color: var(--heading-color);
}

.latest-view-link{
    text-decoration: none;
    color: var(--theme-color);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: ease-in 0.3s;
}

.latest-view-link:hover{
    transition: ease-in 0.3s;
    color: var(--theme-color-hover);
}

.latest-post-body{
    width: 100%;
    position: relative;
    display: inline-block;
}

.latest-post-item{
    width: 100%;
    position: relative;
    display: flex;
    margin-bottom: 25px;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background-color: var(--white);
    border-radius: 25px;
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 10%);
    transition: ease-in 0.3s;
}

.latest-post-item:hover{
    transition: ease-in 0.3s;
    margin-top: -10px;
}

.latest-post-item:hover .lpost-heading{
    color: var(--theme-color);
    transition: ease-in 0.3s;
}

.latest-post-item:last-child{
    margin-bottom: 0px;
}

.lpost-content{
    width: 100%;
    position: relative;
    display: inline-block;
}

.lpostctop{
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.lp-category-heading{
    font-size: 12px;
    text-transform: uppercase;
    color: var(--theme-color);
    margin-bottom: 0px;
}

.lp-read-time{
    color: var(--font-color-light);
    font-size: 12px;
    margin-bottom: 0px;
}

.lp-category-heading::after{
    content: '•';
    position: relative;
    margin: 0px 8px;
    color: var(--font-color-light);
}

.lpostcmiddle{
    width: 100%;
    position: relative;
    display: inline-block;
}

.lpostcmiddle a{
    text-decoration: none;
}

.lpost-image{
    width: 200px;
    min-width: 200px;
    height: 200px;
    position: relative;
    display: inline-block;
}

.lpost-image img{
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.lpost-heading{
    text-decoration: none;
    margin-bottom: 15px;
    color: var(--heading-color);
    transition: ease-in 0.3s;
}

.lpost-heading:hover{
    color: var(--theme-color);
    transition: ease-in 0.3s;
}

.lpost-heading h2{
    font-size: 22px;
    font-family: 'Manrope-SemiBold', sans-serif;
}

.lpost-description{
    font-size: 14px;
}

.lpostcbottom{
    display: flex;
    align-items: center;
    gap: 10px;
}

.lpostcbottom .avatar{
    width: 32px;
    height: 32px;
    min-height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.lpost-author-info{
    display: flex;
    gap: 0px;
    flex-direction: column;
}

.lpost-author-name{
    font-size: 12px;
    color: var(--heading-color);
    margin-bottom: 0px;
}

.lpost-post-date{
    font-size: 12px;
    color: var(--font-color-light);
    margin-bottom: 0px;
}

/* all posts */
.all-posts-container{
    width: 100%;
    position: relative;
    display: inline-block;
    padding: 3rem 0rem;
}

/* right widget */
.right-widgets-wrapper{
    width: 100%;
    position: relative;
    display: inline-block;
    padding-left: 20px;
}

.newsletter-widget{
    width: 100%;
    position: relative;
    display: inline-block;
    padding: 25px;
    border-radius: 25px;
    background-color: rgb(236 19 19 / 10%);
    border: 1px solid rgb(236 19 19 / 50%);
}

.newsletter-head{
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--theme-color);
    margin-bottom: 20px;
}

.ntop-head{
    text-transform: uppercase;
    margin-bottom: 0px;
    font-size: 12px;
    margin-top: 3px;
}

.newsletter-body h4{
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--heading-color);
}

.newsletter-body p{
    font-size: 15px;
}

.newsletter-fields{
    width: 100%;
    position: relative;
    display: inline-block;
}

.new-input{
    width: 100%;
    position: relative;
    display: inline-block;
    padding: 7px 10px;
    min-height: 38px;
    border-radius: 8px;
    background-color: var(--white);
    margin-bottom: 15px;
    border: none;
    font-size: 14px;
}

.new-input:focus, .new-input:active{
    outline: none;
    box-shadow: none;
}

.new-input::placeholder{
    color: var(--font-color-light);
}

.subscribe-btn{
    width: 100%;
    position: relative;
    display: inline-block;
    padding: 7px 10px;
    min-height: 38px;
    border-radius: 8px;
    background-color: var(--theme-color);
    color: var(--white);
    border: none;
    transition: ease-in 0.3s;
}

.subscribe-btn:hover{
    background-color: var(--theme-color-hover);
    transition: ease-in 0.3s;
}

.trending-post-widget{
    width: 100%;
    position: relative;
    display: inline-block;
    padding: 25px;
    border-radius: 25px;
    background-color: var(--white);
    margin-top: 30px;
}

.widget-card-heading{
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    font-size: 18px;
    color: var(--heading-color);
    margin-bottom: 30px;
}

.widget-card-heading::before{
    content: '';
    width: 5px;
    background-color: var(--theme-color);
    position: relative;
    margin-right: 15px;
    height: 18px;
    display: inline-block;
    margin-top: -5px;
}

.trending-post-lists{
    width: 100%;
    position: relative;
    display: inline-block;
}

.trending-post-item{
    width: 100%;
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.trending-post-item:last-child{
    margin-bottom: 0px;
}

.tp-image{
    width: 60px;
    height: 60px;
    min-width: 60px;
    position: relative;
    display: inline-block;
}

.tp-image img{
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.tp-content-title{
    display: inline-block;
    text-decoration: none;
    color: var(--heading-color);
    transition: ease-in 0.3s;
}

.tp-content-title:hover{
    transition: ease-in 0.3s;
    color: var(--theme-color);
}

.tp-content-title h4{
    font-size: 14px;
    margin-bottom: 0px;
}

.tp-posted-date{
    font-size: 12px;
    color: var(--font-color-light);
    margin-bottom: 0px;
}

/* post view details */
.post-view-container{
    width: 100%;
    position: relative;
    display: inline-block;
    padding: 3rem 0rem;
}

.posts-view-wrapper{
    width: 100%;
    position: relative;
    display: inline-block;
    padding: 3rem;
    border-radius: 25px;
    background-color: #f8f6f6;
}

.post-view-heading{
    width: 100%;
    position: relative;
    display: inline-block;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 34px;
    color: var(--heading-color);
}

.post-featured-float {
    float: left;
    width: 45%;
    max-width: 480px;
    margin: 0 30px 20px 0;
    border-radius: 10px;
}

.post-content {
    font-size: 16px;
    line-height: 1.8;
}

/* Clear float after content */
.post-content-wrapper::after {
    content: "";
    display: block;
    clear: both;
}

/* Mobile fix */
@media (max-width: 768px) {
    .post-featured-float {
        float: none;
        width: 100%;
        margin: 0 0 20px 0;
    }
}

.post-permalink strong{
    color: var(--heading-color);
}

.post-permalink a{
    color: var(--theme-color);
    overflow-wrap: break-word;
}

.post-content-wrapper h2{
    font-size: 24px;
    color: var(--heading-color);
}

.post-content-wrapper h3{
    font-size: 20px;
    color: var(--heading-color);
}

.post-content-wrapper a{
    color: var(--theme-color);
}

.page-heading h1{
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--heading-color);
    width: 100%;
    text-align: center;
}

.latest-post-pages .latest-post-body{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.latest-post-pages .latest-post-body .latest-post-item{
    margin-bottom: 10px;
}

/* pagination */
.custom-pagination{
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.custom-pagination .page-numbers{
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    text-decoration: none;
    color: var(--font-color);
    transition: ease-in 0.3s;
}

.custom-pagination .page-numbers.current{
    background-color: var(--theme-color);
    border-color: var(--theme-color);
    color: var(--white);
}

.custom-pagination .page-numbers:hover{
    transition: ease-in 0.3s;
    background-color: var(--theme-color);
    border-color: var(--theme-color);
    color: var(--white);
}

.custom-pagination .page-numbers.current:hover{
    background-color: #bb1111;
}

/* new home v1 styles */
.homev1{
    background-color: var(--body-bg);
}
.homev1 .banner-wrapper img{
    height: 150px;
    object-fit: contain;
}

.homev1 .main-content-container{
    width: 100%;
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.homev1 .tp-heading h1{
    font-size: 45px;
}

.homev1 .latest-post-body{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 0px;
}

.homev1 .latest-post-item{
    flex-direction: column;
    align-items: flex-start;
    gap: 0px;
    margin-bottom: 0px;
}

.vmiddlecontent{
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.homev1 .lpost-image{
    width: 120px;
    min-width: 120px;
    height: 120px;
}

.homev1 .lpost-heading h2{
    font-size: 20px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.homev1 .lpost-description{
    margin-bottom: 0px;
}

.homev1 .lpostcbottom{
    margin-top: 15px;
}

/* new home v2 styles */
.homev2 .banner-wrapper img{
    height: 150px;
    object-fit: contain;
}

.homev2 .main-content-container{
    width: 100%;
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

/* .homev2 .newsletter-widget{
    background-color: #1b0d0d;
    border-color: #1b0d0d;
}

.homev2 .newsletter-body h4{
    color: var(--white);
}

.homev2 .newsletter-body p{
    color: var(--white);
} */

.homev2 .widget-card-heading::before{
    display: none;
}

.homev2 .widget-card-heading{
    color: var(--theme-color);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--theme-color);
    text-transform: uppercase;
}

.homev2 .mainpost-content-wrapper{
    width: 100%;
    position: relative;
    display: inline-block;
    border-radius: 25px;
    /* padding: 30px; */
    background-color: var(--white);
}

.homev2 .trending-post-widget{
    padding: 0px;
}

.homev2 .right-widgets-wrapper{
    padding-left: 0px;
}

.homev2 .toppost-wrapper{
    width: 100%;
    position: relative;
    display: inline-block;
    padding: 20px;
    border-radius: 25px;
    box-shadow: 0 5px 20px 1px rgba(0, 0, 0, 0.1);
}

.tp-top{
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.tpt-badge-heading{
    font-size: 20px;
    text-transform: uppercase;
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 0px;
    font-style: italic;
}

.tpt-badge-heading::before{
    content: '';
    width: 6px;
    height: 25px;
    background-color: var(--theme-color);
    margin-right: 15px;
}

.tpt-date{
    margin-bottom: 0px;
    color: var(--font-color-light);
}

.tp-middle{
    width: 100%;
    position: relative;
    display: inline-block;
    margin-top: 30px;
}

.tpm-category-text{
    text-transform: uppercase;
    font-size: 14px;
    color: var(--theme-color);
}

.tpm-post{
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.tpm-post-image{
    flex: 40%;
    position: relative;
    display: inline-block;
    height: 100%;
}

.tpm-image{
    width: 100%;
    position: relative;
    display: inline-block;
    height: 100%;
}

.tpm-image img{
    width: 100%;
    height: 100%;
    min-height: 225px;
    object-fit: cover;
    border-radius: 12px;
    display: inline-block;
}

.tpm-post-content{
    width: 60%;
    min-width: 60%;
}

.tpm-heading{
    color: var(--font-color);
    margin-bottom: 10px;
    text-decoration: none;
    transition: ease-in 0.3s;
}

.tpm-heading:hover{
    transition: ease-in 0.3s;
    color: var(--theme-color);
}

.tpm-heading h1{
    font-size: 32px;
}

.tp-bottom{
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

.tp-author-name{
    font-size: 12px;
    text-transform: uppercase;
    color: var(--font-color-light);
    font-family: 'Manrope-Medium', sans-serif;
    margin-bottom: 0px;
}

.tp-author-name::after{
    content: '•';
    position: relative;
    margin: 0px 8px;
    display: inline-block;
    color: var(--font-color-light);
}

.tp-read-time{
    font-size: 12px;
    text-transform: uppercase;
    color: var(--font-color-light);
    font-family: 'Manrope-Medium', sans-serif;
    margin-bottom: 0px;
}


.lppost-item-wrapper{
    width: 100%;
    position: relative;
    display: inline-block;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #dddddd;
}

.lppost-top{
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: ease-in 0.3s;
    margin: 10px 0px;
}

.lppost-top img{
    width: 60px;
    height: 60px;
    min-width: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.lppost-heading{
    font-size: 16px;
    color: var(--heading-color);
    text-decoration: none;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    margin-bottom: 0px;
    transition: ease-in 0.3s;
}

.lppost-top:hover .lppost-heading{
    transition: ease-in 0.3s;
    color: var(--theme-color);
}

.lppost-category-heading{
    font-size: 12px;
    text-transform: uppercase;
    color: var(--theme-color);
    margin-bottom: 0px;
}

.lppost-description{
    color: var(--font-color-light);
}

.lppost-description {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    margin-bottom: 0px;
    transition: ease-in 0.3s;
}

.homev2 .latest-post-body{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 0px;
}

.homev2 .latest-post-item{
    flex-direction: column;
    align-items: flex-start;
    gap: 0px;
    margin-bottom: 0px;
}

.homev2 .lpost-image{
    width: 120px;
    min-width: 120px;
    height: 120px;
}

.homev2 .lpost-heading h2{
    font-size: 20px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.homev2 .lpost-description{
    margin-bottom: 0px;
}

.homev2 .lpostcbottom{
    margin-top: 15px;
}

.publications-post-lists{
    width: 100%;
    position: relative;
    display: inline-block;
}

.publication-item{
    width: 100%;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.publication-item:last-child{
    margin-bottom: 0px;
    padding-bottom: 0px;
    border-bottom: none;
}

.publication-post-wrapper{
    width: 100%;
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: inherit;
    transition: ease-in 0.3s;
}

.pb-post-featured-img{
    width: 100%;
    height: 180px;
    object-fit: contain;
}

.pb-post-heading{
    font-size: 16px;
    color: var(--font-color);
    margin-bottom: 10px;
    margin-top: 10px;
    transition: ease-in 0.3s;
}

.publication-post-wrapper:hover .pb-post-heading{
    color: var(--theme-color);
}

.pb-post-description{
    margin-bottom: 0px;
    font-size: 14px;
}

.homev2 .trending-post-widget{
    padding: 20px;
    border-radius: 25px;
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 10%);
}

/* custom pagination */
.custom-pagination .page-numbers a{
    color: var(--font-color);
    text-decoration: none;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-pagination .page-numbers a:hover{
    color: var(--white) !important;
}

.custom-pagination .page-numbers.current a{
    color: var(--white);
}