
/* Compact contact-footer email form; matches the public site's cream and brown palette. */
.contact-page{padding-bottom:42px}
.site-footer .footer-join{display:block;border-top:1px solid #e8d7aa;margin-top:25px;padding-top:22px}
.site-footer .footer-newsletter{display:block;max-width:710px;margin:0}
.site-footer .footer-newsletter>label:first-child{display:block;margin:0 0 7px;color:#39271e;font-size:14px;font-weight:400;line-height:1.6}
.site-footer .footer-newsletter-row{display:flex;align-items:center;gap:16px;max-width:620px}
.site-footer .footer-newsletter input[type=email]{flex:1 1 350px;width:100%;min-width:0;height:42px;border:1px solid #c6b480;border-radius:6px;padding:8px 12px;background:#fffdf8;color:#39271e;font-size:14px;outline:none}
.site-footer .footer-newsletter input[type=email]:focus{border-color:#765620;box-shadow:0 0 0 3px rgba(118,86,32,.14)}
.site-footer .footer-sarathi-link{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:42px;padding:8px 14px;border:1px solid #d5ac61;background:#fff8e6;color:#684719;border-radius:6px;font:inherit;font-size:14px;text-decoration:none;white-space:nowrap;cursor:pointer}
.site-footer .footer-sarathi-link:hover{background:#fbe8b7}
.site-footer .footer-sarathi-link:focus-visible{outline:3px solid #c89f58;outline-offset:2px}
.site-footer .footer-signup-hint{display:block;margin:8px 0 0;color:#765620;font-size:12px;line-height:1.5}
.site-footer .footer-newsletter .newsletter-status{min-height:19px;margin-top:6px;color:#684719;font-size:12px;font-weight:400}
.site-footer .footer-social{margin-top:18px}
@media(max-width:760px){.site-footer .footer-newsletter-row{max-width:none;flex-wrap:wrap}.site-footer .footer-newsletter input[type=email]{flex-basis:100%}}

/* On Contact, put signup below the right-hand footer links. */
.site-footer:has(.footer-join)>.container{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"brand nav" "social join" "credit join";column-gap:30px;row-gap:8px}
.site-footer:has(.footer-join) .footer-grid{display:contents}
.site-footer:has(.footer-join) .footer-brand{grid-area:brand}
.site-footer:has(.footer-join) .footer-nav{grid-area:nav}
.site-footer:has(.footer-join) .footer-join{grid-area:join;min-width:0;border-top:0;margin:0;padding:0}
.site-footer:has(.footer-join) .footer-newsletter{min-width:0}
.site-footer:has(.footer-join) .footer-newsletter-row{max-width:none}
.site-footer:has(.footer-join) .footer-sarathi-link{padding-inline:14px}
.site-footer:has(.footer-join) .footer-social{grid-area:social;margin:12px 0 0}
.site-footer:has(.footer-join)> .container>p{grid-area:credit;grid-column:1;margin:9px 0 0}
@media(max-width:760px){.site-footer:has(.footer-join)>.container{display:block}.site-footer:has(.footer-join) .footer-grid{display:grid;grid-template-columns:1fr}.site-footer:has(.footer-join) .footer-join{display:block;margin-top:14px}.site-footer:has(.footer-join) .footer-social{margin-top:22px}.site-footer:has(.footer-join)> .container>p{margin-top:22px}}

/* Sarathi's branded footer has a more specific old grid rule. */
body[data-sarathi-brand] .site-footer:has(.footer-join) .footer-grid{display:contents}
/* The compact form is the only subscriber form; the footer stays cream. */
.site-footer:has(.footer-join){background:#fff0cc!important;color:#765620!important}
.site-footer:has(.footer-join) .footer-newsletter .newsletter-status{border:0;padding:0}
.site-footer:has(.footer-join) .footer-newsletter .newsletter-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
