/* Contact remains untouched; these are its accepted separator and strip rules. */
body #masthead.contact-standard-line { box-shadow:inset 0 -1px rgba(210,200,174,.38); }
/* Match the existing bottom separator without adding height to the stone panel. */
body #page #colophon.standard-footer:has(.footer-columns) { box-shadow:inset 0 1px rgba(210,200,174,.38); }
/* The existing block layout keeps its margin-collapse behavior. Only surplus
   space before the bottom bar grows on short pages; all earlier sections stay put. */
body #page #colophon.standard-footer .footer-bottom { padding-top:calc(37px + var(--footer-bottom-space,0px)); }
body #page #colophon.standard-footer .footer-bottom .columns-container { margin-top:0; padding-block:8px; }
body #page #colophon.standard-footer .footer-bottom .columns-container::before { top:-1px; bottom:0; border-top:1px solid rgba(210,200,174,.38); box-sizing:border-box; background:var(--cactus-surface); }
body #page #colophon.standard-footer .footer-bottom .columns-container::after { content:none; }
@media(min-width:1001px) {
 body #page #colophon.standard-footer .footer-bottom .columns-container { grid-template-columns:minmax(0,1fr) 120px minmax(0,1fr); }
}
/* Enlarge only the information group within the existing 280px map-height row.
   Stacked layouts retain the former 222px information allocation. */
body #page #colophon.standard-footer .footer-columns > .column-0 { height:280px; min-width:0; }
body #page #colophon.standard-footer .column-0 .column-content,
body #page #colophon.standard-footer .footer-gallery-information { height:100%; }
body #page #colophon.standard-footer .footer-gallery-information { display:flex; flex-direction:column; text-align:center; }
body #page #colophon.standard-footer h3.footer-gallery-heading { display:flex; align-items:center; justify-content:center; gap:8px; font:400 clamp(24px,1.55vw,30px)/1.25 'ivymode',sans-serif; letter-spacing:0; text-transform:none; margin:0; transform:translateY(var(--footer-heading-offset,0px)); }
body #page #colophon.standard-footer .footer-gallery-heading img { width:1.37em; height:1.37em; flex:0 0 1.37em; object-fit:contain; }
body #page #colophon.standard-footer .footer-information-pair { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:18px; flex:1; margin-top:24px; padding-bottom:8px; }
body #page #colophon.standard-footer .footer-information-pair > div { min-width:0; display:flex; flex-direction:column; justify-content:center; gap:24px; }
body #page #colophon.standard-footer .footer-information-pair p { font:400 clamp(18px,1.05vw,20px)/1.5 'Instrument Sans',sans-serif; color:#fff; margin:0; }
body #page #colophon.standard-footer .footer-information-pair br { display:initial!important; }
body #page #colophon.standard-footer .footer-information-pair a { position:relative; display:inline-block; max-width:100%; font-weight:600; color:#d2c8ae; letter-spacing:normal; text-transform:none; overflow-wrap:anywhere; }
body #page #colophon.standard-footer .footer-information-pair a:not(.cst-button)::after { content:""; position:absolute; left:0; bottom:2px; width:0; height:1px; background:#d2c8ae; transition:width .3s; }
body #page #colophon.standard-footer .footer-information-pair a:not(.cst-button):hover::after { width:100%; }
body #page #colophon.standard-footer .footer-information-pair a:focus-visible { outline:2px solid #d2c8ae; outline-offset:3px; border-radius:2px; }
@media(max-width:1199px) {
 body #page #colophon.standard-footer .footer-information-pair p { font-size:16px; }
}
@media(max-width:1000px) {
 body #page #colophon.standard-footer .footer-columns > .column-0 { height:222px; }
 body #page #colophon.standard-footer .footer-information-pair { margin-top:16px; gap:12px; padding-bottom:0; }
 body #page #colophon.standard-footer .footer-information-pair > div { gap:16px; }
 body #page #colophon.standard-footer .footer-information-pair p { font-size:16px; }
}
@media(max-width:360px) {
 body #page #colophon.standard-footer .footer-information-pair p { font-size:14px; }
}

/* Local, unchanged watermark-free Taj Mahal photograph; a centered cover crop
   and footer-only treatment preserve proportions and keep content untouched. */
body #page .continuous-lower { position:relative; isolation:isolate; background:none !important; }
body #page .continuous-lower::before {
 content:''; position:absolute; inset:0; z-index:-1; pointer-events:none;
 background:#66635f url('/assets/approved/footer-taj-mahal-original.jpg') center / cover no-repeat;
 background-blend-mode:multiply; filter:grayscale(.8) brightness(1.06);
}
