.kdplinker-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin: 1.5em 0;
  max-width: 560px;
  font-family: sans-serif;
}

.kdplinker-cover {
  flex-shrink: 0;
}

.kdplinker-cover img {
  width: 100px;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.kdplinker-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.kdplinker-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  color: #1a1a1a;
  word-break: break-word;
}

.kdplinker-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.kdplinker-btn {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none !important;
  text-align: center;
  transition: opacity 0.15s ease;
  white-space: nowrap;
}

.kdplinker-btn:hover,
.kdplinker-btn:focus {
  opacity: 0.85;
  text-decoration: none !important;
}

.kdplinker-btn--kindle {
  background: #ff9900;
  color: #fff !important;
}

.kdplinker-btn--paperback {
  background: #232f3e;
  color: #fff !important;
}

@media (max-width: 480px) {
  .kdplinker-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 100%;
  }

  .kdplinker-cover img {
    width: 120px;
  }

  .kdplinker-buttons {
    justify-content: center;
  }
}
