/* Shared final trust-card layout and hover-only motion for compliance pages. */
body.compliance-reference-page main > section.prop-section,
body.compliance-reference-page main > section.roc-section {
    background: #ffffff !important;
    min-height: 0 !important;
    padding: 32px 38px 38px !important;
    box-sizing: border-box !important;
}

body.compliance-reference-page main > section.prop-section > .prop-heading,
body.compliance-reference-page main > section.roc-section > .roc-heading {
    margin-bottom: 24px !important;
}

body.compliance-reference-page main > section.prop-section:last-of-type > .prop-heading h2,
body.compliance-reference-page main > section.roc-section:last-of-type > .roc-heading h2 {
    font-size: clamp(24px, 2.5vw, 30px) !important;
}

body.compliance-reference-page main > section.prop-section:last-of-type article[class*="card"],
body.compliance-reference-page main > section.roc-section:last-of-type article[class*="trust"] {
    min-height: 180px !important;
    padding: 16px 14px !important;
}

html body.compliance-reference-page main > section.prop-section {
    background: #ffffff !important;
    min-height: 0 !important;
    padding: 32px 38px 38px !important;
    box-sizing: border-box !important;
}

html body.compliance-reference-page main > section.prop-section > .prop-heading {
    margin-bottom: 24px !important;
}

html body.compliance-reference-page main > section.roc-section {
    background: #ffffff !important;
    min-height: 0 !important;
    padding: 32px 38px 38px !important;
    box-sizing: border-box !important;
}

html body.compliance-reference-page main > section.roc-section > .roc-heading {
    margin-bottom: 24px !important;
}

html body.compliance-reference-page main > section.fema-section {
    background: #ffffff !important;
    min-height: 0 !important;
    padding: 32px 38px 38px !important;
    box-sizing: border-box !important;
}

html body.compliance-reference-page main > section.fema-section > .fema-heading {
    margin-bottom: 24px !important;
}

html body.compliance-reference-page main > section.rbi-section,
html body.compliance-reference-page main > section.name-change-section,
html body.compliance-reference-page main > section.office-section,
html body.compliance-reference-page main > section.transfer-section {
    background: #ffffff !important;
    min-height: 0 !important;
    padding: 32px 38px 38px !important;
    box-sizing: border-box !important;
}

html body.compliance-reference-page main > section.rbi-section > .rbi-heading,
html body.compliance-reference-page main > section.name-change-section > .name-change-heading,
html body.compliance-reference-page main > section.office-section > .office-heading,
html body.compliance-reference-page main > section.transfer-section > .transfer-heading {
    margin-bottom: 24px !important;
}

html body.compliance-reference-page main > section.dpt-section,
html body.compliance-reference-page main > section.chg-section,
html body.compliance-reference-page main > section.sec {
    background: #ffffff !important;
    min-height: 0 !important;
    padding: 32px 38px 38px !important;
    box-sizing: border-box !important;
}

html body.compliance-reference-page main > section.dpt-section > .dpt-heading,
html body.compliance-reference-page main > section.chg-section > .chg-heading,
html body.compliance-reference-page main > section.sec > .hd {
    margin-bottom: 24px !important;
}

html body.compliance-reference-page main > section.opc-sec,
html body.compliance-reference-page main > section.ps,
html body.compliance-reference-page main > section.q,
html body.compliance-reference-page main > section.s {
    background: #ffffff !important;
    min-height: 0 !important;
    padding: 32px 38px 38px !important;
    box-sizing: border-box !important;
}

html body.compliance-reference-page main > section.opc-sec > .opc-h,
html body.compliance-reference-page main > section.ps > .ph,
html body.compliance-reference-page main > section.q > .h,
html body.compliance-reference-page main > section.s > .h {
    margin-bottom: 24px !important;
}

html body.compliance-reference-page main > section.esi-section,
html body.compliance-reference-page main > section.pt-section,
html body.compliance-reference-page main > section.rera-filings-section {
    background: #ffffff !important;
    min-height: 0 !important;
    padding: 32px 38px 38px !important;
    box-sizing: border-box !important;
}

html body.compliance-reference-page main > section.esi-section > .esi-heading,
html body.compliance-reference-page main > section.pt-section > .pt-heading,
html body.compliance-reference-page main > section.rera-filings-section > .rera-filings-heading {
    margin-bottom: 24px !important;
}

@media (max-width: 760px) {
    body.compliance-reference-page main > section.prop-section,
    body.compliance-reference-page main > section.roc-section {
        padding: 26px 18px 32px !important;
    }

    body.compliance-reference-page main > section.prop-section:last-of-type > .prop-heading h2,
    body.compliance-reference-page main > section.roc-section:last-of-type > .roc-heading h2 {
        font-size: 23px !important;
    }

    body.compliance-reference-page main > section.prop-section:last-of-type article[class*="card"],
    body.compliance-reference-page main > section.roc-section:last-of-type article[class*="trust"] {
        min-height: 0 !important;
        padding: 14px 12px !important;
    }

    html body.compliance-reference-page main > section.prop-section {
        min-height: 0 !important;
        padding: 32px 18px 36px !important;
    }

    html body.compliance-reference-page main > section.prop-section > .prop-heading {
        margin-bottom: 24px !important;
    }

    html body.compliance-reference-page main > section.roc-section {
        min-height: 0 !important;
        padding: 32px 18px 36px !important;
    }

    html body.compliance-reference-page main > section.roc-section > .roc-heading {
        margin-bottom: 24px !important;
    }

    html body.compliance-reference-page main > section.fema-section {
        min-height: 0 !important;
        padding: 26px 18px 32px !important;
    }

    html body.compliance-reference-page main > section.fema-section > .fema-heading {
        margin-bottom: 20px !important;
    }

    html body.compliance-reference-page main > section.rbi-section,
    html body.compliance-reference-page main > section.name-change-section,
    html body.compliance-reference-page main > section.office-section,
    html body.compliance-reference-page main > section.transfer-section {
        min-height: 0 !important;
        padding: 26px 18px 32px !important;
    }

    html body.compliance-reference-page main > section.rbi-section > .rbi-heading,
    html body.compliance-reference-page main > section.name-change-section > .name-change-heading,
    html body.compliance-reference-page main > section.office-section > .office-heading,
    html body.compliance-reference-page main > section.transfer-section > .transfer-heading {
        margin-bottom: 20px !important;
    }

    html body.compliance-reference-page main > section.dpt-section,
    html body.compliance-reference-page main > section.chg-section,
    html body.compliance-reference-page main > section.sec {
        min-height: 0 !important;
        padding: 26px 18px 32px !important;
    }

    html body.compliance-reference-page main > section.dpt-section > .dpt-heading,
    html body.compliance-reference-page main > section.chg-section > .chg-heading,
    html body.compliance-reference-page main > section.sec > .hd {
        margin-bottom: 20px !important;
    }

    html body.compliance-reference-page main > section.opc-sec,
    html body.compliance-reference-page main > section.ps,
    html body.compliance-reference-page main > section.q,
    html body.compliance-reference-page main > section.s {
        min-height: 0 !important;
        padding: 26px 18px 32px !important;
    }

    html body.compliance-reference-page main > section.opc-sec > .opc-h,
    html body.compliance-reference-page main > section.ps > .ph,
    html body.compliance-reference-page main > section.q > .h,
    html body.compliance-reference-page main > section.s > .h {
        margin-bottom: 20px !important;
    }

    html body.compliance-reference-page main > section.esi-section,
    html body.compliance-reference-page main > section.pt-section,
    html body.compliance-reference-page main > section.rera-filings-section {
        min-height: 0 !important;
        padding: 26px 18px 32px !important;
    }

    html body.compliance-reference-page main > section.esi-section > .esi-heading,
    html body.compliance-reference-page main > section.pt-section > .pt-heading,
    html body.compliance-reference-page main > section.rera-filings-section > .rera-filings-heading {
        margin-bottom: 20px !important;
    }
}

body.compliance-reference-page article[class*="card"],
body.compliance-reference-page article[class*="trust"],
body.compliance-reference-page article.c {
    animation: none !important;
    transition: transform 220ms ease, box-shadow 220ms ease !important;
}

body.compliance-reference-page article[class*="card"]:hover,
body.compliance-reference-page article[class*="trust"]:hover,
body.compliance-reference-page article.c:hover {
    animation: none !important;
    transform: translateY(-6px) !important;
    box-shadow: 0 14px 28px rgba(35, 69, 54, .14) !important;
}

@media (min-width: 1051px) {
    body.compliance-reference-page main > section:last-of-type [class*="trust-grid"],
    body.compliance-reference-page main > section:last-of-type .dpt-grid,
    body.compliance-reference-page main > section:last-of-type .chg-grid,
    body.compliance-reference-page main > section:last-of-type .grid,
    body.compliance-reference-page main > section:last-of-type .opc-grid,
    body.compliance-reference-page main > section:last-of-type .g,
    body.compliance-reference-page main > section:last-of-type .gr,
    body.compliance-reference-page main > section:last-of-type .pt-grid,
    body.compliance-reference-page main > section:last-of-type .esi-grid,
    body.compliance-reference-page main > section:last-of-type .rera-filings-grid,
    body.compliance-reference-page main > section:last-of-type [class*="trust"] {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }
}

body.compliance-reference-page main > section:last-of-type article[class*="card"],
body.compliance-reference-page main > section:last-of-type article[class*="trust"],
body.compliance-reference-page main > section:last-of-type article.c {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    animation: none !important;
}

body.compliance-reference-page main > section:last-of-type article[class*="card"] [class*="icon"],
body.compliance-reference-page main > section:last-of-type article[class*="trust"] [class*="icon"],
body.compliance-reference-page main > section:last-of-type article.c > div:first-child {
    flex: 0 0 auto !important;
    margin: 0 auto 8px !important;
}

body.compliance-reference-page main > section:last-of-type article[class*="card"] > div:last-child,
body.compliance-reference-page main > section:last-of-type article[class*="trust"] > div:last-child,
body.compliance-reference-page main > section:last-of-type article.c > div:last-child,
body.compliance-reference-page main > section:last-of-type article[class*="card"] > strong,
body.compliance-reference-page main > section:last-of-type article[class*="trust"] > strong,
body.compliance-reference-page main > section:last-of-type article.c > strong,
body.compliance-reference-page main > section:last-of-type article[class*="card"] > p,
body.compliance-reference-page main > section:last-of-type article[class*="trust"] > p,
body.compliance-reference-page main > section:last-of-type article.c > p {
    width: 100% !important;
}

/* Lighter alternating colors for Share Transfer and charge-filing pages. */
html body.compliance-reference-page main:is(.transfer-page, .dpt-page, .chg-page, .s) article { border-width:2px !important; border-style:solid !important; }
html body.compliance-reference-page main:is(.transfer-page, .dpt-page, .chg-page, .s) article:nth-child(5n+1) { background:#edf6ff !important; border-color:#a9ccf5 !important; }
html body.compliance-reference-page main:is(.transfer-page, .dpt-page, .chg-page, .s) article:nth-child(5n+2) { background:#fff8d9 !important; border-color:#f5d77b !important; }
html body.compliance-reference-page main:is(.transfer-page, .dpt-page, .chg-page, .s) article:nth-child(5n+3) { background:#e9faf2 !important; border-color:#96dfbf !important; }
html body.compliance-reference-page main:is(.transfer-page, .dpt-page, .chg-page, .s) article:nth-child(5n+4) { background:#fff0f5 !important; border-color:#f3a8c2 !important; }
html body.compliance-reference-page main:is(.transfer-page, .dpt-page, .chg-page, .s) article:nth-child(5n) { background:#f2ecff !important; border-color:#b9a1ee !important; }

/* Softer, lighter card palette for the requested compliance pages. */
html body.compliance-reference-page main:is(.proprietorship-page, .roc-page, .fema-page, .rbi-page, .name-change-page, .office-page) :is(article[class*="card"], article[class*="trust"], article[class*="benefit"]) { border-color:#a9ccf5 !important; }
html body.compliance-reference-page main:is(.proprietorship-page, .roc-page, .fema-page, .rbi-page, .name-change-page, .office-page) :is(article[class*="card"], article[class*="trust"], article[class*="benefit"]):nth-child(5n+1) { background:#edf6ff !important; border-color:#a9ccf5 !important; }
html body.compliance-reference-page main:is(.proprietorship-page, .roc-page, .fema-page, .rbi-page, .name-change-page, .office-page) :is(article[class*="card"], article[class*="trust"], article[class*="benefit"]):nth-child(5n+2) { background:#fff8d9 !important; border-color:#f5d77b !important; }
html body.compliance-reference-page main:is(.proprietorship-page, .roc-page, .fema-page, .rbi-page, .name-change-page, .office-page) :is(article[class*="card"], article[class*="trust"], article[class*="benefit"]):nth-child(5n+3) { background:#e9faf2 !important; border-color:#96dfbf !important; }
html body.compliance-reference-page main:is(.proprietorship-page, .roc-page, .fema-page, .rbi-page, .name-change-page, .office-page) :is(article[class*="card"], article[class*="trust"], article[class*="benefit"]):nth-child(5n+4) { background:#fff0f5 !important; border-color:#f3a8c2 !important; }
html body.compliance-reference-page main:is(.proprietorship-page, .roc-page, .fema-page, .rbi-page, .name-change-page, .office-page) :is(article[class*="card"], article[class*="trust"], article[class*="benefit"]):nth-child(5n) { background:#f2ecff !important; border-color:#b9a1ee !important; }

html body.unified-trust-page main > section.unified-trust-section {
    box-sizing: border-box !important;
    min-height: 0 !important;
    padding: 32px 38px 38px !important;
    background: #ffffff !important;
}

html body.registration-reference-page.registration-trust-page main > section.unified-trust-section:has(
    .registration-trust-shell > div[class$="-shell"],
    .registration-trust-shell > div[class$="-wrap"]
) {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

html body.accounting-trust-page main > section.unified-trust-section {
    padding-right: 0 !important;
    padding-left: 0 !important;
    background: #f6f4ea !important;
}

html body.audit-trust-page main > section.unified-trust-section {
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 32px 24px 38px !important;
    border: 0 !important;
    background: #f6f4ea !important;
}

html body.audit-trust-page main > section.unified-trust-section > :first-child {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 1620px !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

html body.audit-trust-page main > section.unified-trust-section .audit-trust-shell {
    padding: 32px 38px 38px !important;
    border: 1px solid #d9e5d3 !important;
    border-radius: 26px !important;
    background: #ffffff !important;
    box-shadow: 0 14px 30px rgba(33, 50, 37, 0.06) !important;
}

html body.filing-trust-page main > section.unified-trust-section {
    box-sizing: border-box !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 32px 0 38px !important;
    border: 0 !important;
    background: #f6f4ea !important;
}

html body.filing-trust-page main > section.unified-trust-section > .filing-trust-shell {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 1620px !important;
    margin: 0 auto !important;
    padding: 32px 38px 38px !important;
    border: 1px solid #d9e5d3 !important;
    border-radius: 26px !important;
    background: #ffffff !important;
    box-shadow: 0 14px 30px rgba(33, 50, 37, 0.06) !important;
}

html body.unified-trust-page main > section.unified-trust-section :is(
    div[class*="heading"],
    div[class*="head"],
    .hd,
    .h,
    .ph,
    .opc-h
) {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    margin-bottom: 24px !important;
    text-align: left !important;
}

html body.unified-trust-page main > section.unified-trust-section h2 {
    margin: 0 !important;
    color: #305548 !important;
    font-size: clamp(23px, 2.5vw, 30px) !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
}

html body.unified-trust-page main > section.unified-trust-section h2 span {
    color: #378c60 !important;
}

html body.unified-trust-page main > section.unified-trust-section :is(
    [class*="-number"],
    [class$="-no"],
    .n,
    .no
) {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 44px !important;
    width: auto !important;
    min-height: 26px !important;
    height: 26px !important;
    padding: 0 10px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #e6f1ea !important;
    color: #32815e !important;
    font-size: 14px !important;
    line-height: 1 !important;
    box-shadow: none !important;
}

html body.unified-trust-page main > section.unified-trust-section :is(
    div[class*="grid"],
    .grid,
    .g,
    .gr
) {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 16px !important;
}

html body.unified-trust-page main > section.unified-trust-section :is(
    article[class*="card"],
    article[class*="trust"],
    article.c
) {
    position: relative !important;
    display: flex !important;
    min-width: 0 !important;
    min-height: 240px !important;
    flex-direction: column !important;
    align-items: center !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    padding: 18px 16px 30px !important;
    border: 1px solid #c9d8e8 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    box-shadow: 0 6px 16px rgba(31, 68, 53, 0.08) !important;
    text-align: center !important;
}

html body.unified-trust-page main > section.unified-trust-section :is(
    article[class*="card"],
    article[class*="trust"],
    article.c
)::after {
    position: absolute !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    height: 10px !important;
    background: #194f40 !important;
    content: "" !important;
}

html body.unified-trust-page main > section.unified-trust-section :is(
    article[class*="card"],
    article[class*="trust"],
    article.c
):nth-child(5n+1) { background: #ffffff !important; border-color: #bfd8f0 !important; }

html body.unified-trust-page main > section.unified-trust-section :is(
    article[class*="card"],
    article[class*="trust"],
    article.c
):nth-child(5n+2) { background: #ffffff !important; border-color: #f0d57b !important; }

html body.unified-trust-page main > section.unified-trust-section :is(
    article[class*="card"],
    article[class*="trust"],
    article.c
):nth-child(5n+3) { background: #ffffff !important; border-color: #b9e2c9 !important; }

html body.unified-trust-page main > section.unified-trust-section :is(
    article[class*="card"],
    article[class*="trust"],
    article.c
):nth-child(5n+4) { background: #ffffff !important; border-color: #efc5d1 !important; }

html body.unified-trust-page main > section.unified-trust-section :is(
    article[class*="card"],
    article[class*="trust"],
    article.c
):nth-child(5n) { background: #ffffff !important; border-color: #d3c1eb !important; }

html body.unified-trust-page main > section.unified-trust-section :is(
    article[class*="card"],
    article[class*="trust"],
    article.c
) > :first-child {
    display: grid !important;
    flex: 0 0 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    place-items: center !important;
    margin: 0 auto 14px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #347ba8 !important;
    color: #ffffff !important;
    font-size: 19px !important;
    box-shadow: 0 4px 12px rgba(28, 73, 57, 0.2) !important;
}

html body.unified-trust-page main > section.unified-trust-section :is(
    article[class*="card"],
    article[class*="trust"],
    article.c
):nth-child(5n+2) > :first-child { background: #c68d20 !important; }

html body.unified-trust-page main > section.unified-trust-section :is(
    article[class*="card"],
    article[class*="trust"],
    article.c
):nth-child(5n+3) > :first-child { background: #318e7a !important; }

html body.unified-trust-page main > section.unified-trust-section :is(
    article[class*="card"],
    article[class*="trust"],
    article.c
):nth-child(5n+4) > :first-child { background: #c6666d !important; }

html body.unified-trust-page main > section.unified-trust-section :is(
    article[class*="card"],
    article[class*="trust"],
    article.c
):nth-child(5n) > :first-child { background: #7858a8 !important; }

html body.unified-trust-page main > section.unified-trust-section :is(
    article[class*="card"],
    article[class*="trust"],
    article.c
) > :first-child i { color: #ffffff !important; }

html body.unified-trust-page main > section.unified-trust-section :is(
    article[class*="card"],
    article[class*="trust"],
    article.c
) > div:last-child {
    display: flex !important;
    width: 100% !important;
    flex-direction: column !important;
    align-items: center !important;
}

html body.unified-trust-page main > section.unified-trust-section :is(
    article[class*="card"],
    article[class*="trust"],
    article.c
) :is(h3, strong, b) {
    display: block !important;
    width: 100% !important;
    margin: 8px 0 0 !important;
    color: #31594a !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    text-align: center !important;
}

html body.unified-trust-page main > section.unified-trust-section :is(
    article[class*="card"],
    article[class*="trust"],
    article.c
) p {
    width: 100% !important;
    margin: 18px 0 0 !important;
    color: #45584f !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
    text-align: center !important;
}

@media (max-width: 1050px) {
    html body.unified-trust-page main > section.unified-trust-section :is(div[class*="grid"], .grid, .g, .gr) {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 760px) {
    html body.unified-trust-page main > section.unified-trust-section {
        padding: 26px 18px 32px !important;
    }

    html body.accounting-trust-page main > section.unified-trust-section {
        padding-right: 18px !important;
        padding-left: 18px !important;
    }

    html body.audit-trust-page main > section.unified-trust-section {
        padding: 26px 12px 32px !important;
    }

    html body.audit-trust-page main > section.unified-trust-section .audit-trust-shell {
        padding: 24px 18px 32px !important;
        border-radius: 22px !important;
    }

    html body.filing-trust-page main > section.unified-trust-section {
        padding: 26px 0 32px !important;
    }

    html body.filing-trust-page main > section.unified-trust-section > .filing-trust-shell {
        padding: 24px 18px 32px !important;
        border-radius: 22px !important;
    }

    html body.unified-trust-page main > section.unified-trust-section :is(div[class*="grid"], .grid, .g, .gr) {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    html body.unified-trust-page main > section.unified-trust-section :is(article[class*="card"], article[class*="trust"], article.c) {
        min-height: 300px !important;
        padding: 16px 12px 28px !important;
    }
}

@media (max-width: 520px) {
    html body.unified-trust-page main > section.unified-trust-section :is(div[class*="grid"], .grid, .g, .gr) {
        grid-template-columns: 1fr !important;
    }

    html body.unified-trust-page main > section.unified-trust-section :is(article[class*="card"], article[class*="trust"], article.c) {
        min-height: 0 !important;
    }
}
