.elementor-117 .elementor-element.elementor-element-37b1635{--display:flex;}/* Start custom CSS for shortcode, class: .elementor-element-2ec3997 *//* Category grid */
.td-category-grid {
    display: grid;
    grid-template-columns: repeat(var(--td-columns, 4), minmax(0, 1fr));
    gap: 24px;
    width: 100%;
}

/* Complete card */
.td-category-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(8, 28, 89, 0.08);
    color: #202020;
    text-decoration: none !important;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.td-category-card:hover {
    transform: translateY(-6px);
    border-color: #f28500;
    box-shadow: 0 14px 32px rgba(8, 28, 89, 0.16);
}

/* Image area */
.td-category-image {
    position: relative;
    aspect-ratio: 4 / 3;
    padding: 24px;
    overflow: hidden;
    background: #ebebeb;
}

.td-category-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.td-category-card:hover .td-category-image img {
    transform: scale(1.06);
}

/* Card content */
.td-category-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    text-align: center;
}

/* Category title */
.td-category-title {
    width: 100%;
    margin: 0 0 16px;
    padding: 12px 16px;
    background: #081c59;
    border-radius: 8px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

/* Card button */
.td-category-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    padding: 10px 18px;
    background: #f28500;
    border-radius: 8px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    transition: background-color 0.25s ease;
}

.td-category-card:hover .td-category-button {
    background: #081c59;
}

/* Tablet */
@media (max-width: 1024px) {
    .td-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Small tablet */
@media (max-width: 767px) {
    .td-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .td-category-image {
        padding: 16px;
    }

    .td-category-title {
        font-size: 17px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .td-category-grid {
        grid-template-columns: 1fr;
    }
}/* End custom CSS */