/*
Theme Name: Circassian Flag Heritage Theme
Theme URI: https://qalbaq.net/theme
Description: A premium, fast-loading, mobile-responsive bilingual theme designed for the Diwan of Circassians of Amman. Reflects cultural heritage with bespoke green accents and elegant typography for both Arabic and English.
Author: Khaled Lukasha
Author URI: https://qalbaq.net
Version: 1.0.0
License: GNU GPLv2 or later
Text Domain: qalbaq-heritage
Tags: translation-ready, rtl-language-support, custom-colors, custom-menu, two-columns, grid-layout, bento-design

This stylesheet defines modern responsive layouts for the Amman Diwan portal.
*/

:root {
  --primary-color: #1B2B23;
  --secondary-color: #E5E0D5;
  --accent-color: #D4AF37;
  --font-arabic: 'Cairo', sans-serif;
  --font-english: 'Space Grotesk', sans-serif;
  --container-max-width: 1200px;
}

body {
  font-family: var(--font-english);
  background-color: #f9fafb;
  color: #111827;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

body.rtl {
  font-family: var(--font-arabic);
}

.theme-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Brand Banner */
.site-header {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 2rem 0;
  border-bottom: 4px solid var(--accent-color);
}

.site-brand-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.05em;
}

/* Grid & Layout System (bento) */
.posts-grid {
  display: grid;
  gap: 2rem;
  margin: 3rem 0;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.post-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  border: 1px solid #e5e7eb;
  transition: transform 0.2s, box-shadow 0.2s;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.post-card-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.post-card-content {
  padding: 1.5rem;
}

.post-category {
  color: var(--accent-color);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.post-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 0.5rem 0;
}

.post-excerpt {
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.5rem;
}

/* Sidebar Styling */
.theme-sidebar {
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  margin-top: 3rem;
}

.widget-title {
  color: var(--primary-color);
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}
