/* ============================================
Arabic blog article style
   ============================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --teal:   #1a8f8a;
  --text:   #1a1a1a;
  --muted:  #6b7280;
  --border: #e9ebee;
  --bg:     #ffffff;
}

html, body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
}

body {
  text-align: right;
}

/* ============================================
   HERO SECTION
   ============================================ */
.post-hero {
  background: linear-gradient(#fdf8f3, #ffffff);
  padding: 2rem 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.go-back {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  margin-bottom: 1.75rem;
  transition: color 0.2s;
  max-width: 1000px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.go-back:hover { 
  color: var(--teal); 
}

.go-back::before {
  content: '←';
  display: inline-block;
}

.post-heading {
  font-size: clamp(1.9rem, 5vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
  text-align: center;
  max-width: 680px;
  margin-bottom: 1rem;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.meta-sep {
  width: 28px;
  height: 1px;
  background: var(--muted);
  flex-shrink: 0;
}

.post-hero-img {
  width: 100%;
  max-width: 1000px;
  border-radius: 1.25rem;
  overflow: hidden;
  margin-bottom: 0;
}

.post-hero-img img {
  width: 100%;
  display: block;
  height: auto;
  object-fit: cover;
  object-position: center;
}

/* ============================================
   ARTICLE BODY
   ============================================ */
.post-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 3.5rem 2rem 7rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.post-section {
  padding-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.post-section:first-child {
  padding-top: 0;
}

.post-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: var(--text);
}

.post-section p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.85;
}

.post-section ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.post-section ul li {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
}

.post-section ul.labeled-list li strong {
  color: var(--text);
  font-weight: 700;
}

.post-section ul:not(.labeled-list) li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.post-section ul:not(.labeled-list) li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted);
  flex-shrink: 0;
  margin-top: 0.6em;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 680px) {
  .post-hero { 
    padding: 1.5rem 1.25rem 0; 
  }
  
  .post-hero-img { 
    border-radius: 0.85rem; 
  }
  
  .post-body { 
    padding: 2.5rem 1.25rem 4rem; 
  }
  
  .post-heading { 
    font-size: 1.75rem; 
  }
}