/* =========================================================
       Investax India - Category Hub
       Shared visual language with Investment Hub
       ========================================================= */

    .ix-category-page {
        background: #f7f8fa;
        padding: 148px 0 85px;
    }

    .ix-category-hero {
        text-align: center;
        max-width: 850px;
        margin: 0 auto 48px;
    }

    .ix-category-eyebrow {
        display: inline-block;
        margin-bottom: 12px;
        color: #b38a2e;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
    }

    .ix-category-title {
        margin: 0 0 18px;
        color: #111827;
        font-size: 38px;
        line-height: 1.18;
        font-weight: 700;
        letter-spacing: -0.3px;
    }

    .ix-category-intro {
        margin: 0 auto;
        max-width: 760px;
        color: #374151;
        font-size: 16px;
        line-height: 1.85;
        font-weight: 400;
    }

    .ix-category-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 26px;
    }

    .ix-category-card {
        position: relative;
        display: flex;
        min-height: 285px;
        flex-direction: column;
        padding: 30px 28px 25px;
        overflow: hidden;
        background: #ffffff;
        border: 1px solid #e8ebef;
        border-radius: 16px;
        box-shadow: 0 8px 28px rgba(16, 24, 40, 0.055);
        transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
    }

    .ix-category-card:hover {
        transform: translateY(-6px);
        border-color: rgba(179, 138, 46, .35);
        box-shadow: 0 18px 42px rgba(16, 24, 40, 0.10);
    }

    .ix-category-icon {
        width: 58px;
        height: 58px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 23px;
        border-radius: 50%;
        background: #111827;
        box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
    }

    .ix-category-icon svg {
        width: 27px;
        height: 27px;
        fill: none;
        stroke: #d6ad55;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .ix-category-card h3 {
        margin: 0 0 12px;
        color: #151a24;
        font-size: 20px;
        line-height: 1.35;
        font-weight: 700;
    }

    .ix-category-card p {
        margin: 0;
        color: #687386;
        font-size: 14px;
        line-height: 1.7;
    }

    .ix-category-link {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-top: auto;
        padding-top: 22px;
        color: #171b24;
        font-size: 13px;
        line-height: 1;
        font-weight: 700;
        text-decoration: none;
        transition: color .2s ease, gap .2s ease;
    }

    .ix-category-link:hover {
        color: #b38a2e;
        gap: 12px;
        text-decoration: none;
    }

    .ix-category-link svg {
        width: 17px;
        height: 17px;
        fill: none;
        stroke: #b38a2e;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .ix-category-details {
        margin-top: 58px;
        padding: 46px;
        background: #ffffff;
        border: 1px solid #e8ebef;
        border-radius: 16px;
        box-shadow: 0 8px 28px rgba(16, 24, 40, 0.055);
    }

    .ix-category-details h2 {
        margin: 0 0 28px;
        color: #111827;
        font-size: 29px;
        line-height: 1.25;
        font-weight: 700;
        letter-spacing: -0.2px;
    }

    .ix-category-details--leaf {
        margin-top: 8px;
    }

    .ix-category-details__icon {
        width: 58px;
        height: 58px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
        border-radius: 50%;
        background: #111827;
    }

    .ix-category-details__icon svg {
        width: 27px;
        height: 27px;
        fill: none;
        stroke: #d6ad55;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .ix-category-details,
    .ix-category-details p,
    .ix-category-details li {
        color: #374151;
        font-size: 15.5px;
        line-height: 1.85;
    }

    .ix-category-details h3 {
        margin: 34px 0 12px;
        color: #1f2937;
        font-size: 20px;
        line-height: 1.4;
        font-weight: 700;
    }

    .ix-category-details p {
        margin: 0 0 16px;
    }

    .ix-category-details ul,
    .ix-category-details ol {
        margin: 10px 0 24px;
        padding-left: 24px;
    }

    .ix-category-details li {
        margin-bottom: 9px;
    }

    .ix-category-details strong {
        color: #1f2937;
        font-weight: 700;
    }

    .ix-category-details .ix-service-content > p:first-child {
        color: #9a7323;
        font-size: 12px;
        line-height: 1.4;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
        margin-bottom: 8px;
    }

    .ix-category-details .ix-service-content h2 {
        margin-top: 0;
        margin-bottom: 16px;
        color: #111827;
    }

    .ix-category-details .ix-cta {
        margin-top: 34px;
        padding: 24px 26px;
        background: #f8f4eb;
        border-left: 4px solid #b38a2e;
        border-radius: 10px;
    }

    .ix-category-details .ix-cta h3 {
        margin: 0 0 8px;
        color: #111827;
        font-size: 18px;
    }

    .ix-category-details .ix-cta p {
        margin: 0;
    }

    .ix-category-details img {
        max-width: 100%;
        height: auto;
        border-radius: 12px;
    }

    .ix-category-details a {
        color: #a47d29;
    }

    .ix-category-empty {
        padding: 45px 25px;
        text-align: center;
        color: #667085;
        background: #fff;
        border: 1px solid #e8ebef;
        border-radius: 16px;
    }

    @media (max-width: 991px) {
        .ix-category-page {
            padding: 58px 0 70px;
        }

        .ix-category-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .ix-category-title {
            font-size: 32px;
        }
    }

    @media (max-width: 575px) {
        .ix-category-page {
            padding: 45px 0 55px;
        }

        .ix-category-hero {
            margin-bottom: 34px;
        }

        .ix-category-title {
            font-size: 28px;
        }

        .ix-category-intro {
            font-size: 14px;
            line-height: 1.7;
        }

        .ix-category-grid {
            grid-template-columns: 1fr;
            gap: 18px;
        }

        .ix-category-card {
            min-height: 255px;
            padding: 26px 24px 23px;
        }

        .ix-category-details {
            margin-top: 38px;
            padding: 30px 22px;
        }

        .ix-category-details h2 {
            font-size: 23px;
        }
    }

    /* Investax readability enhancement — typography only */
    .ix-category-intro,
    .ix-category-details,
    .ix-category-details p,
    .ix-category-details li,
    .ix-category-details span {
        color: #303846;
    }

    .ix-category-details h2,
    .ix-category-details h3,
    .ix-category-details strong {
        color: #172033;
    }

    .ix-category-intro {
        color: #303846;
        font-weight: 450;
    }

    .ix-category-details .ix-service-content > p:first-child {
        color: #9a7323;
    }

    .ix-category-card p {
        color: #3f4856;
    }

    .ix-category-link {
        color: #172033;
    }

    .ix-category-link:hover {
        color: #9a7323;
    }

    .ix-category-empty {
        color: #3f4856;
    }

/* Investax India V2 public content readability baseline */
.ix-category-page,
.ix-category-page p,
.ix-category-page li,
.ix-category-page span {
    color: #303846;
}
.ix-category-page h1,
.ix-category-page h2,
.ix-category-page h3,
.ix-category-page strong {
    color: #111827;
}
.ix-category-page .ix-category-eyebrow { color: #b38a2e; }
.ix-category-page a { color: #9a7323; }

/* Keep the category grid stable on desktop and fluid on smaller screens. */
.ix-category-grid { width: 100%; }

@media (min-width: 992px) {
    .ix-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
    .ix-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575px) {
    .ix-category-grid { grid-template-columns: 1fr; }
}
