﻿
@@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");
.category-card {
    background: #f9f9fb;
    border: 1px solid #eee;
    border-radius: 16px;
}

.question-list ul {
    width: 100%;
    margin-top: 10px;
}

    .question-list ul li {
        line-height: 1.2;
        margin-top: 16px;
        background-color: #fbf8f8;
        border-radius: 13px;
        margin-bottom: 4px;
        padding: 8px;
    }

.image-wrapper {
    width: 100%;
    height: 250px; /* Adjust as needed */
    overflow: hidden;
    position: relative;
}

.image-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    max-height: 350px !important;
    pointer-events: none;
}

    .slider-image.active {
        opacity: 1;
        position: relative;
        pointer-events: auto;
    }

.category-card {
    flex: 0 0 48%;
    max-width: 48%;
    transition: all 0.3s ease;
    background: #f9f9fb;
    border: 1px solid #eee;
    border-radius: 16px;
}

.homepage .category-card {
    flex: 0 0 calc(50% - 16px); /* two per row, minus gap */
    box-sizing: border-box;
    transition: all 0.3s ease;
}

/* Expanded card takes full width */
.category-card.expanded {
    flex-basis: 100% !important;
    width: 100% !important;
    flex-basis: 0 0 100%;
    max-width: 100%;
    order: -1;
}

.homepage .category-card.expanded::before {
    content: "";
    flex-basis: 100%;
    width: 0;
    height: 0;
    order: -1; /* Makes sure the expanded card starts on a new line */
}

.frame-22 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Optional: spacing between cards */
}

.category-card .text-wrapper-14 {
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* When card is expanded: show full description */
.category-card.expanded .text-wrapper-14 {
    width: 100%;
    -webkit-line-clamp: unset;
    max-height: none;
    display: block;
}

.category-card.expanded .frame-25 {
    width: 100%;
}

.question-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.question-list.is-expanded {
    max-height: 100%; /* ya auto kar sakte ho */
    overflow: visible;
}

arrow-arrow-right-MD {
    transition: transform 0.4s ease-out;
}

.arrow-arrow-right-MD.rotate {
    transform: rotate(90deg);
}

.custom-frame-23 {
    display: flex;
    width: 576px;
    align-items: center;
    gap: 32px;
    position: relative;
    flex Specifies the components of a flexible length: the flex grow factor and flex shrink factor, and the flex basis. Learn more Don't show : 0 0 auto;
}

.category-card .card-content-wrapper {
    display: flex;
    flex-direction: row; /* default layout: image left, text right */
    gap: 32px;
}

.category-card.expanded .card-content-wrapper {
    flex-direction: column; /* expanded layout: image on top */
    width: 60%;
}

.arrow-arrow-right-MD {
    transition: transform 0.3s ease;
}

    .arrow-arrow-right-MD.rotate {
        transform: rotate(180deg);
    }

.homepage .search-input {
    width: 805px;
    height: 60px; /* Match the icon's height */
    border: none;
    outline: none;
    font-size: 14px;
    background-color: transparent;
    color: #000; /* or your text color */
    flex: 1;
    padding: 0;
    margin: 0;
}

    .homepage .search-input::placeholder {
        color: #888; /* Placeholder color */
    }

.homepage .icon-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    cursor: pointer;
    border-radius: 4px; /* Optional: for smoother hover feel */
    transition: background-color 0.2s ease;
}

    .homepage .icon-button:hover {
        background-color: rgba(0, 0, 0, 0.05); /* Light hover effect */
    }

#searchResults {
    text-align: left;
}

    #searchResults ul {
        list-style: none;
        padding: 0;
    }

        #searchResults ul li {
            margin: 10px 0;
        }

            #searchResults ul li a {
                text-decoration: none;
                color: #403b74;
                font-size: 18px;
                font-weight: bold;
            }

                #searchResults ul li a:hover {
                    text-decoration: underline;
                }

.question-color {
    color: black;
}

.color_brand {
    color: #403b74;
}

a.color_Green:hover .color_brand {
    color: #0d47a1;
    text-decoration: underline;
    transform: translateX(5px);
    display: inline-block;
    transition: all 0.3s ease;
}

.search-results-inside-card {
    border-top: 1px solid #e0e0e0;
    padding-left: 35px;
    padding-top: 22%;
    padding-bottom: 20px;
}

.pink-block {
    background-color: #FAE8EA;
    border: 1px solid #D2D2D2;
    border-radius: 12px;
    padding: 24px 26px;
    display: flex;
    align-items: center;
    gap: 18px;
    height: 100%;
}

.pink-icon img {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    margin-bottom: 7px;
}

.pink-content {
    display: flex;
    flex-direction: column;
}

.pink-block-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
}

.pink-block-para {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #6f6f6f;
}

@@media (min-width: 1000px) {
    .statsbox {
        max-width: 48% !important;
        margin: 13px;
    }
}


