/* Article cards + read-more controls (masli, fatin profile pages) */

.article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card-excerpt {
  flex: 1;
}

.article-card-footer {
  margin-top: auto;
  padding: 14px 18px 16px;
  border-top: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: inherit;
}

.article-byline-label {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.4;
  flex: 1 1 120px;
  min-width: 0;
}

.article-read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent-cyan, var(--accent-brass, #00f5ff));
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.article-read-more-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.article-card:hover .article-read-more,
.article-compact-card:hover .article-read-more {
  background: var(--gradient-1);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--glow-cyan, var(--glow-brass, 0 0 24px rgba(0, 245, 255, 0.25)));
}

.article-card:hover .article-read-more-arrow {
  transform: translateX(2px);
}

.articles-readmore-wrap {
  display: flex;
  justify-content: center;
  margin-top: 32px;
  padding: 0 12px;
}

.articles-readmore-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  width: min(100%, 480px);
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 14px;
  border: 1px solid var(--border-glass);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.articles-readmore-text {
  text-align: center;
}

.articles-readmore-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-cyan, var(--accent-brass, #00f5ff));
}

.articles-readmore-arrow {
  font-size: 18px;
  line-height: 1;
  color: var(--accent-cyan, var(--accent-brass, #00f5ff));
  transition: transform 0.2s ease;
}

.articles-readmore-btn:hover {
  transform: translateY(-2px);
  background: var(--gradient-1);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--glow-cyan, var(--glow-brass, 0 0 30px rgba(0, 245, 255, 0.28)));
}

.articles-readmore-btn:hover .articles-readmore-badge,
.articles-readmore-btn:hover .articles-readmore-arrow {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
}

.articles-readmore-btn:hover .articles-readmore-arrow {
  transform: translateX(3px);
}

@media (max-width: 640px) {
  .article-card-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .article-read-more {
    width: 100%;
    justify-content: center;
  }

  .articles-readmore-btn {
    width: 100%;
    padding: 16px 18px;
  }
}