/* ===== Meski Blog — Style global des articles (classes .mdf-*) ===== */

.mdf * { box-sizing: border-box; margin: 0; padding: 0; }
.mdf {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  color: #1C1A16;
  line-height: 1.85;
  max-width: 100%;
  background: #FAF8F3;
}
.mdf h1, .mdf h2, .mdf h3, .mdf h4 { font-family: 'Bodoni Moda', serif; font-weight: 600; line-height: 1.3; color: #14120F; }
.mdf[dir="rtl"] { font-family: 'IBM Plex Sans Arabic', sans-serif; line-height: 2; direction: rtl; }
.mdf[dir="rtl"] h1, .mdf[dir="rtl"] h2, .mdf[dir="rtl"] h3, .mdf[dir="rtl"] h4 { font-family: 'Amiri', serif; font-weight: 700; line-height: 1.5; }
.mdf em { font-style: normal; color: #A9863E; }

.mdf-hero { background-color: #14120F !important; background-size: cover; background-position: center; padding: 64px 32px; margin-bottom: 40px; text-align: center; }
.mdf-hero-badge { display: inline-block; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: #C9A96A; padding-bottom: 12px; border-bottom: 1px solid #C9A96A; margin-bottom: 24px; }
.mdf-hero-title { font-family: 'Bodoni Moda', serif; font-weight: 600; line-height: 1.3; color: #FAF8F3; font-size: 30px; margin-bottom: 16px; }
.mdf[dir="rtl"] .mdf-hero-title { font-family: 'Amiri', serif; font-weight: 700; line-height: 1.5; }
.mdf-hero-sub { color: #B8B2A4; font-size: 15px; font-weight: 300; max-width: 480px; margin: 0 auto; line-height: 1.9; }
.mdf-hero-meta { display: flex; justify-content: center; gap: 22px; margin-top: 26px; flex-wrap: wrap; }
.mdf-hero-meta span { color: #A39C87; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }

.mdf-cover-photo { margin: 0 0 36px; }
.mdf-cover-photo img { width: 100%; height: auto; display: block; }

.mdf-intro { font-size: 17px; font-weight: 300; color: #3A362E; margin: 30px 0; line-height: 1.95; }
.mdf-intro strong { font-weight: 500; color: #14120F; }

.mdf-s { margin: 38px 0; }
.mdf-s h2 { font-size: 23px; margin-bottom: 16px; position: relative; padding-bottom: 14px; }
.mdf-s h2::after { content: ''; position: absolute; bottom: 0; inset-inline-start: 0; width: 36px; height: 1px; background: #A9863E; }
.mdf-s h3 { font-size: 18px; margin: 20px 0 8px; }
.mdf-s p { margin-bottom: 14px; font-size: 15px; color: #3A362E; }
.mdf-s ul { margin: 14px 0; padding-inline-start: 18px; }
.mdf-s li { margin-bottom: 8px; font-size: 15px; color: #3A362E; }

.mdf-alert { border-top: 1px solid #DCD5C4; border-bottom: 1px solid #DCD5C4; padding: 20px 0; margin: 30px 0; text-align: center; }
.mdf-alert h4 { font-family: 'Jost', sans-serif; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #A9863E; font-weight: 500; margin-bottom: 8px; }
.mdf[dir="rtl"] .mdf-alert h4 { font-family: 'IBM Plex Sans Arabic', sans-serif; letter-spacing: 0.5px; }
.mdf-alert p { font-size: 14px; color: #3A362E; max-width: 480px; margin: 0 auto; }

.mdf-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin: 36px 0; text-align: center; }
.mdf-stat .num { font-family: 'Bodoni Moda', serif; font-size: 30px; color: #14120F; font-weight: 500; }
.mdf[dir="rtl"] .mdf-stat .num { font-family: 'Amiri', serif; }
.mdf-stat .num::after { content: ''; display: block; width: 22px; height: 1px; background: #A9863E; margin: 8px auto; }
.mdf-stat .label { font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: #6E6858; }

.mdf-countries { margin: 32px 0; }
.mdf-country { border-bottom: 1px solid #DCD5C4; padding: 18px 0; }
.mdf-country:first-child { border-top: 1px solid #DCD5C4; }
.mdf-country-flag { margin-bottom: 6px; }
.mdf-country-flag .name { font-family: 'Bodoni Moda', serif; font-size: 17px; color: #14120F; }
.mdf[dir="rtl"] .mdf-country-flag .name { font-family: 'Amiri', serif; }
.mdf-country-flag .name::before { content: '\25c6 '; color: #A9863E; font-size: 8px; }
.mdf-country-body p { font-size: 14px; color: #55503F; margin-bottom: 8px; }
.mdf-country-tags { display: flex; gap: 14px; flex-wrap: wrap; }
.mdf-country-tag { font-size: 10px; letter-spacing: 0.5px; text-transform: uppercase; color: #A9863E; }

.mdf-table { width: 100%; border-collapse: collapse; margin: 30px 0; font-size: 13px; }
.mdf-table th { border-bottom: 1px solid #14120F; padding: 8px 12px; text-align: start; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 500; color: #14120F; }
.mdf-table td { padding: 10px 12px; border-bottom: 1px solid #E5E0D3; color: #3A362E; }
.mdf-table td.good { color: #4A6B3F; font-weight: 500; }
.mdf-table td.warn { color: #A9863E; font-weight: 500; }
.mdf-table td.bad { color: #9B4A3A; font-weight: 500; }

.mdf-tip { border-inline-start: 1px solid #A9863E; padding: 2px 0 2px 16px; margin: 24px 0; font-size: 13.5px; color: #3A362E; font-style: italic; }
.mdf[dir="rtl"] .mdf-tip { font-style: normal; }

.mdf-fake-steps { margin: 28px 0; }
.mdf-fake-step { display: flex; gap: 16px; margin-bottom: 22px; align-items: baseline; }
.mdf-fake-num { font-family: 'Bodoni Moda', serif; font-size: 20px; color: #A9863E; flex-shrink: 0; width: 28px; }
.mdf[dir="rtl"] .mdf-fake-num { font-family: 'Amiri', serif; }
.mdf-fake-step h4 { font-size: 14px; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; font-family: 'Jost', sans-serif; font-weight: 500; }
.mdf[dir="rtl"] .mdf-fake-step h4 { font-family: 'IBM Plex Sans Arabic', sans-serif; text-transform: none; }
.mdf-fake-step p { font-size: 13.5px; color: #55503F; }

.mdf-engagement { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin: 34px 0; text-align: center; }
.mdf-engage-item h4 { font-family: 'Jost', sans-serif; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; font-weight: 500; margin-bottom: 6px; }
.mdf[dir="rtl"] .mdf-engage-item h4 { font-family: 'IBM Plex Sans Arabic', sans-serif; text-transform: none; }
.mdf-engage-item h4::before { content: '\25c6'; display: block; color: #A9863E; font-size: 8px; margin-bottom: 10px; }
.mdf-engage-item p { font-size: 12px; color: #6E6858; line-height: 1.7; }

.mdf-cta { border: 1px solid #14120F; padding: 36px 28px; margin: 40px 0; text-align: center; }
.mdf-cta h3 { font-size: 19px; margin-bottom: 10px; }
.mdf-cta p { color: #55503F; font-size: 13.5px; margin-bottom: 22px; }
.mdf-cta-tags { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.mdf-cta-tag { font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: #A9863E; text-decoration: none; }
.mdf-cta-btn { display: inline-block; background: #14120F; color: #FAF8F3; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; padding: 14px 34px; text-decoration: none; }
.mdf[dir="rtl"] .mdf-cta-tag, .mdf[dir="rtl"] .mdf-cta-btn { text-transform: none; }

.mdf-faq-header { text-align: center; margin: 48px 0 24px; }
.mdf-faq-header .badge { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #A9863E; display: block; margin-bottom: 8px; }
.mdf[dir="rtl"] .mdf-faq-header .badge { text-transform: none; }
.mdf-faq { border-bottom: 1px solid #DCD5C4; }
.mdf-faq:first-of-type { border-top: 1px solid #DCD5C4; }
.mdf-faq-q { width: 100%; text-align: start; background: none; border: none; padding: 18px 0; font-family: 'Jost', sans-serif; font-weight: 400; font-size: 14px; cursor: pointer; display: flex; justify-content: space-between; color: #14120F; }
.mdf[dir="rtl"] .mdf-faq-q { font-family: 'IBM Plex Sans Arabic', sans-serif; }
.mdf-faq-q .chev { color: #A9863E; font-weight: 300; font-size: 16px; }
.mdf-faq-a { display: none; padding: 0 0 18px; font-size: 13.5px; color: #55503F; }

.mdf-footer { border-top: 1px solid #DCD5C4; padding-top: 24px; margin-top: 40px; text-align: center; }
.mdf-footer-logo { font-family: 'Bodoni Moda', serif; font-size: 18px; letter-spacing: 1.5px; color: #14120F; margin-bottom: 8px; }
.mdf[dir="rtl"] .mdf-footer-logo { font-family: 'Amiri', serif; letter-spacing: 0; }
.mdf-footer p { font-size: 11px; color: #8A8470; max-width: 440px; margin: 0 auto; line-height: 1.8; }

@media (max-width: 600px) {
  .mdf-hero { padding: 44px 22px; }
  .mdf-hero h1 { font-size: 24px; }
  .mdf-stats, .mdf-engagement { grid-template-columns: 1fr; gap: 22px; }
  .mdf-table th, .mdf-table td { padding: 8px; font-size: 12px; }
}
