/* TASHEV editorial post cards, applied to live and archive feed. */
#feed-dynamic .feed-post-card,
.feed-post-archive .feed-post-card {
  padding: 24px;
  margin: 24px 0 0;
  border-radius: 28px;
  border: 1px solid rgba(110, 116, 160, .13);
  background: #fff;
  box-shadow: 0 18px 48px rgba(42, 53, 97, .07);
  transform: none;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
  overflow: hidden;
}
#feed-dynamic .feed-post-card:hover,
.feed-post-archive .feed-post-card:hover {
  transform: translateY(-3px);
  border-color: rgba(91, 86, 242, .22);
  box-shadow: 0 25px 56px rgba(45, 49, 112, .13);
}
.feed-post-link {
  display: block;
  color: inherit;
  text-decoration: none !important;
  border-radius: 18px;
  cursor: pointer;
}
.feed-post-link:focus-visible {
  outline: 3px solid #6860fa;
  outline-offset: 4px;
}
.feed-post-head {
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 2px 2px 24px;
}
.feed-post-avatar {
  width: 54px;
  height: 54px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #f0eaff;
}
.feed-post-author {
  color: #172138;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 800;
}
.feed-post-meta {
  margin-top: 4px;
  display: flex;
  gap: 7px;
  align-items: baseline;
  flex-wrap: wrap;
  color: #8c96ac;
  font-size: 13px;
  line-height: 1.5;
}
.feed-post-tag { color: #753bed; font-weight: 700; }
.feed-post-copy { min-width: 0; padding: 0 2px 24px; }
.feed-post-title {
  margin: 0;
  color: #111b35;
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -.024em;
  overflow-wrap: anywhere;
}
.feed-post-summary {
  margin: 15px 0 0;
  color: #465268;
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.feed-post-outro {
  margin: 16px 0 0;
  color: #626b80;
  font-size: 15px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.feed-post-inline-link {
  display: inline-flex;
  margin-left: 5px;
  color: #6738ed;
  font-weight: 700;
  white-space: nowrap;
}
.feed-post-media {
  width: 100%;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #f0f2ff;
  border: 1px solid rgba(111, 103, 222, .08);
}
.feed-post-media > img {
  width: 100%;
  max-width: 100%;
  height: auto !important;
  display: block;
  aspect-ratio: 1200 / 630;
  object-fit: contain !important;
  transition: transform .45s ease;
}
.feed-post-link:hover .feed-post-media > img { transform: scale(1.015); }
.feed-post-actions { padding-top: 26px; }
.feed-post-cta {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 17px;
  background: linear-gradient(110deg, #7770ff 0%, #574cf3 58%, #5240ee 100%);
  box-shadow: 0 13px 26px rgba(94, 81, 230, .16);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.feed-post-link:hover .feed-post-cta {
  background: linear-gradient(110deg, #655bf7, #4637e8);
  box-shadow: 0 16px 28px rgba(83, 63, 230, .23);
}
.feed-post-cta svg { width: 19px; height: 19px; transition: transform .2s ease; }
.feed-post-link:hover .feed-post-cta svg { transform: translateX(4px); }
.feed-post-link:not([href]) { cursor: default; }
.feed-post-link:not([href]) .feed-post-actions { display: none; }
@media (max-width: 640px) {
  #feed-dynamic .feed-post-card,
  .feed-post-archive .feed-post-card {
    padding: 16px;
    margin-top: 18px;
    border-radius: 23px;
  }
  .feed-post-head { gap: 11px; padding-bottom: 19px; }
  .feed-post-avatar { width: 47px; height: 47px; }
  .feed-post-author { font-size: 15px; }
  .feed-post-meta { font-size: 12px; }
  .feed-post-copy { padding-bottom: 20px; }
  .feed-post-title { font-size: 19px; line-height: 1.37; }
  .feed-post-summary { margin-top: 12px; font-size: 15px; }
  .feed-post-outro { margin-top: 13px; font-size: 14px; }
  .feed-post-media { border-radius: 15px; }
  .feed-post-actions { padding-top: 20px; }
  .feed-post-cta { min-height: 52px; font-size: 15px; border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .feed-post-card, .feed-post-cta, .feed-post-cta svg, .feed-post-media > img { transition: none !important; }
}
