/* A garden's own address (js/host.js adds body.garden-host): the garden's name leads, our brand is a small
   "Powered by" line at the foot. */

/* Member pages: the garden's name beside the small sprout mark leads the top bar; our wordmark is in the footer. */
body.garden-host .brand .brand-logo { display: none; }
body.garden-host .brand .brand-mark { display: block; }
body.garden-host .brand.no-logo .brand-mark { display: none; }
body.garden-host .brand #garden-name { display: block; font-family: var(--sys-display); font-size: 1.2rem; font-weight: 800; color: var(--tint);
  padding-left: 0; margin-left: 0; box-shadow: none; }
@media (max-width: 720px) { body.garden-host .brand #garden-name { font-size: 1.1rem; } }

/* Public pages on a garden's address: the same pairing, the small sprout mark before the garden's name. */
.splash .garden-mark { display: inline-flex; align-items: center; gap: .6rem; }
.splash .garden-mark::before { content: ""; flex: none; width: 34px; height: 34px; border-radius: 8px;
  background: url("../img/logo/b/mark.svg") center / contain no-repeat; }
@media (max-width: 520px) { .splash .garden-mark::before { width: 28px; height: 28px; } }

.powered-foot { padding: 2.5rem 1rem 1.5rem; text-align: center; font-size: .8rem; }
#topbar[hidden] ~ .shell .powered-foot { display: none; }   /* public pages have their own footer */
.powered-foot a, .splash .powered { display: inline-flex; align-items: center; gap: .45rem; color: var(--muted); text-decoration: none; }
.powered-foot a:hover, .splash .powered:hover { color: var(--ink); text-decoration: none; }
.powered-foot img { height: 20px; width: auto; opacity: .75; }
@media (prefers-color-scheme: dark) { .powered-foot img { filter: invert(1); } }

/* Public pages: the garden's name is the wordmark. */
.splash .garden-mark { font-size: clamp(1.25rem, 3.2vw, 1.75rem); line-height: 1.15; max-width: 70%; overflow-wrap: anywhere; }
.splash .powered { font-size: .95rem; color: var(--ink-soft); }
.splash .powered .logo { height: 24px; width: auto; }
@media (max-width: 520px) {
  .splash .garden-mark { max-width: 60%; }
}
@media print { .powered-foot { display: none; } }

/* Member top bar: the garden's growing label (js/practice.js) beside its name. */
.brand .host-practice { margin-left: .55rem; font-size: .72rem; padding: .05rem .5rem .05rem .4rem; }
@media (max-width: 520px) {   /* leaf only; the word stays for screen readers */
  .brand .host-practice span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .brand .host-practice { padding: .2rem; } }
