﻿/* Page-specific styles for solution-financial-services-nbfc-agent */
/* Add overrides here — never edit compat.css for page-specific changes */

/* Section introductions are vertical stacks on this page. The shared
   `.center` helper is a horizontal flex row, which caused headings and their
   descriptions to run into one another. */
.nbfc-page .nbfc-section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  text-align: center;
}

.nbfc-page .nbfc-section-heading--left {
  align-items: flex-start;
  text-align: left;
}

.nbfc-page .nbfc-section-heading h2,
.nbfc-page .nbfc-section-heading h3,
.nbfc-page .nbfc-section-heading .nrmltxt {
  margin: 0;
}

.nbfc-page .nbfc-section-heading .nrmltxt {
  display: block;
  max-width: 760px;
}

.nbfc-page .nbfc-section-heading .specer,
.nbfc-page .nbfc-section-heading br {
  display: none;
}

/* Services */
.nbfc-page .nbfc-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 1rem + 1vw, 2rem);
  align-items: stretch;
}

.nbfc-page .nbfc-services-grid > .block33 {
  display: flex;
  width: auto;
  min-width: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: normal;
  text-transform: none;
  color: inherit;
}

.nbfc-page .nbfc-service-card {
  width: 100%;
  height: 100%;
  padding: 0;
  gap: 0;
  overflow: hidden;
}

.nbfc-page .nbfc-service-card > img {
  display: block;
  width: 100% !important;
  height: 220px !important;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}

.nbfc-page .nbfc-service-card > .nrmltxt {
  display: block;
  width: 100%;
  padding: 1.35rem;
}

.nbfc-page .nbfc-service-card strong {
  display: block;
  margin-bottom: .75rem;
  color: var(--navy);
}

.nbfc-page .nbfc-service-card .gap {
  display: none;
}

.nbfc-page .nbfc-service-card strong + br {
  display: none;
}

/* Calculators */
.nbfc-page .nbfc-calculator-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 1rem + 1.5vw, 2.5rem);
  align-items: stretch;
}

.nbfc-page .nbfc-calculator-grid > .block50 {
  display: flex;
  width: auto;
  min-width: 0;
  padding: 0;
}

.nbfc-page .nbfc-calculator-card {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: clamp(1.4rem, 1.1rem + 1vw, 2rem);
  gap: 1.15rem;
}

.nbfc-page .nbfc-calculator-card > br,
.nbfc-page .nbfc-calculator-card .specer {
  display: none;
}

.nbfc-page .nbfc-calculator-card > img:first-child {
  width: 96px !important;
  height: 96px !important;
  max-width: 96px;
  max-height: 96px;
  object-fit: contain;
  border-radius: 0;
}

.nbfc-page .nbfc-calculator-card > .nrmltxt {
  display: block;
}

.nbfc-page .nbfc-calculator-card strong {
  display: block;
  margin-bottom: .75rem;
  color: var(--navy);
}

.nbfc-page .nbfc-calculator-card strong + br {
  display: none;
}

.nbfc-page .nbfc-calculator-card > a {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-top: auto;
  padding-top: .35rem;
  font-weight: 600;
}

.nbfc-page .nbfc-calculator-card > a img {
  position: static !important;
  width: 24px !important;
  height: 24px !important;
  margin: 0 !important;
  object-fit: contain;
  border-radius: 0;
}

/* Team */
.nbfc-page .nbfc-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 1rem + 1.25vw, 2.25rem);
  align-items: start;
}

.nbfc-page .nbfc-team-grid > .block33 {
  width: auto;
  min-width: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: normal;
  text-transform: none;
  color: inherit;
}

.nbfc-page .nbfc-team-grid img {
  display: block;
  width: 100% !important;
  height: auto !important;
}

/* FAQ navigation and question rows */
.nbfc-page .nbfc-faq-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .5rem clamp(1rem, 2.5vw, 2.5rem);
  padding-block: 0;
  margin-block: 1rem;
}

.nbfc-page .nbfc-faq-tabs li {
  padding: .6rem 0;
  color: var(--navy);
  font-weight: 600;
}

.nbfc-page .nbfc-faq-list .accordion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  align-items: start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.nbfc-page .nbfc-faq-list .accordion > * {
  border-bottom: 0;
}

.nbfc-page .nbfc-faq-list .accordion .nrmltxt {
  display: block;
  min-width: 0;
}

.nbfc-page .nbfc-faq-list .accordion strong {
  color: var(--navy);
  line-height: 1.35;
}

.nbfc-page .nbfc-faq-list .accordion strong + br {
  display: none;
}

.nbfc-page .nbfc-faq-list .accordion .gap {
  height: .65rem;
}

.nbfc-page .nbfc-faq-list .accordion > img {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px;
  flex: 0 0 28px;
  margin-top: .15rem;
  object-fit: contain;
}

.nbfc-page .nbfc-faq-list > .block100 > .specer,
.nbfc-page .nbfc-faq-list > .block100 > hr {
  display: none;
}

.nbfc-page .nbfc-faq-list > .block100:last-child .accordion {
  border-bottom: 1px solid var(--line);
}

@media (max-width: 900px) {
  .nbfc-page .nbfc-services-grid,
  .nbfc-page .nbfc-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .nbfc-page .nbfc-services-grid,
  .nbfc-page .nbfc-calculator-grid,
  .nbfc-page .nbfc-team-grid {
    grid-template-columns: 1fr;
  }

  .nbfc-page .nbfc-section-heading,
  .nbfc-page .nbfc-section-heading--left {
    align-items: flex-start;
    text-align: left;
  }

  .nbfc-page .nbfc-faq-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .nbfc-page .nbfc-faq-tabs li {
    justify-content: flex-start;
  }
}
