/*
 * Small Site Rescue client footer credit
 * Hosted at: https://www.smallsiterescue.com/assets/site-credit.css
 * Both credit styles center themselves automatically.
 */

.ssr-site-credit,
.ssr-site-credit * {
  box-sizing: border-box;
}

a.ssr-site-credit {
  all: unset;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  max-width: calc(100% - 12px);
  margin: 6px auto !important;
  padding: 7px 10px;
  float: none !important;
  clear: both;
  border: 1px solid rgba(49, 80, 100, 0.24);
  border-radius: 12px;
  color: #315064;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 8px rgba(6, 63, 100, 0.08);
  font: 500 12px/1.25 Arial, Helvetica, sans-serif;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

a.ssr-site-credit:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 90, 10, 0.62);
  box-shadow: 0 5px 14px rgba(6, 63, 100, 0.13);
}

a.ssr-site-credit:focus-visible {
  outline: 3px solid rgba(1, 154, 176, 0.35);
  outline-offset: 3px;
}

.ssr-site-credit__label {
  color: #5c6f7b;
  white-space: nowrap;
}

.ssr-site-credit--logo img {
  display: block;
  width: 128px;
  max-width: 42vw;
  height: auto;
  margin: 0;
  border: 0;
  object-fit: contain;
}

.ssr-site-credit--text {
  flex-wrap: wrap;
  color: #5c6f7b;
  white-space: normal;
}

.ssr-site-credit--text strong {
  color: #075c78;
  font-weight: 700;
}

@media (max-width: 380px) {
  a.ssr-site-credit {
    gap: 6px;
    padding: 6px 8px;
    font-size: 11px;
  }

  .ssr-site-credit--logo img {
    width: 112px;
  }
}

@media (prefers-reduced-motion: reduce) {
  a.ssr-site-credit {
    transition: none;
  }
}
