/* Avatar Component Style */
.avatar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 2rem 0;
  text-align: center;
}

.avatar-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary); /* Use theme's primary color */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.avatar-image:hover {
  transform: scale(1.05);
}

.avatar-name {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
  margin: 0.5rem 0;
}

.avatar-bio {
  font-size: 1rem;
  max-width: 400px;
  color: inherit;
  opacity: 0.9;
}

/* Link Banner Component */
.link-banner {
  display: flex;
  justify-content: space-between;
  background-color: #1a1a1a; /* Dark background */
  border: 1px solid var(--primary); /* Theme color border */
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none !important; /* Remove default underline */
  margin: 2rem 0;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  color: inherit !important;
}

.link-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 255, 0, 0.2); /* Green glowish shadow */
  background-color: #222;
}

.link-banner-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.link-banner-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.link-banner-desc {
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.link-banner-url {
  font-size: 0.75rem;
  color: #888;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.link-banner-image {
  width: 200px;
  background-size: cover;
  background-position: center;
  border-left: 1px solid #333;
}

@media (max-width: 600px) {
  .link-banner {
    flex-direction: column;
  }
  .link-banner-image {
    width: 100%;
    height: 150px;
    border-left: none;
    border-bottom: 1px solid #333;
    order: -1; /* Image on top for mobile */
  }
}
