/* Shared public layout: normal-flow header and owner-confirmed links. */
.deho-public-site #header { background: #fff; }
.deho-public-site h1 { font-size: clamp(2rem,4vw,3rem); overflow-wrap: anywhere; }
/* Smarty treats every mobile aside as a drawer. Public content panels stay in the document flow. */
.deho-public-site .wrapper aside { position: static !important; inset: auto !important; width: auto; height: auto !important; max-height: none; transform: none !important; z-index: auto; }
/* The header already reserves space; do not duplicate the template's inline hero offset. */
.deho-public-site .homepage-hero { padding-top: 0 !important; }

/* Keep contact and the original network artwork together without large panels. */
#footer.deho-footer { background: #f4f7f6; border-top: 1px solid #dce5e1; color: #263b36; }
.deho-footer-main { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 2rem 3rem; padding: 2.75rem 0 2.25rem; }
.deho-footer-main h2 { color: #52655d; font-size: .875rem; font-weight: 600; line-height: 1.5; margin: 0 0 1rem; }
.deho-footer-brand img { display: block; max-width: 100%; height: auto; }
.deho-footer-brand p { font-size: .875rem; line-height: 1.5; margin: .25rem 0; }
.deho-footer-brand .deho-footer-owner { font-size: 1rem; font-weight: 600; margin-top: 1rem; }
#footer.deho-footer a { color: #263b36; text-decoration: none; text-underline-offset: .2em; }
#footer.deho-footer a:hover { color: #386b45; text-decoration: underline; }
/* Smarty disables native focus outlines globally. */
#footer.deho-footer a:focus-visible { outline: 3px solid #487c54 !important; outline-offset: 5px; border-radius: 2px; }
.deho-footer-social { display: inline-flex; align-items: center; gap: .5rem; margin-top: .75rem; font-size: .875rem; }
.deho-footer-contact > a { display: table; font-size: .9rem; line-height: 1.6; margin-bottom: .25rem; }
.deho-footer-contact > .deho-footer-email { font-size: 1.05rem; font-weight: 600; }
.deho-footer-contact address { font-size: .875rem; font-style: normal; line-height: 1.6; margin: .75rem 0 0; }
.deho-footer-links ul { display: grid; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.deho-footer-links a { font-size: .875rem; }
.deho-footer-network { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.deho-footer-network a { display: flex; align-items: center; justify-content: center; min-width: 48px; min-height: 50px; }
.deho-footer-network img { display: block; max-width: 100%; height: auto; }
.deho-footer-network .deho-footer-seal { width: auto; height: 50px; }
.deho-footer-network .deho-footer-partner { width: auto; height: 36px; }
.deho-footer-network .deho-footer-member { width: 140px; }
.deho-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem 2rem; border-top: 1px solid #dce5e1; padding: 1.25rem 0; }
.deho-footer-bottom p { font-size: .8rem; line-height: 1.5; margin: 0; }
.deho-footer-bottom a { font-size: .8rem; line-height: 1.5; }
@media (max-width: 991.98px) {
  .deho-footer-main { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .deho-footer-links { grid-column: 1 / -1; }
  .deho-footer-links ul { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
  /* Keep legal links above the persistent bottom-left cookie control. */
  .deho-footer-bottom { padding-bottom: 4.75rem; }
}
@media (max-width: 575.98px) {
  .deho-footer-main { grid-template-columns: minmax(0,1fr); gap: 1.75rem; padding: 2rem 0; }
  .deho-footer-links { grid-column: auto; }
  .deho-footer-bottom { flex-direction: column-reverse; align-items: flex-start; gap: 1.25rem; }
}
@media print {
  .deho-public-site h1 { font-size: 20pt; }
  .deho-footer-main { break-inside: avoid; }
}
