/* ========================
   ARTICLE PREVIEW
   ======================== */

article.preview {
  max-width: 450px;
  margin: 1.5rem auto;
  background: #fff;
  border-radius: 0 0 1.5em 1.5em;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

article.preview:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.25);
}

article.preview::before {
  content: "";
  display: block;
  height: 5px;
  background: linear-gradient(90deg, var(--am-blue-light), var(--am-blue), var(--am-blue-dark));
}

article.preview h2,
article.preview h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1.3em;
  background: linear-gradient(90deg, var(--am-blue-light), var(--am-blue-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

article.preview h2::after,
article.preview h3::after {
  content: "";
  display: block;
  width: 60%;
  height: 3px;
  margin: 0.4em auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--am-blue), var(--am-accent), var(--am-blue));
  box-shadow: 0 0 6px rgba(25,118,210,0.5);
  transition: width 0.3s ease, box-shadow 0.3s ease;
}

article.preview h2:hover::after,
article.preview h3:hover::after {
  width: 80%;
  box-shadow: 0 0 12px rgba(25,118,210,0.8);
}

article.preview p {
  margin: 0 1rem 1.5rem;
  font-size: 0.95rem;
  color: #555;
}
