/* /rss/rss.css — minimal modern RSS */

:root{
  --rss-bg:#ffffff;
  --rss-line:#e6e8ee;
  --rss-text:#1f2937;
  --rss-muted:#6b7280;
  --rss-shadow:0 6px 16px rgba(16,24,40,.06);
  --rss-radius:1px;
}

.rss-card{
  background:var(--rss-bg);
  border:1px solid var(--rss-line);
  border-radius:12px;
  box-shadow:var(--rss-shadow);
  padding:14px;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--rss-text);

  /* FIX: make footer stick to bottom */
  display:flex;
  flex-direction:column;
  height:100%;
}

/* Header + divider */
.rss-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding-bottom:10px;
  margin-bottom:12px;
  border-bottom:1px solid var(--rss-line);
  position:relative;
}

/* small modern accent line */
.rss-head::after{
  content:"";
  position:absolute;
  bottom:-1px;
  left:0;
  width:40px;
  height:2px;
  background:linear-gradient(to right,#d1d5db,transparent);
}

.rss-title{
  font-size:15px;
  font-weight:600; /* jo bold e rëndë */
  margin:0;
  line-height:1.2;
}

/* LIST: no dividers, no hover animations */
.rss-list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:6px;

  /* FIX: list takes remaining space, brand goes to bottom */
  flex: 1 1 auto;
  align-content:start;
}

.rss-item{
  padding:0;          /* pa kutiza */
  border:0;           /* pa vija */
  background:transparent;
}

.rss-link{
  text-decoration:none;
  color:inherit;
  display:block;
  padding:2px 0;
}

/* Title with bullet aligned (2nd line starts aligned with first, not under bullet) */
.rss-item-title{
  position:relative;
  font-size:13.5px;
  font-weight:500;
  line-height:1.35;
  margin:0;
  color:var(--rss-text);
  padding-left:16px; /* space for bullet */
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* bullet */
.rss-item-title::before{
  content:"•";
  position:absolute;
  left:0;
  top:0;
  color:var(--rss-muted);
}

/* Brand mark bottom-right (favicon + host) */
.rss-brand{
  display:flex;
  justify-content:flex-end;

  /* FIX: always at the bottom of the card */
  margin-top:auto;
  padding-top:12px; /* keeps same spacing as before */
}

.rss-brand-inner{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--rss-muted);
  font-size:12px;
}

.rss-brand-fav{
  width:16px;
  height:16px;
  border-radius:6px;
  background:#f3f4f6;
  border:1px solid #eef0f5;
}

/* loading / error */
.rss-skel{
  border:1px dashed var(--rss-line);
  border-radius:12px;
  padding:10px;
  color:var(--rss-muted);
  font-size:13px;
}

.rss-error{
  border:1px solid #fecdca;
  background:#fff5f4;
  color:#b42318;
  border-radius:12px;
  padding:10px;
  font-size:13px;
}
