/* Responsive styles for Category Tiles Display */

/* Tablet (medium devices) */
@media only screen and (min-width: 768px) and (max-width: 992px) {
    .ctd-container {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Mobile (small devices) */
@media only screen and (max-width: 767px) {
    .ctd-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 10px;
    }
    
    .ctd-category-link {
        padding: 12px 10px !important;
    }

    .ctd-card-left {
        padding-right: 6px !important;
    }
    
    .ctd-category-title {
        font-size: 13px !important;
    }
    
    .ctd-category-desc, .ctd-category-date {
        font-size: 11px !important;
    }

    .ctd-card-right {
        width: 44px !important;
        height: 44px !important;
    }

    .ctd-category-item:hover {
        transform: translateY(-2px);
    }
}

/* Very small devices */
@media only screen and (max-width: 480px) {
    .ctd-container {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}
