/* Life Harmony Hub Arabic Modern Theme */
:root {
  --primary: #e11d48;
  --primary-hover: #be123c;
  --bg-body: #fff1f2;
  --bg-surface: #ffffff;
  --bg-subtle: #ffe4e6;
  --text-primary: #1f2937;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;
  --border-color: #fecdd3;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(225,29,72,0.12);
  --radius-md: 12px;
  --radius-lg: 18px;
}

[data-theme="dark"] {
  --primary: #fb7185;
  --bg-body: #111827;
  --bg-surface: #1f2937;
  --bg-subtle: #374151;
  --text-primary: #f9fafb;
  --text-secondary: #d1d5db;
  --text-muted: #9ca3af;
  --border-color: #374151;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Cairo', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.8;
  direction: rtl;
  transition: background-color 0.3s, color 0.3s;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 68px;
}
.logo-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.btn-icon {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.main-content { padding: 2.5rem 0 4rem 0; }

.badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}
.badge-primary {
  background: rgba(225, 29, 72, 0.1);
  color: var(--primary);
  border: 1px solid rgba(225, 29, 72, 0.2);
}
.badge-secondary { background: var(--bg-subtle); color: var(--text-muted); }

.article-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.8rem;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 768px) { .article-wrapper { padding: 1.3rem; } }

.article-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.4;
  margin: 1rem 0;
  color: var(--text-primary);
}

.grid-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 2.5rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}
