/**
 * @file
 * Styles for the footer brand block.
 */

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--sp);
}

.footer-brand__logo-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp0-75);
  text-decoration: none;
  color: var(--color--white);
}

.footer-brand__logo {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.footer-brand__name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color--white);
}

.footer-brand__description {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color--gray-65);
  max-width: 28ch;
}

.footer-brand__social {
  display: flex;
  gap: var(--sp0-75);
  list-style: none;
  margin: var(--sp0-5) 0 0;
  padding: 0;
}

.footer-brand__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color--gray-20);
  color: var(--color--gray-60);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.footer-brand__social-link:hover {
  background-color: var(--color--gray-45);
  color: var(--color--white);
}

.footer-brand__social-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Facebook uses a fill-based icon */
.footer-brand__social-link--facebook svg {
  fill: currentColor;
  stroke: none;
}

/* YouTube uses a fill-based icon */
.footer-brand__social-link--youtube svg {
  fill: currentColor;
  stroke: none;
}
