.ds-posts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1744px;
    margin: 0 auto;



}
 


sub {
    font-size: 0.8em;
    line-height: 0px;
}


.ds-post-card-link {
    text-decoration: none;
    color: inherit;
    height: 100%;
    display: block;
}
 
.ds-post-card {
    background: white;
    border-radius: 0 0 15px 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 500px;
    height: 100%;
    transition: transform 0.3s ease;
}
 
.ds-post-card:hover {
    transform: scale(1.02);
}
 
.ds-post-header {
    padding: 30px;
}
 
.ds-post-meta {
    display: flex;
    flex-direction: column;
}
 
.ds-post-meta h2 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    line-height: 1.2;
    padding-bottom: 30px;
}
 
.ds-category {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: #f0f0f0;
    padding: 0px 0 0px 30px;
    margin: 0 -30px;
}
 
.ds-category-name {
    font-size: 18px;
    color: #000;
    text-transform: uppercase;
    font-weight: bold;
    padding-top: 12px;
    padding-bottom: 12px;
    line-height: 26px;
    padding-right: 10px;
}
 
.ds-category-icon {
    height: 80px !important;
    width: auto;
    object-fit: contain;
    margin: 0 !important;
}
 
.ds-featured-image {
    width: 100%;
    margin-top: auto;
    padding: 0;
    display: flex;
    align-items: flex-end;
    flex: 1;
}
 
.ds-featured-image img {
    width: 100%;
    height: auto;
    max-height: 560px;
    display: block;
    object-fit: contain;
    object-position: top;
    padding: 60px 60px 20px 60px;
}
 

.ds-title-line1 {
    font-size: 30px;
    font-weight: 500;
    text-transform: uppercase;
}

.ds-title-line2 {
    font-size: 40px;
    font-weight: 600 !important;
}

.ds-title-line2 em {
    font-style: italic;
    font-size: 32px;
}


@media (max-width: 999px) {
   
    .ds-title-line2 {
        font-size: 32px;
        font-weight: 600 !important;
    }
    
    .ds-title-line2 em {
        font-style: italic;
        font-size: 26px;
    }



}
 




@media (max-width: 1200px) {
    .ds-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
 
@media (max-width: 768px) {
  
  .ds-posts-grid:not(.mobile-carousel) {
        grid-template-columns: 1fr;
    }
    
    .ds-posts-grid.mobile-carousel {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 15px;
        padding: 20px;
        grid-template-columns: none;
        position: relative;
        padding-bottom: 40px;
    }
 
    .ds-posts-grid.mobile-carousel .ds-post-card-link {
        flex: 0 0 85%;
        scroll-snap-align: start;
    }
 
    .ds-posts-grid.mobile-carousel::-webkit-scrollbar {
        display: none;
    }

    .ds-carousel-dots-wrapper {
        position: relative;
        width: 100%;
        display: flex;
        justify-content: center;
        padding: 10px 0;
        z-index: 10;
    }
 
    .ds-carousel-dots {
        display: flex;
        gap: 16px;
    }
 
    .ds-carousel-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #ccc;
        transition: background 0.3s ease;
        cursor: pointer;
    }
 
    .ds-carousel-dot.active {
        background: #7A29EA;
    }
}
