/* Site styles that the theme's own stylesheet does not cover. */

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* The logo is Sam's photo, drawn as a round avatar. */
.daisy-brand img {
  height: 2.75rem;
  width: 2.75rem;
  border-radius: 9999px;
  object-fit: cover;
}

/* The LinkedIn mark is a local image, so it cannot follow the text colour: invert it in dark mode. */
[data-mode="dark"] img[src$="icons/linkedin.svg"] {
  filter: invert(1);
}

/* The keywords line under the name on the home page reads as a muted subtitle. */
section:has(> .daisy-avatar-beside-title) > h1 + p {
  color: var(--daisy-text-muted);
}
section:has(> .daisy-avatar-beside-title) > h1 + p strong {
  font-weight: 500;
}

/* A card with a logo: the logo on the left, the title and text beside it. */
.sd-card-body:has(> .daisy-avatar) {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1rem;
  align-items: start;
}
.sd-card-body:has(> .daisy-avatar) > * { grid-column: 2; }
.sd-card-body:has(> .daisy-avatar) > .daisy-avatar {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
  margin-top: 0.125rem;
}
