
/* STEP370 CLEAN NBFC DIRECTORY LAYOUT
   Loaded after shared directory CSS.
   Applies only to NBFC main page. */

.lcs-nbfc-directory {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 32px 20px 48px;
    background: #f8f7f3;
}

.lcs-location-directory {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 40px 20px 48px;
    background: #ffffff;
}

.lcs-nbfc-directory .lcs-directory-container,
.lcs-location-directory .lcs-directory-container {
    box-sizing: border-box;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.lcs-nbfc-directory .lcs-directory-heading,
.lcs-location-directory .lcs-directory-heading {
    max-width: 760px;
    margin: 0 auto 28px;
    text-align: center;
}

.lcs-nbfc-directory .lcs-bank-grid.lcs-bank-names-only,
.lcs-location-directory .lcs-location-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    align-items: stretch;
}

.lcs-nbfc-directory .lcs-bank-names-only .lcs-bank-card {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 70px;
    height: 100%;
    margin: 0;
    padding: 15px 12px;
    border: 1px solid #e9e5de;
    border-radius: 10px;
    background: #f9f8f5;
    box-shadow: none;
    transform: none;
    text-decoration: none;
}

.lcs-nbfc-directory .lcs-bank-names-only .lcs-bank-card h3 {
    margin: 0;
    color: #102d38;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.lcs-location-directory .lcs-location-card {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
    min-height: 52px;
    height: 100%;
    margin: 0;
    padding: 15px 14px;
    line-height: 1.45;
}

.lcs-nbfc-directory .lcs-bank-card:hover,
.lcs-location-directory .lcs-location-card:hover {
    background: #f2e9da;
    border-color: #d9c4a2;
}

@media (max-width: 1000px) {
    .lcs-location-directory .lcs-location-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .lcs-nbfc-directory .lcs-bank-grid.lcs-bank-names-only {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .lcs-nbfc-directory {
        padding: 28px 16px 38px;
    }

    .lcs-location-directory {
        padding: 34px 16px 42px;
    }

    .lcs-nbfc-directory .lcs-directory-heading,
    .lcs-location-directory .lcs-directory-heading {
        margin-bottom: 22px;
    }
}

@media (max-width: 600px) {
    .lcs-nbfc-directory .lcs-bank-grid.lcs-bank-names-only,
    .lcs-location-directory .lcs-location-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lcs-nbfc-directory .lcs-bank-names-only .lcs-bank-card {
        padding: 13px 10px;
    }

    .lcs-location-directory .lcs-location-card {
        padding: 12px 9px;
        gap: 6px;
        font-size: 12px;
    }
}


/* STEP371_RELATED_SPACING
   Reduce excessive whitespace before and inside
   the Related Services section on NBFC page only. */

.lc-related-services.lc-related-nbfc-spacing {
    margin-top: 0;
    padding-top: 42px;
    padding-bottom: 80px;
}

.lc-related-services.lc-related-nbfc-spacing .lc-related-heading {
    margin-top: 0;
}

@media (max-width: 700px) {
    .lc-related-services.lc-related-nbfc-spacing {
        padding-top: 32px;
        padding-bottom: 44px;
    }
}


/* STEP372_MAIN_CONTENT_GAP
   NBFC main content to Related Services transition. */

.lc-nbfc-main-spacing {
    padding-bottom: 40px;
    margin-bottom: 0;
}

.lc-related-services.lc-related-nbfc-spacing {
    margin-top: 0;
    padding-top: 40px;
}

@media (max-width: 700px) {
    .lc-nbfc-main-spacing {
        padding-bottom: 28px;
    }

    .lc-related-services.lc-related-nbfc-spacing {
        padding-top: 30px;
    }
}


/* STEP374_PARENT_GAP
   Reduce main article/sidebar section bottom spacing
   on NBFC Loan Settlement page only. */

.lc-nbfc-parent-gap {
    padding-bottom: 32px;
    margin-bottom: 0;
}

@media (max-width: 700px) {
    .lc-nbfc-parent-gap {
        padding-bottom: 24px;
    }
}


/* STEP376_NBFC_GAP_FINAL
   Applied after common service CSS. */

.lc-article-section.lc-nbfc-parent-gap {
    padding-bottom: 30px;
    margin-bottom: 0;
}

.lc-disclaimer.lc-nbfc-main-spacing {
    padding: 18px 20px;
    margin-bottom: 0;
}

.lc-related-services.lc-related-nbfc-spacing {
    padding-top: 38px;
    margin-top: 0;
}

@media (max-width: 700px) {
    .lc-article-section.lc-nbfc-parent-gap {
        padding-bottom: 22px;
    }

    .lc-related-services.lc-related-nbfc-spacing {
        padding-top: 28px;
    }
}
