.elementor-1550 .elementor-element.elementor-element-2ba4e38{--display:flex;}:root{--page-title-display:none;}/* Start custom CSS for shortcode, class: .elementor-element-ed65640 *//* --- RIHATI CATEGORY GRID (Premium App Look) --- */

.rihati-category-section {
    padding: 10px 15px; /* Mobile Padding */
    margin-bottom: 20px;
}

.rihati-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
    font-family: 'Inter', sans-serif;
}

/* GRID SYSTEM */
.rihati-cat-grid {
    display: grid;
    /* Mobile: 4 Columns (Standard App Layout) */
    grid-template-columns: repeat(4, 1fr); 
    gap: 15px 10px; /* Row Gap: 15px, Col Gap: 10px */
}

/* INDIVIDUAL ITEM */
.rihati-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    gap: 6px;
    transition: transform 0.2s ease;
}

.rihati-cat-item:hover {
    transform: translateY(-3px); /* Hover effect */
}

/* ICON BOX */
.rihati-cat-icon {
    width: 65px; /* Mobile Icon Size */
    height: 65px;
    background: #f2f5f9; /* Light Premium BG */
    border-radius: 16px; /* Soft Rounded Corners */
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eef0f2;
}

.rihati-cat-icon img {
    width: 40px; /* Image andar thodi choti rahegi */
    height: 40px;
    object-fit: contain;
    mix-blend-mode: multiply; /* White background remove karne ka trick (optional) */
}

/* CATEGORY NAME */
.rihati-cat-name {
    font-size: 11px;
    color: #444;
    font-weight: 600;
    text-align: center;
    font-family: 'Inter', sans-serif;
    line-height: 1.2;
    /* Limit to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- TABLET VIEW (Min 768px) --- */
@media (min-width: 768px) {
    .rihati-cat-grid {
        grid-template-columns: repeat(6, 1fr); /* 6 Columns */
        gap: 20px;
    }
    .rihati-cat-icon {
        width: 80px;
        height: 80px;
    }
    .rihati-cat-icon img {
        width: 50px;
        height: 50px;
    }
    .rihati-cat-name {
        font-size: 13px;
    }
}

/* --- PC / DESKTOP VIEW (Min 1024px) --- */
@media (min-width: 1024px) {
    .rihati-category-section {
        max-width: 1200px;
        margin: 0 auto 30px auto;
    }
    .rihati-cat-grid {
        grid-template-columns: repeat(8, 1fr); /* 8 Columns for PC */
        gap: 25px;
    }
    .rihati-cat-icon {
        width: 90px;
        height: 90px;
        background: #fff; /* PC par white background better lagta hai shadow ke sath */
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    }
    .rihati-cat-icon img {
        width: 55px;
        height: 55px;
    }
    .rihati-cat-name {
        font-size: 14px;
        margin-top: 5px;
    }
}/* End custom CSS */