/* /assets/css-hxy/rss.css */
:root {
  --theme-hover: #ff7a45;
  --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.joe_detail__rss {
  margin-top: 25px;
}

.joe_detail__rss-title {
  position: relative;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 20px;
  color: var(--theme);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--classC);
}

.joe_detail__rss-status {
  background: #f8f8f8;
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #666;
  text-align: center;
}

.joe_detail__rss-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.joe_detail__rss-item {
  padding: 20px;
  background: var(--background);
  border-radius: 10px;
  box-shadow: var(--card-shadow);
  transition: all 0.3s;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.joe_detail__rss-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border-color: var(--theme-light);
}

.joe_detail__rss-item:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--theme);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.joe_detail__rss-item:hover:before {
  opacity: 1;
}

.joe_detail__rss-title-container {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.joe_detail__rss-article-index {
  display: inline-block;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  background: var(--theme);
  color: white;
  border-radius: 50%;
  margin-right: 10px;
  font-size: 14px;
  font-weight: bold;
}

.joe_detail__rss-article-title {
  font-size: 19px;
  font-weight: bold;
  color: var(--main);
  line-height: 1.4;
  transition: color 0.3s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.joe_detail__rss-article-title:hover {
  color: var(--theme-hover);
}

.joe_detail__rss-article-desc {
  font-size: 15px;
  color: var(--minor);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.joe_detail__rss-meta {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: var(--routine);
  padding-top: 12px;
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
}

.joe_detail__rss-date {
  display: flex;
  align-items: center;
  margin-right: 15px;
  color: #666;
}

.joe_detail__rss-source {
  display: flex;
  align-items: center;
  color: #666;
}

.joe_detail__rss-source a {
  color: var(--theme);
  margin-left: 5px;
  text-decoration: none;
}

.joe_detail__rss-source a:hover {
  text-decoration: underline;
}

/* 分页样式 */
.joe_detail__rss-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  font-size: 14px;
  gap: 6px;
}

.joe_detail__rss-pagination a,
.joe_detail__rss-pagination span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 6px 12px;
  min-width: 32px;
  height: 32px;
  border-radius: 4px;
  color: var(--routine);
  text-decoration: none;
  transition: all 0.3s;
}

.joe_detail__rss-pagination a {
  border: 1px solid var(--classC);
  background: var(--background);
}

.joe_detail__rss-pagination a:hover {
  color: var(--theme);
  border-color: var(--theme);
}

.joe_detail__rss-pagination .current {
  color: white;
  background: var(--theme);
  border-color: var(--theme);
}

.joe_detail__rss-pagination span {
  color: var(--routine);
  pointer-events: none;
  padding: 0 5px;
}

/* 空状态和错误状态 */
.joe_detail__rss-empty {
  padding: 35px 0;
  text-align: center;
  color: var(--routine);
  font-size: 16px;
  background: #fafafa;
  border-radius: 12px;
}

.joe_detail__rss-error {
  color: #ff4d4f;
  font-weight: bold;
  margin-top: 10px;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .joe_detail__rss-item {
    padding: 18px 15px;
  }
  
  .joe_detail__rss-title {
    font-size: 22px;
    margin-bottom: 18px;
  }
  
  .joe_detail__rss-article-title {
    font-size: 18px;
  }
}