/* Wrapper */
.linkinbio-wrapper {
  max-width: 700px;
  margin: 0 auto;
  padding: 10px 5px;
  text-align: center;
  font-family: sans-serif;
}

/* Logo */
.logo {
  max-width: 270px;
  margin: 0 auto 5px auto;
  display: block;
}

/* Grid: 2 columns */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  justify-items: center;
}

.grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;

  /* Strong multi-layered shadows */
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.18),
    0 4px 12px rgba(0, 0, 0, 0.12),
    0 2px 4px rgba(0, 0, 0, 0.08);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.grid a:hover img {
  transform: scale(1.04);

  /* Deeper hover shadow */
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.25),
    0 6px 16px rgba(0, 0, 0, 0.15),
    0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Footer */
.shoutout-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  white-space: nowrap;
  font-style: italic;
  font-weight: bold;
  font-size: 16px;
  margin-top: 15px;
  padding-top: 4px;
}

.shoutout-footer img {
  height: 34px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

/* Mobile overrides */
@media (max-width: 768px) {
  .grid {
    gap: 7px;
  }

  .shoutout-footer {
    flex-direction: row;
    align-items: center;
    font-size: 12px;
    font-weight: bold;
    gap: 7px;
  }

  .shoutout-footer img {
    height: 25px;
    vertical-align: middle;
  }
}