.sa-am-card {
  display: block;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 36px 28px;
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.06);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.sa-am-card:hover {
  border-color: var(--line-2);
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.08);
}

.sa-am-title {
  margin: 0 0 6px;
  font-size: 1.08rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.sa-am-title a {
  color: #0f172a;
  text-decoration: none;
}

.sa-am-title a:hover,
.sa-am-title a:focus {
  color: var(--brand);
  text-decoration: underline;
}

.sa-am-copy{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  margin-left: 4px;
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
}

.sa-am-copy img{
  max-width: 20px;
  max-height: 20px;
  pointer-events: none;
}

.sa-am-tooltip{
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translateX(-50%) translateY(-8px);
  white-space: nowrap;
  background: #0f172a;
  color: #ffffff;
  font-size: 12px;
  line-height: 1;
  padding: 8px 10px;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(2,6,23,.25);
  opacity: 0;
  visibility: hidden;
  transition: opacity .12s ease, visibility .12s ease, transform .12s ease;
  z-index: 5;
}

.sa-am-tooltip::after{
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #0f172a;
}

.sa-am-copy.is-tooltip .sa-am-tooltip{
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-12px);
}

.sa-am-excerpt {
  margin: 0.2rem 0 0.55rem;
  color: #475569;
}

.sa-am-meta-line {
  margin-top: 0.3rem;
  font-size: 0.92rem;
  color: #64748b;
}

.sa-am-meta-line.is-accent {
  color: #475569;
  font-weight: 500;
}

/* =========================
 * Skeleton loading states
 * =======================*/
.sa-am-skeleton{
  position: relative;
  overflow: hidden;
}

.sa-am-skeleton .sa-am-sk-block{
  display:block;
  width: 100%;
  height: 12px;
  border-radius: 8px;
  background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 37%, #f3f4f6 63%);
  background-size: 400% 100%;
  animation: sa-am-shimmer 1.8s ease-in-out infinite;
}

.sa-am-skeleton .sa-am-sk-title{
  height: 18px;
  width: 55%;
  margin: 0 0 12px;
}

.sa-am-skeleton .sa-am-sk-line{
  height: 12px;
  margin: 8px 0;
}

.sa-am-skeleton .sa-am-sk-line.is-short{
  width: 70%;
}

.sa-am-skeleton .sa-am-sk-meta{
  height: 12px;
  width: 40%;
  margin-top: 12px;
}

@keyframes sa-am-shimmer{
  0%{ background-position: 200% 0; }
  100%{ background-position: -200% 0; }
}
