/* Shared site footer — Figma 2806:10485 (1440 frame: 40px side margins, 50px top).
   Loaded last on every page that uses <footer class="about-footer site-footer">, so it
   overrides the older per-page footer rules in site-shell, home, conclave-design and conclave-revamp. */

footer.about-footer.site-footer {
    --ft-navy: #00123a;
    --ft-muted: #5a677c;
    --ft-line: #5a6780;
    --ft-dim: #354e6d;
    --ft-gold: #f5b123;
    --ft-serif: 'DM Serif Text', Georgia, serif;
    --ft-sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    box-sizing: border-box;
    min-height: 305px;
    margin: 0;
    padding: 50px 40px 21px;
    background: var(--ft-navy);
    color: #fff;
    font-family: var(--ft-sans);
    line-height: normal;
}
footer.about-footer.site-footer * { box-sizing: border-box; }
footer.about-footer.site-footer a { color: inherit; text-decoration: none; }

/* Top row: foundation 454 · activities 283 · company 117 · stay updated 404, 34px gutters */
footer.about-footer.site-footer .footer-top {
    display: grid;
    grid-template-columns: minmax(0, 454fr) minmax(0, 283fr) minmax(0, 117fr) minmax(0, 404fr);
    column-gap: 34px;
    row-gap: 40px;
    align-items: start;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

/* Logo box and text block share one height: the white box stretches to the text (never below Figma's 103px). */
footer.about-footer.site-footer .foundation { display: flex; align-items: stretch; gap: 16px; }
footer.about-footer.site-footer .foundation .nbfi-footer-logo {
    flex: none;
    align-self: stretch;
    width: 198px; max-width: none; height: auto; min-height: 103px;
    padding: 8px 7.9px;
    background: #fff;
    object-fit: contain;
}
footer.about-footer.site-footer .foundation > div { display: flex; flex-direction: column; justify-content: center; gap: 13px; flex: 1 1 240px; max-width: 240px; min-width: 0; }
footer.about-footer.site-footer .foundation h4 { margin: 0; font: 400 20px/1.2 var(--ft-serif); color: #fff; }
footer.about-footer.site-footer .foundation p {
    max-width: none; margin: 0;
    font: 400 14px/1.48 var(--ft-sans); letter-spacing: .14px; color: #d1d1d6;
}

footer.about-footer.site-footer .footer-top h3 {
    margin: 0 0 16px;
    font: 500 12px/normal var(--ft-sans); letter-spacing: 1.2px; text-transform: uppercase; color: var(--ft-muted);
}
footer.about-footer.site-footer .footer-top > div > a {
    display: block; width: fit-content; margin: 0;
    font: 400 16px/1.48 var(--ft-sans); letter-spacing: .16px; color: #fff;
    transition: color 200ms ease;
}
footer.about-footer.site-footer .footer-top > div > a + a { margin-top: 7px; }
/* Long labels (e.g. "Building India Case Study Competition") wrap inside their column instead of running into the next one. */
footer.about-footer.site-footer .footer-top > div { min-width: 0; }
footer.about-footer.site-footer .footer-top > div > a { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
footer.about-footer.site-footer .footer-top > div > a:hover { color: var(--ft-gold); }

/* Stay updated */
footer.about-footer.site-footer .subscribe { width: 100%; max-width: none; min-width: 0; margin: 0; justify-self: stretch; }
footer.about-footer.site-footer .subscribe form { display: flex; align-items: center; gap: 9px; height: auto; margin: 0; }
footer.about-footer.site-footer .subscribe input {
    flex: 0 1 300px; width: 300px; min-width: 0; height: 41px; margin: 0;
    padding: 0 10px 0 20px;
    border: 1px solid var(--ft-line); border-radius: 1000px;
    background: transparent; color: #fff;
    font: 400 14px/1.48 var(--ft-sans); letter-spacing: .14px;
    outline: none;
}
footer.about-footer.site-footer .subscribe input::placeholder { color: var(--ft-muted); opacity: 1; }
footer.about-footer.site-footer .subscribe input:focus { border-color: #8290a6; }
footer.about-footer.site-footer .subscribe button {
    flex: 0 0 95px; width: 95px; height: 41px; margin: 0; padding: 0 10px;
    border: 0; border-radius: 1000px;
    background: var(--ft-gold); color: var(--ft-navy);
    font: 500 14px/normal var(--ft-sans);
    cursor: pointer; transition: background-color 200ms ease;
}
footer.about-footer.site-footer .subscribe button:hover { background: #e39e0e; }
footer.about-footer.site-footer .subscribe button:disabled { opacity: .7; cursor: progress; }
footer.about-footer.site-footer #subscribe-status { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: #d1d1d6; }
footer.about-footer.site-footer #subscribe-status:empty { display: none; }
footer.about-footer.site-footer .socials { display: flex; align-items: center; gap: 14px; margin: 28px 0 0; color: var(--ft-line); }
footer.about-footer.site-footer .socials a { display: block; width: 20px; height: 20px; margin: 0; transition: opacity 200ms ease; }
footer.about-footer.site-footer .socials a:hover { opacity: .75; }
footer.about-footer.site-footer .socials svg { display: block; width: 20px; height: 20px; }

/* Bottom row: copyright left; tagline and back-to-top on the right, bottoms aligned */
footer.about-footer.site-footer .footer-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 45px;
    align-items: end;
    column-gap: 21px;
    margin: 70px 0 0;
    padding: 0;
    border: 0;
}
footer.about-footer.site-footer .footer-bottom > small {
    grid-column: 1; grid-row: 1;
    font: 400 12px/1.48 var(--ft-sans); letter-spacing: .12px; color: var(--ft-dim);
}
footer.about-footer.site-footer .footer-bottom > p {
    grid-column: 2; grid-row: 1; margin: 0;
    font: italic 400 30px/1.2 var(--ft-serif); color: #fff; white-space: nowrap;
}
footer.about-footer.site-footer .footer-bottom > p em { font-style: inherit; color: inherit; }
footer.about-footer.site-footer .footer-bottom .round {
    grid-column: 3; grid-row: 1;
    display: flex; align-items: center; justify-content: center;
    width: 45px; height: 45px; padding: 0; border: 0; background: none;
    transition: opacity 200ms ease;
}
footer.about-footer.site-footer .footer-bottom .round:hover { opacity: .75; }
footer.about-footer.site-footer .footer-bottom svg { display: block; flex: none; width: 45px; height: 45px; }

/* Tablet: foundation full width, link columns side by side, newsletter full width */
@media (max-width: 1100px) {
    footer.about-footer.site-footer { padding: 40px 32px 24px; }
    footer.about-footer.site-footer .footer-top { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.5fr); }
    footer.about-footer.site-footer .foundation { grid-column: 1 / -1; }
    footer.about-footer.site-footer .subscribe { grid-column: auto; }
    footer.about-footer.site-footer .subscribe input { flex: 1 1 auto; width: 0; }
    footer.about-footer.site-footer .footer-bottom { margin-top: 48px; }
    footer.about-footer.site-footer .footer-bottom > p { font-size: 24px; }
}

/* Phone: stacked */
@media (max-width: 767px) {
    footer.about-footer.site-footer { padding: 40px 20px 24px; }
    footer.about-footer.site-footer .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 32px; column-gap: 20px; }
    footer.about-footer.site-footer .foundation { flex-direction: column; align-items: flex-start; }
    footer.about-footer.site-footer .foundation .nbfi-footer-logo { align-self: flex-start; height: 103px; }
    footer.about-footer.site-footer .foundation > div { flex: none; width: auto; max-width: none; }
    footer.about-footer.site-footer .footer-top > div > a { font-size: 15px; }
    footer.about-footer.site-footer .subscribe { grid-column: 1 / -1; }
    footer.about-footer.site-footer .footer-bottom { grid-template-columns: minmax(0, 1fr) 45px; row-gap: 20px; margin-top: 40px; }
    footer.about-footer.site-footer .footer-bottom > p { grid-column: 1 / -1; grid-row: 1; font-size: 24px; white-space: normal; }
    footer.about-footer.site-footer .footer-bottom > small { grid-column: 1; grid-row: 2; align-self: center; }
    footer.about-footer.site-footer .footer-bottom .round { grid-column: 2; grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) {
    footer.about-footer.site-footer a, footer.about-footer.site-footer .subscribe button { transition: none; }
}
