/* =================================================
   BLOG WALL – UPPER (LIGHT PREMIUM – CLEAN FINAL)
   Tameecom Design System
================================================= */

/* ================= CONTAINER ================= */

.blogwall-container {
  max-width: var(--width-wall);
  margin: 40px auto;
  padding-inline: 14px;
  direction: rtl;
  font-family: var(--font-sans);
  color: var(--color-text);
}

/* ================= HEADER ================= */

.blogwall-header {
  background: var(--bg-card);
  border: 3px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 26px 20px 30px;
  margin-bottom: 32px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.blogwall-image {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--color-accent);
  box-shadow: 0 8px 18px rgba(0,0,0,.15);
  margin: 0 auto 16px;
  display: block;
}

.blogwall-title {
  font-size: var(--font-subtitle);
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.blogwall-author {
  font-size: var(--font-meta);
  color: var(--color-muted);
  margin-bottom: 14px;
}

.blogwall-header .label {
  display: inline-block;
  background: var(--bg-soft-3);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  color: #c77700;
  margin-bottom: 14px;
}

/* ================= RANK CIRCLE ================= */

.rank-circle {
  margin: 26px auto 34px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(
    circle at top,
    #fff3c4,
    var(--bg-rank)
  );
  border: 6px solid var(--color-accent);
  box-shadow: 0 16px 34px rgba(0,0,0,.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.rank-circle .label {
  font-size: 14px;
  font-weight: 800;
  color: #92400e;
  margin-bottom: 6px;
}

.rank-circle {
  font-size: 32px;
  font-weight: 900;
  color: #111827;
}

/* ================= TOP STATS ================= */

.stats-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.stat-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  text-align: center;
  border: 3px solid var(--color-border);
  border-left: 6px solid var(--color-accent);
  box-shadow: var(--shadow-soft);
}

.stat-box .label {
  font-size: 15px;
  font-weight: 800;
  color: #c77700;
  margin-bottom: 10px;
}

.stat-box .value {
  font-size: 28px;
  font-weight: 900;
  color: var(--color-primary);
}

/* النجوم */
.stat-box .stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 6px 0;
}

.stat-box .fa-star {
  font-size: 20px;
  color: #fbc02d;
}

.stat-box .fa-star-o {
  font-size: 20px;
  color: #90a4ae;
}

/* ================= SECTION TITLE ================= */

.stats-title,
.blogwall-container > h3 {
  text-align: center;
  font-size: 26px;
  font-weight: 900;
  color: var(--color-primary);
  margin: 40px 0 30px;
}

/* ================= GENERAL STATS ================= */

.stats-grid-light {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

/* ================= TOPICS ================= */

.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.topic-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  border: 3px solid var(--color-border);
  border-left: 6px solid var(--color-accent);
  box-shadow: var(--shadow-soft);
}

.topic-label {
  font-size: 15px;
  font-weight: 800;
  color: #c77700;
  margin-bottom: 10px;
}

/* عنوان الموضوع */
.topic-card a {
  display: block;
  font-size: 19px;
  font-weight: 800;
  color: var(--color-primary);
  text-decoration: none;
  margin-bottom: 6px;
  line-height: 1.4;
}

/* البيان / الرقم / التاريخ */
.topic-meta {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-muted);
}

/* ================= MOBILE ================= */

@media (max-width: 600px) {

  .rank-circle {
    width: 140px;
    height: 140px;
    font-size: 28px;
  }

  .stat-box .value {
    font-size: 26px;
  }

  .topic-card a {
    font-size: 18px;
  }
}