/* ═══════════════════════════════════════════════════════════════
   minister-word.css  —  كلمة الوزير  (light version)
   Fonts: Amiri (quotes/display) · Cairo (UI/body)
   ═══════════════════════════════════════════════════════════════ */

:root {
  --moif-blue-dark:   #0D1B3E;
  --moif-blue:        #1A2B4A;
  --moif-gold:        #C9A227;
  --moif-gold-bright: #F4D03F;
  --moif-white:       #FFFFFF;

  --page-bg:    #F7F5F0;
  --surface:    #FFFFFF;
  --text-dark:  #1a1a2e;
  --text-body:  #3a3a4a;
  --text-muted: #7a7a8a;
  --gold-line:  rgba(201,162,39,.25);
  --shadow-sm:  0 2px 12px rgba(13,27,62,.08);
  --shadow-md:  0 6px 32px rgba(13,27,62,.12);
}

/* ───────────────────────────────────────────────────────────────
   1. PAGE BACKGROUND
   ─────────────────────────────────────────────────────────────── */
.minister-word-page {
  background: var(--page-bg);
}

/* ───────────────────────────────────────────────────────────────
   2. HERO HEADER  (dark, eyebrow + title)
   ─────────────────────────────────────────────────────────────── */
.mw-hero {
  background-color: var(--moif-blue-dark);
  position: relative;
  padding: 72px 0 60px;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

.mw-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      135deg,
      transparent,
      transparent 48px,
      rgba(201,162,39,.03) 48px,
      rgba(201,162,39,.03) 49px
    ),
    radial-gradient(ellipse 70% 100% at 80% 50%,
      rgba(201,162,39,.06) 0%, transparent 65%);
  pointer-events: none;
}

.mw-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--moif-gold);
  margin-bottom: 16px;
  position: relative;
  opacity: 0;
  animation: mwFadeUp .55s ease forwards .05s;
}

.mw-hero-eyebrow::before,
.mw-hero-eyebrow::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--moif-gold);
  opacity: .6;
}

.mw-hero-title {
   font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--moif-white);
  line-height: 1.2;
  position: relative;
  opacity: 0;
  animation: mwFadeUp .6s ease forwards .18s;
}

.mw-hero-title span { color: var(--moif-gold); }

.mw-hero-rule {
  width: 64px;
  height: 3px;
  background: linear-gradient(to left, var(--moif-gold), var(--moif-gold-bright), transparent);
  border-radius: 2px;
  margin: 18px auto 0;
  opacity: 0;
  animation: mwFadeUp .6s ease forwards .3s;
}

/* ───────────────────────────────────────────────────────────────
   3. BREADCRUMB STRIP
   ─────────────────────────────────────────────────────────────── */
.mw-breadcrumb {
  background: var(--moif-blue);
  padding: 11px 0;
  border-bottom: 1px solid rgba(201,162,39,.12);
}

.mw-breadcrumb ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.mw-breadcrumb li {
   font-size: .78rem;
  color: rgba(255,255,255,.45);
  display: flex;
  align-items: center;
  gap: 6px;
}

.mw-breadcrumb li::after { content: '/'; opacity: .35; }
.mw-breadcrumb li:last-child::after { display: none; }

.mw-breadcrumb li a {
  color: var(--moif-gold);
  text-decoration: none;
  transition: color .2s;
}
.mw-breadcrumb li a:hover { color: var(--moif-gold-bright); }
.mw-breadcrumb li.active { color: rgba(255,255,255,.7); }

/* ───────────────────────────────────────────────────────────────
   4. PAGE CONTENT AREA
   ─────────────────────────────────────────────────────────────── */
.mw-content {
  padding: 64px 0 80px;
  background: var(--page-bg);
}

/* ───────────────────────────────────────────────────────────────
   5. INTRO CARD  (portrait + opening quote)
   ─────────────────────────────────────────────────────────────── */
.mw-intro-card {
  background: var(--surface);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 280px 1fr;
  margin-bottom: 28px;
  opacity: 0;
  animation: mwFadeUp .65s ease forwards .35s;
}

@media (max-width: 780px) {
  .mw-intro-card { grid-template-columns: 1fr; }
}

/* Portrait panel */
.mw-portrait {
  position: relative;
  background: var(--moif-blue-dark);
  overflow: hidden;
}

.mw-portrait img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.mw-portrait::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to left, var(--moif-gold-bright), var(--moif-gold));
}

/* Quote panel */
.mw-quote-panel {
  padding: 44px 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 4px solid var(--moif-gold);
}

@media (max-width: 780px) {
  .mw-quote-panel {
    border-right: none;
    border-top: 4px solid var(--moif-gold);
    padding: 32px 28px;
  }
}

.mw-quote-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--moif-gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mw-quote-label::before {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: var(--moif-gold);
}

.mw-quote-mark {
   font-size: 4.5rem;
  line-height: .8;
  color: var(--moif-gold);
  opacity: .18;
  margin-bottom: -12px;
  display: block;
}

.mw-quote-text {
   font-size: clamp(1.1rem, 2vw, 1.28rem);
  line-height: 1.95;
  color: var(--text-dark);
  margin-bottom: 28px;
}

.mw-minister-name {
   font-weight: 700;
  font-size: 1rem;
  color: var(--moif-blue-dark);
  margin-bottom: 3px;
}

.mw-minister-role {
   font-size: .82rem;
  color: var(--text-muted);
}

/* ───────────────────────────────────────────────────────────────
   6. TEXT SECTIONS
   ─────────────────────────────────────────────────────────────── */
.mw-text-section {
  background: var(--surface);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 44px 48px;
  margin-bottom: 24px;
  opacity: 0;
  animation: mwFadeUp .65s ease forwards .5s;
}

.mw-text-section:nth-child(3) { animation-delay: .62s; }
.mw-text-section:last-child   { margin-bottom: 0; }

@media (max-width: 600px) {
  .mw-text-section { padding: 28px 22px; }
}

.mw-section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}

.mw-section-label h3 {
   font-size: 1.1rem;
  font-weight: 700;
  color: var(--moif-blue-dark);
  margin: 0;
}

.mw-label-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--moif-gold);
  flex-shrink: 0;
}

.mw-label-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to left, #eee, var(--gold-line));
}

.mw-section-body p {
   font-size: .98rem;
  line-height: 2.1;
  color: var(--text-body);
  margin-bottom: 16px;
}

.mw-section-body p:last-child { margin-bottom: 0; }

/* ───────────────────────────────────────────────────────────────
   7. CLOSING SECTION  (dark card)
   ─────────────────────────────────────────────────────────────── */
.mw-closing {
  background: var(--moif-blue-dark);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 44px 48px;
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 24px;
  opacity: 0;
  animation: mwFadeUp .65s ease forwards .75s;
}

@media (max-width: 640px) {
  .mw-closing { padding: 30px 24px; gap: 28px; }
}

.mw-closing-text {
  flex: 1 1 260px;
   font-size: 1.05rem;
  line-height: 2;
  color: rgba(255,255,255,.78);
  margin: 0;
}

.mw-sig-card {
  flex: 0 0 200px;
  text-align: center;
  border: 1px solid rgba(201,162,39,.25);
  border-radius: 8px;
  padding: 22px 24px;
  background: rgba(201,162,39,.05);
}

.mw-sig-rule {
  width: 40px;
  height: 2px;
  background: linear-gradient(to left, transparent, var(--moif-gold), transparent);
  margin: 0 auto 14px;
}

.mw-sig-card strong {
  display: block;
   font-size: .95rem;
  font-weight: 700;
  color: var(--moif-gold);
  margin-bottom: 5px;
}

.mw-sig-card span {
   font-size: .76rem;
  color: rgba(255,255,255,.45);
}

/* ───────────────────────────────────────────────────────────────
   8. RTL OVERRIDES
   ─────────────────────────────────────────────────────────────── */
[dir="rtl"] .mw-quote-panel {
  border-right: none;
  border-left: 4px solid var(--moif-gold);
}

[dir="rtl"] .mw-hero-rule {
  background: linear-gradient(to right, var(--moif-gold), var(--moif-gold-bright), transparent);
}

[dir="rtl"] .mw-label-line {
  background: linear-gradient(to right, #eee, var(--gold-line));
}

/* ───────────────────────────────────────────────────────────────
   9. ANIMATIONS
   ─────────────────────────────────────────────────────────────── */
@keyframes mwFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

