/* --- Blog Posts --- */
.sifency-addons-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* --- Carousel Layout --- */
.sifency-addons-blog--carousel {
    position: relative;
}

.sifency-addons-blog--carousel .swiper-container {
    overflow: hidden;
}

/* --- General Blog Item Styling (Card) --- */
.sifency-addons-blog-item {
    display: flex;
    flex-direction: column;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}
/* --- Blog Post Image --- */
.sifency-addons-blog-image {
    line-height: 0;
    overflow: hidden;
}

.sifency-addons-blog-image a {
    display: block;
}

.sifency-addons-blog-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.sifency-addons-blog-item:hover .sifency-addons-blog-image img {
    transform: scale(1.05);
}

/* --- Blog Post Content --- */
.sifency-addons-blog-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Meta info (e.g., date) */
.sifency-addons-blog-meta {
    margin-bottom: 12px;
    font-size: 0.85em;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Blog post title */
.sifency-addons-blog-title {
    margin: 0 0 15px;
    font-size: 1.4em;
    font-weight: 600;
    line-height: 1.4;
}

.sifency-addons-blog-title a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.sifency-addons-blog-title a:hover {
    color: var(--sifency-addons-themecolor);
}

/* Blog post excerpt */
.sifency-addons-blog-excerpt {
    flex-grow: 1;
    margin-bottom: 20px;
    line-height: 1.7;
}

/* "Read More" button */
.sifency-addons-blog-content .sifency-button-style {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--sifency-addons-themecolor);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    margin-top: auto;
    align-self: flex-start;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.sifency-addons-blog-content .sifency-button-style i{
    font-size: 14px;
}

.sifency-addons-blog-content .sifency-button-style:hover {
    background-color: var(--sifency-addons-themecolor);
}