/* ==========================================================================
   MUSLIM-TH MODERN DESIGN SYSTEM
   Theme: Luxury Islamic Emerald & Royal Gold with Contemporary Minimalism
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Prompt:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Sarabun:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* Color Palette */
  --primary: #0A3D28;
  --primary-light: #115E3E;
  --primary-dark: #062618;
  --primary-glow: rgba(16, 94, 62, 0.2);

  --gold: #C69224;
  --gold-light: #E5B854;
  --gold-dark: #9A6F14;
  --gold-glow: rgba(198, 146, 36, 0.25);

  --accent-cyan: #0E8388;
  --accent-blue: #1A5F7A;

  --bg-main: #F7FAF8;
  --bg-card: #FFFFFF;
  --bg-card-glass: rgba(255, 255, 255, 0.88);
  --bg-subtle: #EDF3EF;

  --text-main: #1C2826;
  --text-muted: #5C6E67;
  --text-light: #94A39D;
  --text-white: #FFFFFF;

  --border: #E1EBE5;
  --border-light: rgba(255, 255, 255, 0.35);

  --shadow-sm: 0 2px 8px rgba(10, 61, 40, 0.04);
  --shadow-md: 0 6px 20px rgba(10, 61, 40, 0.08);
  --shadow-lg: 0 14px 35px rgba(10, 61, 40, 0.12);
  --shadow-gold: 0 8px 25px rgba(198, 146, 36, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Prompt', 'Sarabun', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Arabic Text Styling */
.arabic, [lang="ar"], .quran-verse, .hadith-arabic {
  font-family: 'Amiri', serif;
  direction: rtl;
  font-size: 1.45rem;
  line-height: 2.2;
  color: var(--primary-dark);
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--gold);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #064e3b 0%, #047857 50%, #0f766e 100%);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all var(--transition-fast);
}

.top-bar {
  background: var(--primary-dark);
  border-bottom: 1px solid rgba(198, 146, 36, 0.25);
  padding: 0.4rem 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-links a {
  color: rgba(255, 255, 255, 0.85);
  margin-left: 1rem;
  transition: color var(--transition-fast);
}
.top-bar-links a:hover {
  color: var(--gold-light);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--text-white);
  font-weight: 700;
  font-size: 1.45rem;
}

.brand-logo:hover {
  color: var(--text-white);
}

.logo-badge {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
  color: #fff;
  font-size: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-size: 1.25rem;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.brand-tagline {
  font-size: 0.75rem;
  color: var(--gold-light);
  font-weight: 400;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  padding: 0.55rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--gold-light);
}

.nav-link-special {
  background: linear-gradient(135deg, rgba(198, 146, 36, 0.25), rgba(198, 146, 36, 0.1));
  border: 1px solid var(--gold);
  color: var(--gold-light);
}
.nav-link-special:hover {
  background: var(--gold);
  color: #fff;
  box-shadow: var(--shadow-gold);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-login {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.btn-login:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.user-menu-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
}
.user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* ==========================================================================
   HERO BANNER
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #0E4B31 100%);
  color: var(--text-white);
  padding: 4.5rem 0 4rem;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.05;
  background-image: radial-gradient(#C69224 2px, transparent 2px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-bismillah {
  font-family: 'Amiri', serif;
  font-size: 2.2rem;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
  letter-spacing: 1px;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-search-box {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.45rem;
  border-radius: var(--radius-full);
  display: flex;
  max-width: 620px;
  margin: 0 auto 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.hero-search-box input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.75rem 1.25rem;
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
}
.hero-search-box input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.hero-search-btn {
  background: var(--gold);
  border: none;
  color: #fff;
  padding: 0.75rem 1.8rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.hero-search-btn:hover {
  background: var(--gold-light);
  color: var(--primary-dark);
}

/* Portal Quick Action Cards (Quran & Hadith) */
.portal-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.portal-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  text-align: left;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: #fff;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.portal-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  color: #fff;
}

.portal-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: var(--shadow-gold);
}

.portal-info h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.portal-info p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ==========================================================================
   FEATURE / MISSION SECTION
   ========================================================================== */
.section-container {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-tag {
  display: inline-block;
  background: var(--bg-subtle);
  color: var(--primary-light);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.mission-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  text-align: center;
}

.mission-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.mission-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
}
.icon-success { background: #E8F5E9; color: #2E7D32; }
.icon-danger { background: #FFEBEE; color: #C62828; }
.icon-warning { background: #FFF8E1; color: #F57F17; }

.mission-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}
.mission-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   ARTICLE CARDS & GRID
   ========================================================================== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.85rem;
}

.article-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-light);
}

.article-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--primary-dark);
}

.article-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.article-card:hover .article-thumb {
  transform: scale(1.06);
}

.article-category-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(10, 61, 40, 0.85);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.article-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 0.65rem;
}

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.counter-badge {
  color: var(--gold-dark);
  font-weight: 600;
}

.article-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-excerpt {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
}

.read-more-link {
  font-weight: 600;
  color: var(--primary-light);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.read-more-link:hover {
  color: var(--gold);
}

/* ==========================================================================
   ARTICLE DETAIL PAGE
   ========================================================================== */
.article-header {
  background: linear-gradient(180deg, var(--bg-subtle) 0%, var(--bg-main) 100%);
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border);
}

.article-main-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.35;
  margin-bottom: 1.25rem;
}

.article-header-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  padding-bottom: 1.5rem;
}

.view-counter-pill {
  background: linear-gradient(135deg, rgba(198, 146, 36, 0.15), rgba(198, 146, 36, 0.05));
  border: 1px solid var(--gold);
  color: var(--gold-dark);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.article-content-wrap {
  padding: 3rem 0;
}

.article-featured-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-md);
  max-height: 520px;
}
.article-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-body-content {
  font-size: 1.12rem;
  line-height: 1.95;
  color: #24332D;
}

.article-body-content p {
  margin-bottom: 1.6rem;
}

.article-body-content h2, 
.article-body-content h3, 
.article-body-content h4 {
  color: var(--primary-dark);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.article-body-content blockquote {
  border-left: 4px solid var(--gold);
  padding: 1rem 1.5rem;
  background: var(--bg-subtle);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  margin: 1.8rem 0;
}

.article-body-content ul, 
.article-body-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1.6rem;
}

.article-body-content li {
  margin-bottom: 0.5rem;
}

.share-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.btn-share {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: none;
  cursor: pointer;
}
.btn-share-fb { background: #1877F2; }
.btn-share-line { background: #06C755; }
.btn-share-copy { background: var(--primary); }

/* ==========================================================================
   VISITOR STATS FOOTER BAR
   ========================================================================== */
.stats-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 2.5rem 0;
  border-top: 2px solid var(--gold);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.stat-item {
  padding: 1rem;
}
.stat-number {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.2;
}
.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.25rem;
}

/* Site Footer */
.site-footer {
  background: #04180F;
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--gold);
}

.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.6rem;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}
.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* ==========================================================================
   AUTH PAGES (LOGIN / REGISTER)
   ========================================================================== */
.auth-wrapper {
  min-height: calc(100vh - 280px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
}

.auth-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  max-width: 460px;
  width: 100%;
  padding: 2.5rem;
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}
.auth-header h2 {
  font-size: 1.75rem;
  color: var(--primary-dark);
  font-weight: 700;
}

.social-auth-btns {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  color: var(--text-main);
}
.btn-social:hover {
  background: #F8F9FA;
  box-shadow: var(--shadow-sm);
  color: var(--text-main);
}
.btn-social-google {
  border-color: #DADCE0;
}
.btn-social-facebook {
  background: #1877F2;
  color: #fff;
  border-color: #1877F2;
}
.btn-social-facebook:hover {
  background: #166FE5;
  color: #fff;
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.5rem 0;
  color: var(--text-light);
  font-size: 0.85rem;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border);
}
.auth-divider span {
  padding: 0 0.75rem;
}

.form-group {
  margin-bottom: 1.25rem;
}
.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}
.form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.btn-primary {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border: none;
  padding: 0.85rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .portal-cards {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .article-main-title {
    font-size: 1.75rem;
  }
}

/* ==========================================================================
   RICH ARTICLE CONTENT TYPOGRAPHY & INLINE IMAGES
   ========================================================================== */
.article-body-content {
  font-size: 1.12rem;
  line-height: 1.95;
  color: #24332D;
}

.article-body-content p {
  margin-bottom: 1.5rem;
}

.article-body-content strong,
.article-body-content b {
  font-weight: 700;
  color: #0E3725;
}

.article-body-content em,
.article-body-content i {
  font-style: italic;
  color: #344941;
}

.article-body-content u {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

.article-body-content h2 {
  font-size: 1.75rem;
  color: var(--primary-dark);
  font-weight: 700;
  margin: 2.5rem 0 1.25rem;
  padding-left: 1rem;
  border-left: 4px solid var(--gold);
  line-height: 1.35;
}

.article-body-content h3 {
  font-size: 1.4rem;
  color: var(--primary);
  font-weight: 600;
  margin: 2rem 0 1rem;
}

.article-body-content blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.75rem;
  background: #F4F7F5;
  border-left: 5px solid var(--primary);
  border-radius: 0 10px 10px 0;
  font-size: 1.15rem;
  font-style: italic;
  color: #1F382B;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.article-body-content .arabic-block {
  font-family: 'Amiri', 'Traditional Arabic', serif;
  font-size: 1.6rem;
  line-height: 2.4;
  direction: rtl;
  text-align: right;
  background: #FAF8F2;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  border: 1px dashed #D4AC0D;
  margin: 2.2rem 0;
  color: #143022;
  box-shadow: 0 4px 12px rgba(212, 172, 13, 0.08);
}

.article-body-content .callout-box {
  background: #EBF5FB;
  border-left: 5px solid #2980B9;
  border-radius: 0 10px 10px 0;
  padding: 1.35rem 1.75rem;
  margin: 2rem 0;
  color: #154360;
  line-height: 1.8;
}

/* Inline Images (Figures & Captions) */
.article-body-content figure.article-figure {
  margin: 2.5rem 0;
  display: block;
}

.article-body-content figure.article-figure img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(10, 61, 40, 0.1);
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.article-body-content figure.article-figure img:hover {
  transform: scale(1.01);
}

.article-body-content figure.article-figure figcaption {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
}

.article-body-content figure.figure-full {
  width: 100%;
}
.article-body-content figure.figure-center {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.article-body-content figure.figure-left {
  float: left;
  max-width: 48%;
  margin: 0.5rem 2rem 1.5rem 0;
}
.article-body-content figure.figure-right {
  float: right;
  max-width: 48%;
  margin: 0.5rem 0 1.5rem 2rem;
}

@media (max-width: 640px) {
  .article-body-content figure.figure-left,
  .article-body-content figure.figure-right {
    float: none;
    max-width: 100%;
    margin: 1.5rem 0;
  }
}

.article-body-content hr.section-break {
  border: none;
  height: 2px;
  background: radial-gradient(circle, var(--gold) 0%, rgba(255,255,255,0) 80%);
  margin: 3.5rem auto;
  width: 60%;
  position: relative;
  text-align: center;
}
.article-body-content hr.section-break:after {
  content: '☪';
  display: inline-block;
  position: relative;
  top: -14px;
  padding: 0 12px;
  background: var(--bg-card, #fff);
  color: var(--gold);
  font-size: 1.25rem;
}

