/* Footer standard, all Red Banana-built sites. Vivek 29 Sep 07:5x, binding
   on museummosaic.in, redbananatechsolutions.in, handloomhaat.in,
   stmandassociates.in, ashlinmathew.com and every future site. Full text
   at /home/vivek/Cultre/fleet/motion-bar/FOOTER-STANDARD.md.

   Tokens and generic structure only. Each site sets --foot-label-color to
   its own AA-passing muted tint (never opacity: fix the colour token,
   never the size, R1). The Red Banana credit component's own styling
   lives in rb-credit.css, loaded alongside this file, referencing the
   --foot-mark token defined here.

   Static shape only (rules 1-7). The interactive marks in rule 8 ship
   later inside Bob 47's canonical component; this file does not
   implement them, and nothing here should have to change layout when it
   lands (each mark already sits in its own .foot-mark wrapper). */

:root{
  --foot-mark:28px;
  --foot-gap:40px;
  --foot-pad-y:56px;
}
@media(max-width:600px){
  :root{
    --foot-mark:24px;
    --foot-gap:24px;
    --foot-pad-y:32px;
  }
}

footer:not(.reader-bottom){
  padding-top:var(--foot-pad-y);
  padding-bottom:var(--foot-pad-y);
}

.foot-row{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-start;
  gap:var(--foot-gap);
  margin:0;
}
@media(max-width:600px){
  .foot-row{
    flex-direction:column;
    align-items:flex-start;
  }
}

.foot-block{
  display:flex;
  flex-direction:column;
  gap:8px;
  min-width:0;
  margin:0;
}

.foot-label{
  display:block;
  font-size:11px;
  line-height:1.4;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:var(--foot-label-color,currentColor);
  margin:0;
}

.foot-name,
p.foot-name{
  font-size:14px;
  font-weight:400;
  line-height:1.5;
  color:inherit;
  text-decoration:none;
  margin:0;
}
a.foot-name{
  display:inline-block;
  min-height:44px;
  padding:10px 0;
}

.foot-line{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  padding:10px 0;
  text-decoration:none;
  color:inherit;
}

/* Every logo mark (the site's own, publisher marks, the RB credit mark)
   sits in one of these wrappers at exactly --foot-mark tall, so the
   proof script's height check is the same measurement regardless of
   whether the mark is an <svg>, an <img> or styled text (R1). */
.foot-mark{
  display:inline-flex;
  align-items:center;
  height:var(--foot-mark);
  flex:none;
  overflow:visible;
}
.foot-mark svg,
.foot-mark img{
  height:100%;
  width:auto;
  display:block;
}

/* A site's own footer wordmark (text, not an image). Rule 1 gives it the
   same --foot-mark HEIGHT as every other mark, via the .foot-mark wrapper
   above (a fixed-height flex box, so the box measures exactly --foot-mark
   regardless of the typeface); rule 2 still applies to its own type, so
   the text itself stays at the 14px content size, bold, to read as a
   compact wordmark inside that box without becoming a third font-size. */
.foot-mark-brand{
  font-size:14px;
  font-weight:800;
  letter-spacing:-.01em;
  text-decoration:none;
  color:inherit;
  white-space:nowrap;
}

/* Cultre publisher mark in a footer (R2/R3, Bob 66 29 Sep): no chip, one
   colour at rest matching the footer text (guaranteed AA, since it's
   then the same colour as already-legible text beside it), its own
   terracotta returns on hover/focus only. */
.cultre-foot-path{fill:currentColor;transition:fill .2s ease}
.cultre-foot-credit:hover .cultre-foot-path,
.cultre-foot-credit:focus-visible .cultre-foot-path{fill:#B74343}
.cultre-foot-credit:focus-visible{outline:2px solid #B74343;outline-offset:4px;border-radius:4px}
