/* Scoped to framework credits: leave the client's footer layout untouched. */
[data-rc-subfooter] {
  box-sizing: border-box;
  width: 100%;
  grid-column: 1 / -1;
  flex: 0 0 100%;
  padding: 22px 20px;
  background: var(--rc-subfooter-bg, inherit);
  color: var(--rc-subfooter-color, inherit);
  font-family: var(--rc-subfooter-font, inherit);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .02em;
  text-align: center;
  overflow-wrap: anywhere;
  border-top: 1px solid color-mix(in srgb, currentColor 15%, transparent);
}
[data-rc-subfooter] p { margin: 0; padding: 0; color: inherit; font: inherit; }
/* One flex row, so "Powered by" and "RC Framework" share a line box and sit level. */
[data-rc-subfooter] [data-rc-subfooter-powered] {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}
[data-rc-subfooter] a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
}
[data-rc-subfooter] a:hover { text-decoration: underline; text-underline-offset: 3px; }
[data-rc-subfooter] a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 2px; }
/* The mark in its own brand colours, not tinted to the footer text. */
[data-rc-subfooter-logo] {
  display: block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 0;
}
