/* Pulse Advanced Posts - basic styles (add to theme or adjust in Elementor) */
.pulse-posts { font-family: inherit; color: inherit; }

/* Single banner */
.pulse-single-banner { margin-bottom: 40px; }
.pulse-banner-media img { width:100%; height:auto; border-radius:8px; display:block; }
.pulse-banner-title { font-size: 35px;font-weight: 600; margin-top:15px; line-height: 1.1em; text-decoration: none; transition: all .3s;}
.pulse-banner-excerpt { font-size:18px; color:#444; }

/* Top rated vertical */
.pulse-top-rated .pulse-top-item { display:flex; gap:18px; margin-bottom:20px; align-items:flex-start;flex-direction: column; }

.pulse-top-thumb img {
    object-fit: cover;
    object-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 2px !important;
    width: 100%;
    height: 170px;
    transition: all .2s;
    display: flex;}
    
.pulse-top-title { font-size:18px; margin:6px 0; }

/* Category row grid */
.pulse-cat-row-grid { display:grid; gap:28px; margin-top:12px; }
.pulse-cat-row-grid.columns-4 { grid-template-columns: repeat(4, 1fr); }
.pulse-cat-thumb img { width:100%; height:160px; object-fit:cover; border-radius:8px; }
.pulse-layout-category_row .pulse-cat-thumb img {height: 200px;object-fit: cover;border-radius: 2px;}

.pulse-layout-category_row .pulse-cat-meta {
    align-items: center;
    margin-top: 15px;
    margin-bottom: 15px;
    display: flex;}

    .pulse-layout-category_row .pulse-cat-meta time,  .pulse-layout-category_row .pulse-cat,.pulse-layout-category_row .pulse-cat a {
    color: #fff;
    font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 19px;}


.pulse-layout-category_row .pulse-cat {padding-left: 5px;}

.pulse-layout-category_row .pulse-cat-title a {
    font-size: 19px;
    font-weight: 600;
    line-height: 26px;
    text-decoration: none;
    transition: all .3s;
    color: #fff;
}

/* Trending stories */
.pulse-trending .pulse-trending-item { display:flex; gap:35px; margin-bottom:30px; align-items:center; }
.pulse-trending-thumb img { width:420px; height:240px; object-fit:cover; border-radius:8px; border-radius:5px;}
.pulse-trending-title {margin: 8px 0;font-size: 35px;font-weight: 700;line-height: 1.1em;text-decoration: none;}
/* Parent layout */
.pulse-trending .pulse-trending-item {
    display: flex;
    gap: 28px;
    margin-bottom: 30px;
    align-items: center;
}
.pulse-trending-excerpt {
    margin-bottom: 10px;
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    line-height: 1.5;
}
/* 40% : 60% ratio */
.pulse-trending .pulse-trending-item .pulse-trending-thumb {
    width: 40%;
    flex: 0 0 40%;
}
.pulse-trending .pulse-trending-item .pulse-trending-thumb a img{
	max-height: 300px;
	overflow: hidden;
}

.pulse-trending .pulse-trending-item .pulse-trending-content {
    width: 55%;
    flex: 0 0 55%;
}

/* Image styling */
.pulse-trending .pulse-trending-thumb img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius:5px;
}



@media (max-width: 768px) {
    .pulse-trending .pulse-trending-item {
        flex-direction: column;
    }
    .pulse-trending .pulse-trending-item .pulse-trending-thumb,
    .pulse-trending .pulse-trending-item .pulse-trending-content {
        width: 100%;
        flex: 0 0 100%;
    }
}


/* Other grid */
.pulse-other-grid { display:grid; gap:28px; margin-top:12px; }
.pulse-other-grid.columns-4 { grid-template-columns: repeat(4, 1fr); }
.pulse-grid-thumb img { width:100%; height:150px; object-fit:cover; border-radius:8px; }
.pulse-grid-title { font-size:18px; margin-top:10px; }
.pulse-other-grid .pulse-grid-thumb img {max-height: 170px;border-radius: 3px;border: 1px solid #eee;margin-bottom: 15px;}
.pulse-other-grid h4.pulse-grid-title a {font-weight: 600;color:#000;}

/* meta / date / category */
.pulse-date { 
    color: #282828;
    font-family: "Arial", "Helvetica Neue", "Helvetica", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 19px;
     }
.pulse-cat a {     color: #282828;
    font-family: "Arial", "Helvetica Neue", "Helvetica", sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 19px;
    text-decoration: none;
    transition: all .7s;
}

.pulse-cat .dot {
    color: #000;
    padding: 0px 7px 0px 4px;
}
.pulse-banner-excerpt {
    color: #000;
    margin-bottom: 10px;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 20px;
}
.pulse-banner-meta {
    color: #282828;
    font-family: "Arial", "Helvetica Neue", "Helvetica", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 19px;
    margin-top: 15px;
}
/* hover zoom (if you enabled via widget, JS toggles .pulse-hover-zoom) */
.pulse-hover-zoom img { transition: transform .45s ease; }
.pulse-hover-zoom .pulse-grid-thumb img:hover,
.pulse-hover-zoom .pulse-cat-thumb img:hover,
.pulse-hover-zoom .pulse-top-thumb img:hover,
.pulse-hover-zoom .pulse-banner-media img:hover { transform: scale(1.06); }

/* responsive */
@media(max-width:900px){
    .pulse-cat-row-grid.columns-4, .pulse-other-grid.columns-4 { grid-template-columns: repeat(1, 1fr); }
    .pulse-trending .pulse-trending-item { flex-direction: column; }
}

@media(max-width:767px){
    .pulse-trending-title {
    font-size: 19px;
}

.pulse-trending .pulse-trending-thumb img {
    border-radius: 2px;
    border: 1px solid #eee;
}
.pulse-trending .pulse-trending-item {
    gap: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
}

.pulse-trending-content {
    padding: 7px;
}
}
