/*
  Muawiyah Magazine — Post Article Styles
  CSS spécial pour les articles (posts) du magazine
  Direction: RTL | Palette: Vert (#0b4f40) + Or (#d4af37)
*/

:root {
  --mu-green: #0b4f40;
  --mu-gold: #d4af37;
  --mu-text: #1a1a1a;
  --mu-muted: #555;
  --mu-bg: #fbfbf8;
  --mu-paper: #fff;
  --mu-border: rgba(11,79,64,.18);
  --mu-font: "Amiri", "Noto Naskh Arabic", serif;
  --mu-sans: "Tajawal", "Cairo", sans-serif;
  --mu-radius: 12px;
  --mu-max: 900px;
}

/* ═══════════════════════════════════════════════════════
   BASE ARTICLE CONTAINER
   ═══════════════════════════════════════════════════════ */
.mu-article {
  font-family: var(--mu-font);
  direction: rtl;
  text-align: right;
  line-height: 2.2;
  color: var(--mu-text);
  background: var(--mu-bg);
  padding: 32px;
  margin: 0 auto;
  max-width: var(--mu-max);
  box-sizing: border-box;
}

/* ═══════════════════════════════════════════════════════
   HEADER & TITLES
   ═══════════════════════════════════════════════════════ */
.mu-header h1 {
  margin: 0 0 12px 0;
  font-weight: 900;
  color: var(--mu-green);
  font-size: 38px;
  letter-spacing: .3px;
  line-height: 1.5;
}

.mu-byline {
  margin: 0 0 18px 0;
  color: var(--mu-muted);
  font-size: 17px;
  font-family: var(--mu-sans);
  font-weight: 500;
  line-height: 1.7;
}

.mu-lead {
  font-size: 21px;
  margin: 20px 0;
  line-height: 2.3;
  color: var(--mu-text);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════
   DIVIDERS
   ═══════════════════════════════════════════════════════ */
.mu-divider {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--mu-gold), transparent);
  margin: 28px 0;
  opacity: 0.7;
}

/* ═══════════════════════════════════════════════════════
   BODY CONTENT
   ═══════════════════════════════════════════════════════ */
.mu-body h2 {
  color: var(--mu-green);
  font-weight: 900;
  font-size: 30px;
  margin: 46px 0 18px;
  padding-right: 14px;
  border-right: 6px solid var(--mu-gold);
  line-height: 1.6;
}

.mu-body h3 {
  color: var(--mu-green);
  font-weight: 800;
  font-size: 24px;
  margin: 32px 0 12px;
  line-height: 1.6;
}

.mu-body h4 {
  color: var(--mu-green);
  font-weight: 700;
  font-size: 20px;
  margin: 24px 0 10px;
}

.mu-body p {
  margin: 20px 0;
  font-size: 19px;
  line-height: 2.2;
}

.mu-body strong {
  font-weight: 800;
  color: var(--mu-green);
}

.mu-body em {
  font-style: italic;
  color: var(--mu-muted);
}

.mu-body mark {
  background: rgba(212,175,55,.2);
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════
   OUTLINE BOX (خطة المقال)
   ═══════════════════════════════════════════════════════ */
.mu-outline {
  border: 1px solid var(--mu-border);
  border-radius: var(--mu-radius);
  padding: 20px 24px;
  background: var(--mu-paper);
  margin: 24px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.mu-outline-title {
  margin: 0 0 12px 0;
  font-size: 22px;
  color: var(--mu-green);
  font-weight: 900;
  border: none !important;
  padding: 0 !important;
  font-family: var(--mu-sans);
}

.mu-outline ul {
  margin: 0;
  padding-right: 28px;
  line-height: 2;
}

.mu-outline li {
  margin: 8px 0;
  font-size: 18px;
  font-family: var(--mu-sans);
}

/* ═══════════════════════════════════════════════════════
   CALLOUT (إبراز / تنبيه)
   ═══════════════════════════════════════════════════════ */
.mu-callout {
  margin: 26px 0;
  padding: 18px 22px;
  border: 1px solid var(--mu-border);
  border-right: 6px solid var(--mu-gold);
  border-radius: var(--mu-radius);
  background: var(--mu-paper);
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

.mu-callout p {
  margin: 0;
  font-size: 18px;
  line-height: 2.1;
}

/* Variante: Alerte historique */
.mu-callout.warning {
  border-right-color: #d32f2f;
  background: #fff8f8;
}

.mu-callout.info {
  border-right-color: #0088cc;
  background: #f7fcff;
}

/* ═══════════════════════════════════════════════════════
   TABLES (جداول)
   ═══════════════════════════════════════════════════════ */
.mu-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 24px 0;
  background: var(--mu-paper);
  border: 1px solid var(--mu-border);
  border-radius: var(--mu-radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  font-family: var(--mu-sans);
}

.mu-table th,
.mu-table td {
  padding: 16px 18px;
  vertical-align: top;
  border-bottom: 1px solid rgba(0,0,0,.06);
  font-size: 17px;
  text-align: right;
}

.mu-table thead th {
  background: rgba(212,175,55,.16);
  color: var(--mu-green);
  font-weight: 900;
  font-size: 18px;
  border-bottom: 2px solid var(--mu-gold);
}

.mu-table tbody tr:last-child td {
  border-bottom: none;
}

.mu-table tbody tr:hover {
  background: rgba(11,79,64,.03);
}

/* Tableau avec colonnes alternées */
.mu-table tbody tr:nth-child(even) {
  background: rgba(0,0,0,.015);
}

/* ═══════════════════════════════════════════════════════
   HADITH DISPLAY (متن حديث / سند حديث)
   ═══════════════════════════════════════════════════════ */
.mu-hadith {
  margin: 28px 0;
  padding: 22px 26px;
  background: linear-gradient(135deg, #f9fdf8 0%, #fff 100%);
  border: 2px solid var(--mu-border);
  border-radius: var(--mu-radius);
  position: relative;
  box-shadow: 0 3px 12px rgba(11,79,64,.08);
}

.mu-hadith::before {
  content: '📜';
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 28px;
  opacity: 0.3;
}

/* Chaîne de transmission (السند) */
.mu-sanad {
  font-size: 16px;
  color: var(--mu-muted);
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--mu-border);
  line-height: 2;
  font-style: italic;
}

.mu-sanad strong {
  color: var(--mu-green);
  font-weight: 700;
}

/* Texte du hadith (المتن) */
.mu-matn {
  font-size: 20px;
  font-weight: 600;
  color: var(--mu-text);
  line-height: 2.4;
  margin: 0;
  font-family: var(--mu-font);
}

.mu-matn::before {
  content: '« ';
  color: var(--mu-gold);
  font-size: 28px;
  font-weight: 900;
}

.mu-matn::after {
  content: ' »';
  color: var(--mu-gold);
  font-size: 28px;
  font-weight: 900;
}

/* Degré d'authenticité */
.mu-hadith-grade {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--mu-border);
  font-size: 15px;
  color: var(--mu-muted);
  font-family: var(--mu-sans);
}

.mu-hadith-grade strong {
  color: #2e7d32;
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════
   QURANIC VERSE (آية)
   ═══════════════════════════════════════════════════════ */
.mu-ayah {
  margin: 28px 0;
  padding: 24px 28px;
  background: linear-gradient(135deg, #fffdf8 0%, #fff 100%);
  border: 2px solid rgba(212,175,55,.3);
  border-radius: var(--mu-radius);
  text-align: center;
  position: relative;
  box-shadow: 0 4px 16px rgba(212,175,55,.12);
}

.mu-ayah::before {
  content: '﴿';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  color: var(--mu-gold);
  opacity: 0.5;
}

.mu-ayah::after {
  content: '﴾';
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  color: var(--mu-gold);
  opacity: 0.5;
}

.mu-ayah-text {
  font-size: 24px;
  font-weight: 700;
  line-height: 2.6;
  color: var(--mu-green);
  margin: 0 0 12px 0;
  font-family: var(--mu-font);
}

.mu-ayah-ref {
  font-size: 16px;
  color: var(--mu-muted);
  font-family: var(--mu-sans);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════
   FOOTNOTES (هوامش وتوثيق)
   ═══════════════════════════════════════════════════════ */
.mu-footnotes {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 3px double var(--mu-border);
  font-size: 16px;
  line-height: 2;
  color: var(--mu-muted);
}

.mu-footnotes h3,
.mu-footnotes h4 {
  font-size: 20px;
  color: var(--mu-green);
  margin: 0 0 16px 0;
  font-weight: 900;
  font-family: var(--mu-sans);
}

.mu-footnotes ol {
  padding-right: 28px;
  margin: 0;
}

.mu-footnotes li {
  margin: 12px 0;
  font-size: 16px;
  line-height: 2;
}

.mu-footnotes a {
  color: var(--mu-green);
  text-decoration: none;
  border-bottom: 1px solid var(--mu-gold);
  transition: all 0.3s ease;
}

.mu-footnotes a:hover {
  color: var(--mu-gold);
  border-bottom-color: var(--mu-green);
}

/* Retour de note (↩) */
.mu-footnotes .footnote-backref {
  margin-right: 6px;
  text-decoration: none;
  border: none;
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════
   HISTORICAL ALERT BOX (تنبيه تاريخي ضروري)
   ═══════════════════════════════════════════════════════ */
.mu-historical-alert {
  margin: 32px 0;
  padding: 24px 28px;
  background: linear-gradient(135deg, #fff8f0 0%, #fffdf8 100%);
  border: 2px solid rgba(212,175,55,.4);
  border-right: 8px solid var(--mu-gold);
  border-radius: var(--mu-radius);
  box-shadow: 0 4px 16px rgba(212,175,55,.15);
}

.mu-historical-alert h4 {
  margin: 0 0 14px 0;
  color: var(--mu-gold);
  font-size: 22px;
  font-weight: 900;
  font-family: var(--mu-sans);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mu-historical-alert h4::before {
  content: '⚠️';
  font-size: 24px;
}

.mu-historical-alert p {
  margin: 12px 0;
  font-size: 18px;
  line-height: 2.2;
  color: var(--mu-text);
}

/* ═══════════════════════════════════════════════════════
   IMAGES & FIGURES
   ═══════════════════════════════════════════════════════ */
.mu-feature {
  margin: 28px 0;
  background: var(--mu-paper);
  border: 1px solid var(--mu-border);
  border-radius: var(--mu-radius);
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(0,0,0,.06);
}

.mu-feature img,
.mu-figure img {
  width: 100%;
  display: block;
  height: auto;
}

.mu-feature figcaption {
  padding: 14px 18px;
  color: var(--mu-muted);
  font-size: 15px;
  font-family: var(--mu-sans);
  background: rgba(0,0,0,.02);
}

.mu-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.mu-figure {
  margin: 0;
  background: var(--mu-paper);
  border: 1px solid var(--mu-border);
  border-radius: var(--mu-radius);
  overflow: hidden;
}

.mu-figure figcaption {
  padding: 12px 16px;
  font-size: 15px;
  color: var(--mu-muted);
  border-top: 1px solid rgba(0,0,0,.06);
  font-family: var(--mu-sans);
}

/* ═══════════════════════════════════════════════════════
   CTA & CONCLUSION
   ═══════════════════════════════════════════════════════ */
.mu-cta {
  margin: 32px 0 12px;
  padding: 20px 24px;
  border-radius: var(--mu-radius);
  background: rgba(11,79,64,.06);
  border: 1px solid var(--mu-border);
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}

.mu-cta h3 {
  margin: 0 0 12px 0;
  color: var(--mu-green);
  font-size: 22px;
  font-weight: 900;
  font-family: var(--mu-sans);
}

.mu-cta p {
  margin: 0;
  font-size: 18px;
  line-height: 2.1;
}

/* ═══════════════════════════════════════════════════════
   LISTS
   ═══════════════════════════════════════════════════════ */
.mu-body ul,
.mu-body ol {
  margin: 20px 0;
  padding-right: 32px;
}

.mu-body li {
  margin: 10px 0;
  font-size: 18px;
  line-height: 2.2;
}

/* Liste à puces spéciale */
.mu-body ul li::marker {
  color: var(--mu-gold);
  font-weight: 900;
}

/* ═══════════════════════════════════════════════════════
   BLOCKQUOTE
   ═══════════════════════════════════════════════════════ */
.mu-body blockquote {
  margin: 24px 0;
  padding: 18px 24px;
  border-right: 5px solid var(--mu-gold);
  background: rgba(11,79,64,.04);
  border-radius: var(--mu-radius);
  font-style: italic;
  color: var(--mu-text);
}

.mu-body blockquote p {
  margin: 8px 0;
}

/* ═══════════════════════════════════════════════════════
   LINKS
   ═══════════════════════════════════════════════════════ */
.mu-body a {
  color: var(--mu-green);
  text-decoration: none;
  border-bottom: 2px solid var(--mu-gold);
  padding-bottom: 2px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.mu-body a:hover {
  color: var(--mu-gold);
  border-bottom-color: var(--mu-green);
}

/* ═══════════════════════════════════════════════════════
   IMAGES & MEDIA (Enhanced)
   ═══════════════════════════════════════════════════════ */

/* Single Image Centered (50% width) */
.mu-image-single {
  max-width: 50%;
  margin: 40px auto;
  padding: 0 20px;
}

.mu-image-single figure {
  margin: 0;
  text-align: center;
  background: var(--mu-paper);
  border-radius: var(--mu-radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--mu-border);
}

.mu-image-single figure:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Double Images Grid */
.mu-image-double {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 40px auto;
  max-width: 85%;
  padding: 0 20px;
}

.mu-image-double figure {
  margin: 0;
  background: var(--mu-paper);
  border-radius: var(--mu-radius);
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0,0,0,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--mu-border);
}

.mu-image-double figure:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* Triple Images Grid */
.mu-image-triple {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px auto;
  max-width: 95%;
  padding: 0 20px;
}

.mu-image-triple figure {
  margin: 0;
  background: var(--mu-paper);
  border-radius: var(--mu-radius);
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0,0,0,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--mu-border);
}

.mu-image-triple figure:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* Image Element */
.mu-image-single img,
.mu-image-double img,
.mu-image-triple img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* Clickable Image (Zoom) */
.mu-clickable-image {
  cursor: zoom-in;
  transition: opacity 0.3s ease;
}

.mu-clickable-image:hover {
  opacity: 0.9;
}

/* Image Source Link */
.mu-image-source {
  padding: 14px 18px;
  background: rgba(11,79,64,0.04);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.mu-image-source a {
  color: var(--mu-green);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--mu-sans);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.mu-image-source a:hover {
  color: var(--mu-gold);
  text-decoration: none;
}

/* Image Caption */
.mu-image-single figcaption,
.mu-image-double figcaption,
.mu-image-triple figcaption {
  padding: 16px 20px;
  font-size: 16px;
  color: var(--mu-muted);
  line-height: 2;
  text-align: center;
  background: rgba(0,0,0,0.02);
  font-family: var(--mu-sans);
}

/* ═══════════════════════════════════════════════════════
   IMAGE MODAL (Popup Zoom)
   ═══════════════════════════════════════════════════════ */
.mu-modal {
  display: none;
  position: fixed;
  z-index: 99999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.95);
  cursor: zoom-out;
  backdrop-filter: blur(5px);
}

.mu-modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 85vh;
  animation: muZoomIn 0.3s ease;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

@keyframes muZoomIn {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.mu-modal-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 50px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  z-index: 100000;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.mu-modal-close:hover,
.mu-modal-close:focus {
  color: var(--mu-gold);
  transform: rotate(90deg);
}

.mu-modal-caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 20px 0;
  font-size: 17px;
  font-family: var(--mu-sans);
}

/* ═══════════════════════════════════════════════════════
   YOUTUBE VIDEO EMBED
   ═══════════════════════════════════════════════════════ */
.mu-video-wrapper {
  max-width: 85%;
  margin: 40px auto;
  padding: 0 20px;
}

.mu-video-wrapper h3 {
  text-align: center;
  color: var(--mu-green);
  font-size: 24px;
  font-weight: 900;
  margin: 0 0 20px 0;
  font-family: var(--mu-sans);
}

.mu-video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: var(--mu-radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  background: var(--mu-paper);
  border: 2px solid var(--mu-border);
}

.mu-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--mu-radius);
}

/* Video Caption */
.mu-video-caption {
  margin-top: 16px;
  text-align: center;
  font-size: 16px;
  color: var(--mu-muted);
  font-family: var(--mu-sans);
  line-height: 2;
}

/* ═══════════════════════════════════════════════════════
   DARK MODE SUPPORT
   ═══════════════════════════════════════════════════════ */
@media (prefers-color-scheme: dark) {
  .mu-article {
    --mu-text: #e8e8e8;
    --mu-muted: #aaa;
    --mu-bg: #1a1a1a;
    --mu-paper: #2a2a2a;
    --mu-border: rgba(212,175,55,.2);
  }

  .mu-image-single figure,
  .mu-image-double figure,
  .mu-image-triple figure {
    background: var(--mu-paper);
    border-color: var(--mu-border);
  }

  .mu-image-source {
    background: rgba(11,79,64,0.15);
  }

  .mu-image-single figcaption,
  .mu-image-double figcaption,
  .mu-image-triple figcaption {
    background: rgba(255,255,255,0.03);
    color: var(--mu-muted);
  }

  .mu-video-container {
    background: var(--mu-paper);
    border-color: var(--mu-border);
  }

  .mu-callout {
    background: var(--mu-paper);
  }

  .mu-outline {
    background: var(--mu-paper);
  }

  .mu-hadith {
    background: linear-gradient(135deg, rgba(11,79,64,.1) 0%, rgba(0,0,0,.2) 100%);
  }

  .mu-ayah {
    background: linear-gradient(135deg, rgba(212,175,55,.1) 0%, rgba(0,0,0,.2) 100%);
  }

  .mu-historical-alert {
    background: linear-gradient(135deg, rgba(212,175,55,.15) 0%, rgba(0,0,0,.2) 100%);
  }

  .mu-table {
    background: var(--mu-paper);
  }

  .mu-table thead th {
    background: rgba(212,175,55,.2);
  }

  .mu-table tbody tr:nth-child(even) {
    background: rgba(255,255,255,.02);
  }

  .mu-table tbody tr:hover {
    background: rgba(11,79,64,.1);
  }

  .mu-cta {
    background: rgba(11,79,64,.12);
  }
}

/* Manual Dark Mode Class */
body.dark-mode .mu-article,
.dark-mode .mu-article {
  --mu-text: #e8e8e8;
  --mu-muted: #aaa;
  --mu-bg: #1a1a1a;
  --mu-paper: #2a2a2a;
  --mu-border: rgba(212,175,55,.2);
}

body.dark-mode .mu-image-single figure,
body.dark-mode .mu-image-double figure,
body.dark-mode .mu-image-triple figure,
.dark-mode .mu-image-single figure,
.dark-mode .mu-image-double figure,
.dark-mode .mu-image-triple figure {
  background: var(--mu-paper);
  border-color: var(--mu-border);
}

body.dark-mode .mu-image-source,
.dark-mode .mu-image-source {
  background: rgba(11,79,64,0.15);
}

body.dark-mode .mu-video-container,
.dark-mode .mu-video-container {
  background: var(--mu-paper);
  border-color: var(--mu-border);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE - IMAGES & VIDEO
   ═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .mu-image-single {
    max-width: 80%;
  }

  .mu-image-double {
    grid-template-columns: 1fr;
    max-width: 90%;
    gap: 20px;
  }

  .mu-image-triple {
    grid-template-columns: 1fr;
    max-width: 90%;
    gap: 18px;
  }

  .mu-video-wrapper {
    max-width: 95%;
  }

  .mu-video-wrapper h3 {
    font-size: 20px;
  }

  .mu-modal-close {
    font-size: 40px;
    top: 15px;
    right: 25px;
  }

  .mu-modal-caption {
    font-size: 15px;
  }

  .mu-image-source a {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .mu-image-single {
    max-width: 95%;
    padding: 0 10px;
  }

  .mu-image-double,
  .mu-image-triple {
    max-width: 95%;
    padding: 0 10px;
  }

  .mu-video-wrapper {
    max-width: 100%;
    padding: 0 10px;
  }

  .mu-video-wrapper h3 {
    font-size: 18px;
  }

  .mu-modal-close {
    font-size: 35px;
    top: 10px;
    right: 20px;
  }

  .mu-modal-content {
    max-width: 95%;
  }

  .mu-image-single figcaption,
  .mu-image-double figcaption,
  .mu-image-triple figcaption {
    font-size: 14px;
    padding: 12px 15px;
  }

  .mu-image-source {
    padding: 12px 15px;
  }

  .mu-image-source a {
    font-size: 13px;
  }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .mu-article {
    padding: 20px;
  }

  .mu-header h1 {
    font-size: 28px;
  }

  .mu-body h2 {
    font-size: 24px;
    padding-right: 12px;
    border-right-width: 4px;
  }

  .mu-body h3 {
    font-size: 20px;
  }

  .mu-body p {
    font-size: 18px;
  }

  .mu-lead {
    font-size: 19px;
  }

  .mu-gallery {
    grid-template-columns: 1fr;
  }

  .mu-ayah-text {
    font-size: 20px;
  }

  .mu-matn {
    font-size: 18px;
  }

  .mu-table {
    font-size: 15px;
  }

  .mu-table th,
  .mu-table td {
    padding: 12px 14px;
  }
}

/* ═══════════════════════════════════════════════════════
   PRINT STYLES
   ═══════════════════════════════════════════════════════ */
@media print {
  .mu-article {
    background: white;
    padding: 0;
  }

  .mu-divider {
    background: #999;
    opacity: 1;
  }

  .mu-body a {
    color: black;
    text-decoration: underline;
  }

  .mu-callout,
  .mu-outline,
  .mu-historical-alert {
    border-color: #999;
    box-shadow: none;
  }
}
