@theme {
  --color-primary: #0b3152;
  --color-primary-50: #eef5f9;
  --color-primary-100: #dceaf3;
  --color-primary-500: #1c6792;
  --color-primary-600: #14557b;
  --color-primary-700: #0b4266;
  --color-primary-900: #06243d;
  --color-secondary: #536779;
  --color-secondary-50: #f6f8fa;
  --color-secondary-100: #edf1f4;
  --color-secondary-200: #dbe3e9;
  --color-secondary-300: #c6d2dc;
  --color-secondary-500: #738494;
  --color-secondary-600: #536779;
  --color-secondary-700: #34495b;
  --color-secondary-900: #142b3d;
  --color-neutral: #102c43;
  --color-background: #ffffff;
  --font-sans: Tahoma, "Noto Sans Arabic", sans-serif;
  --text-sm: .875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
}
@layer base {
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; color: #102c43; background: #fff; font-family: Tahoma, "Noto Sans Arabic", sans-serif; direction: rtl; line-height: 1.85; }
  a { color: inherit; text-decoration: none; }
  img { max-width: 100%; height: auto; }
}
@layer components {
  .msf-site { min-height:100vh; display:flex; flex-direction:column; overflow-x:hidden; }
  .msf-wrap { width:min(1240px, calc(100% - 48px)); margin-inline:auto; }
  .msf-topbar { background:linear-gradient(100deg,#071b2d,#103b59 58%,#082641); color:#fff; font-size:12px; border-bottom:1px solid #e6b94b55; }
  .msf-topbar-inner { min-height:42px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
  .msf-social { display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
  .msf-social a { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:29px; padding:3px 10px; border:1px solid #d8e8f533; border-radius:8px; background:linear-gradient(135deg,#ffffff12,#ffffff05); color:#f5f8fb; font-size:11px; font-weight:700; box-shadow:inset 0 1px #ffffff0a; transition:background .2s,border-color .2s,color .2s,transform .2s; }
  .msf-social a:hover { color:#ffe08a; border-color:#f4bd4b99; background:#f4bd4b18; transform:translateY(-1px); }
  .msf-social-icon { display:inline-grid; place-items:center; width:19px; height:19px; border:1px solid currentColor; border-radius:6px; font-size:12px; line-height:1; }
  .msf-search-link { display:inline-flex; align-items:center; gap:10px; min-height:31px; padding:4px 13px; border:1px solid #f4bd4b70; border-radius:9px; color:#fff; background:linear-gradient(135deg,#ffffff16,#ffffff08); font-size:12px; font-weight:800; box-shadow:0 4px 12px #00152225; transition:background .2s,border-color .2s,color .2s; }
  .msf-search-link span { display:grid; place-items:center; width:21px; height:21px; border-radius:6px; color:#102c43; background:#f4bd4b; font-size:19px; line-height:1; }
  .msf-search-link:hover { color:#ffe08a; background:#ffffff20; border-color:#f4bd4b; }
  .msf-header { background:linear-gradient(105deg,#e9f1f6,#dce8f0 48%,#edf3f6); position:relative; z-index:20; box-shadow:0 6px 24px #0b31521a; border-bottom:1px solid #c3d4e1; }
  .msf-header-inner { display:grid; grid-template-columns:minmax(190px,1fr) auto minmax(150px,1fr); align-items:center; gap:20px; min-height:94px; }
  .msf-brand { display:flex; align-items:center; justify-self:start; gap:12px; flex-shrink:0; color:#0b3152; }
  .msf-brand>span { display:flex; flex-direction:column; align-items:center; text-align:center; }
  .msf-nav { margin-inline:auto; justify-self:center; }
  .msf-language-wrap { justify-self:end; display:flex; align-items:center; gap:7px; min-height:38px; padding:4px 9px; border:1px solid #9bb4c8; border-radius:10px; background:#ffffff80; box-shadow:inset 0 1px #ffffffb0,0 4px 12px #0b31520b; }
  .msf-language-globe { display:grid; place-items:center; width:23px; height:23px; border-radius:7px; color:#0b4266; background:#dceaf3; font-size:18px; }
  .msf-language-select { max-width:145px; border:0; outline:0; color:#102c43; background:transparent; font-family:Tahoma,"Noto Sans Arabic",sans-serif; font-size:12px; font-weight:800; cursor:pointer; }
  .msf-brand-mark { display:grid; place-items:center; width:58px; height:58px; border:2px solid #d99d28; border-radius:50%; color:#d99d28; font-size:35px; line-height:1; background:radial-gradient(circle,#fff 38%,#f9f1dd 39%,#fff 70%); }
  .msf-brand-logo { display:block; width:88px; height:88px; object-fit:contain; flex:0 0 auto; }
  .msf-footer-logo { width:112px; height:112px; margin:0 auto 12px; }
  .msf-footer-brand { align-items:center; text-align:center; }
  .msf-brand strong,.msf-brand small { display:block; line-height:1.45; }
  .msf-brand strong { font-size:21px; font-weight:800; }
  .msf-brand small { font-size:12px; letter-spacing:.02em; direction:ltr; text-align:right; }
  .msf-nav { margin-inline-start:auto; }
  .msf-menu,.msf-menu ul { list-style:none; padding:0; margin:0; }
  .msf-menu { display:flex; align-items:center; gap:clamp(12px,1.8vw,26px); }
  .msf-menu li { position:relative; }
  .msf-menu>li>a { display:block; padding:16px 0; font-size:13px; font-weight:700; white-space:nowrap; color:#18384f; border-bottom:2px solid transparent; }
  .msf-menu>li:hover>a,.msf-menu>li:focus-within>a { color:#b47b14; border-color:#d99d28; }
  .msf-menu .sub-menu { display:none; position:absolute; top:100%; right:0; min-width:230px; background:white; box-shadow:0 16px 36px #0b315226; border:1px solid #e2e9ef; border-radius:12px; padding:8px; z-index:50; }
  .msf-menu li:hover>.sub-menu,.msf-menu li:focus-within>.sub-menu { display:block; }
  .msf-menu .sub-menu li>a { display:block; padding:9px 12px; border-radius:7px; font-size:13px; }
  .msf-menu .sub-menu li>a:hover { background:#eef5f9; color:#9b6a10; }
  .msf-menu .sub-menu .sub-menu { right:100%; top:0; }
  .msf-menu-toggle { display:none; border:1px solid #dbe3e9; background:white; border-radius:9px; padding:8px 12px; color:#0b3152; }
  .msf-main { flex:1; }
  .msf-hero { min-height:440px; display:flex; align-items:stretch; position:relative; overflow:hidden; color:white; background:#071b2d; }
  .msf-hero:after { content:""; position:absolute; inset:0; background:linear-gradient(0deg,rgba(3,25,43,.4),transparent 45%); pointer-events:none; }
  .msf-hero-content { position:relative; z-index:1; padding-block:72px; max-width:1240px; }
  .msf-hero-content>* { max-width:660px; }
  .msf-eyebrow { display:block; color:#c58b1d; font-size:12px; font-weight:800; letter-spacing:.06em; margin-bottom:12px; }
  .msf-hero .msf-eyebrow { color:#f6c65b; }
  .msf-hero h1 { font-size:clamp(34px,4.4vw,62px); line-height:1.35; letter-spacing:-.035em; margin:0 0 18px; color:white; font-weight:900; }
  .msf-hero p { font-size:clamp(16px,1.5vw,20px); line-height:2; color:#e5edf4; margin:0 0 28px; }
  .msf-actions { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
  .msf-button { display:inline-flex; justify-content:center; align-items:center; gap:12px; padding:12px 22px; border-radius:999px; font-size:13px; font-weight:800; transition:transform .2s,box-shadow .2s,background .2s; }
  .msf-button:hover { transform:translateY(-2px); box-shadow:0 10px 24px #061e3333; }
  .msf-button-gold { color:#102c43; background:#f4bd4b; }
  .msf-button-ghost { border:1px solid #ffffff9c; color:white; background:#ffffff12; }
  .msf-button-light { color:#0b3152; background:white; }
  .msf-hero-caption { position:absolute; bottom:22px; left:max(24px,calc((100% - 1240px)/2)); color:#f5dba0; z-index:2; font-size:12px; letter-spacing:.12em; }
  .msf-section { padding-block:78px; }
  .msf-section-heading { margin-bottom:30px; }
  .msf-section-heading h2 { font-size:clamp(25px,3vw,38px); line-height:1.5; margin:0 0 8px; color:#0b3152; font-weight:900; }
  .msf-section-heading p { margin:0; color:#65788a; font-size:14px; }
  .msf-heading-row { display:flex; align-items:end; justify-content:space-between; gap:20px; }
  .msf-mission { background:linear-gradient(180deg,#fff,#f4f8fb); }
  .msf-pillar-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
  .msf-pillar { position:relative; padding:26px 23px; min-height:218px; border:1px solid #dce6ee; border-radius:16px; background:rgba(255,255,255,.82); box-shadow:0 12px 30px #0b31520a; transition:transform .25s,box-shadow .25s,border-color .25s; }
  .msf-pillar:hover { transform:translateY(-5px); border-color:#d6a23b; box-shadow:0 20px 42px #0b315218; }
  .msf-pillar-icon { display:grid; place-items:center; width:42px; height:42px; border-radius:12px; background:#f8efd9; color:#a36e0f; font-size:25px; }
  .msf-pillar h3 { margin:16px 0 7px; font-size:18px; color:#0b3152; }
  .msf-pillar p { margin:0 0 16px; color:#65788a; font-size:13px; }
  .msf-text-link { color:#9b6a10; font-size:13px; font-weight:800; }
  .msf-featured { background:#fff; }
  .msf-count { color:#9b6a10; font-size:12px; font-weight:800; border:1px solid #e8d5a9; border-radius:999px; padding:7px 12px; }
  .msf-article-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
  .msf-article-card { border:1px solid #e1e8ee; border-radius:16px; overflow:hidden; background:#fff; box-shadow:0 10px 28px #0b31520b; transition:transform .25s,box-shadow .25s; }
  .msf-article-card:hover { transform:translateY(-4px); box-shadow:0 20px 38px #0b31521a; }
  .msf-card-image { display:block; height:190px; overflow:hidden; background:linear-gradient(135deg,#0b3152,#1c6792); }
  .msf-card-image img { width:100%; height:100%; object-fit:cover; transition:transform .4s; }
  .msf-article-card:hover img { transform:scale(1.04); }
  .msf-image-placeholder { height:100%; display:grid; place-items:center; color:#f4bd4b; font-size:25px; font-weight:900; }
  .msf-card-body { padding:20px; }
  .msf-card-meta { color:#7a8c9b; font-size:11px; }
  .msf-card-body h3 { margin:9px 0; font-size:18px; line-height:1.65; }
  .msf-card-body h3 a:hover { color:#a36e0f; }
  .msf-card-body p { color:#667b8c; font-size:13px; margin:0 0 18px; }
  .msf-empty-featured { grid-column:1/-1; padding:28px; background:#f7f9fb; border:1px dashed #cbd8e2; border-radius:14px; }
  .msf-empty-featured strong { font-size:20px; }
  .msf-empty-featured p { color:#65788a; margin-bottom:0; }
  .msf-didban { background:radial-gradient(circle at 12% 10%,#1b5a7e 0,transparent 35%),linear-gradient(115deg,#061f36,#0b3b5c 60%,#123c58); color:white; padding-block:64px; overflow:hidden; }
  .msf-didban-inner { display:grid; grid-template-columns:1.3fr .7fr; align-items:center; gap:48px; }
  .msf-didban .msf-eyebrow { color:#f4bd4b; }
  .msf-didban h2 { font-size:clamp(28px,3vw,42px); line-height:1.5; margin:0 0 12px; }
  .msf-didban p { max-width:700px; color:#d7e5ef; margin:0 0 24px; }
  .msf-didban-mark { min-height:220px; display:flex; flex-direction:column; justify-content:center; align-items:center; border:1px solid #ffffff35; border-radius:50% 50% 18px 18px; background:linear-gradient(145deg,#ffffff13,#ffffff03); color:#f4bd4b; }
  .msf-didban-mark span { font-size:38px; font-weight:900; }
  .msf-didban-mark i { font-style:normal; font-size:56px; line-height:1.1; }
  .msf-didban-mark small { color:#d9e7ef; font-size:12px; }
  .msf-latest { background:#f5f8fa; }
  .msf-latest-carousel { display:grid; grid-template-columns:42px minmax(0,1fr) 42px; align-items:center; gap:12px; }
  .msf-latest-list { display:flex; gap:14px; overflow-x:auto; overscroll-behavior-inline:contain; scroll-snap-type:x mandatory; scrollbar-width:none; border-top:1px solid #dbe4eb; padding:12px 2px; }
  .msf-latest-list::-webkit-scrollbar { display:none; }
  .msf-latest-item { flex:0 0 calc((100% - 28px)/3); min-width:0; display:flex; flex-direction:column; align-items:stretch; justify-content:center; gap:10px; scroll-snap-align:start; padding:12px; border:1px solid #ffffffa8; border-radius:12px; background:#ffffff22; }
  .msf-latest-arrow { display:grid; place-items:center; width:38px; height:38px; border:1px solid #b9cfdf; border-radius:50%; background:#ffffffc9; color:#0b3152; font-size:20px; cursor:pointer; }
  .msf-latest-arrow:hover,.msf-latest-arrow:focus-visible { background:#f4bd4b; border-color:#d8a435; }
  .msf-latest-arrow:focus-visible { outline:2px solid #0b3152; outline-offset:3px; }
  .msf-latest-item { display:grid; grid-template-columns:110px 1fr auto; gap:22px; align-items:center; padding:18px 0; border-bottom:1px solid #dbe4eb; }
  .msf-latest-date { color:#7c8e9c; font-size:12px; }
  .msf-latest-item h3 { margin:0; font-size:16px; }
  .msf-latest-item h3 a:hover { color:#a36e0f; }
  .msf-cta { padding-block:34px; background:#eaf1f5; }
  .msf-cta-inner { display:flex; justify-content:space-between; align-items:center; gap:24px; }
  .msf-cta h2 { color:#0b3152; font-size:clamp(21px,2.5vw,30px); margin:0; }
  .msf-footer { margin-top:auto; color:#d7e4ee; background:#061f36; padding-top:50px; }
  .msf-footer-grid { display:grid; grid-template-columns:1.1fr 1fr 1fr; gap:48px; padding-bottom:36px; }
  .msf-footer-brand { display:flex; flex-direction:column; align-items:flex-start; gap:5px; }
  .msf-footer-brand .msf-brand-mark { margin-bottom:8px; }
  .msf-footer-brand strong { font-size:20px; color:#fff; }
  .msf-footer-brand small { direction:ltr; color:#b9cfdf; }
  .msf-footer-brand p { color:#a8bece; font-size:13px; }
  .msf-footer h2 { color:#fff; font-size:15px; margin:0 0 15px; }
  .msf-footer-grid>div:not(:first-child) a { display:block; color:#b9cfdf; font-size:13px; padding:5px 0; }
  .msf-footer-grid a:hover { color:#f4bd4b; }
  .msf-footer-bottom { display:flex; justify-content:space-between; gap:16px; border-top:1px solid #ffffff20; padding:18px 0; font-size:11px; color:#9eb5c6; }
  .msf-gallery { background:linear-gradient(180deg,#f5f8fa,#fff); }
  .msf-gallery-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
  .msf-gallery-card { overflow:hidden; border:1px solid #dce6ee; border-radius:16px; background:#fff; box-shadow:0 12px 30px #0b31520c; transition:transform .22s,box-shadow .22s; }
  .msf-gallery-card:hover { transform:translateY(-4px); box-shadow:0 18px 36px #0b31521c; }
  .msf-gallery-card img { display:block; width:100%; height:210px; object-fit:cover; }
  .msf-gallery-card>div { padding:18px 20px 20px; }
  .msf-gallery-card span { color:#9b6a10; font-size:11px; font-weight:800; }
  .msf-gallery-card h3 { color:#0b3152; font-size:18px; margin:8px 0; }
  .msf-gallery-card p,.msf-gallery-note { color:#65788a; font-size:13px; margin:0; }
  .msf-gallery-note { margin-top:16px; }
  @media(max-width:760px) { .msf-gallery-grid { grid-template-columns:1fr; } .msf-gallery-card img { height:220px; } }
  @media(max-width:1050px) {
    .msf-header-inner { gap:14px; }
    .msf-brand strong { font-size:18px; }
    .msf-menu { gap:12px; }
    .msf-menu>li>a { font-size:12px; }
    .msf-pillar-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  }
  @media(max-width:760px) {
    .msf-wrap { width:calc(100% - 32px); }
    .msf-topbar-inner { min-height:34px; }
    .msf-social { gap:10px; font-size:10px; }
    .msf-header-inner { min-height:78px; flex-wrap:wrap; padding-block:10px; }
    .msf-language-wrap { margin-inline-start:auto; min-height:34px; }
    .msf-language-select { max-width:128px; font-size:11px; }
    .msf-brand>span { align-items:center; text-align:center; }
    .msf-brand small { text-align:center; }
    .msf-brand-mark { width:46px; height:46px; font-size:28px; }
    .msf-brand-logo { width:62px; height:62px; }
    .msf-footer-logo { width:92px; height:92px; }
    .msf-brand strong { font-size:17px; }
    .msf-menu-toggle { display:block; }
    .msf-nav { display:none; width:100%; margin:0; }
    .msf-nav.is-open { display:block; }
    .msf-menu { display:block; padding:8px 0 12px; }
    .msf-menu>li>a { padding:10px 8px; white-space:normal; }
    .msf-menu .sub-menu,.msf-menu .sub-menu .sub-menu { display:block; position:static; box-shadow:none; border:0; padding-right:15px; min-width:0; }
    .msf-hero { min-height:400px; background-position:58% center; }
    .msf-hero-content { padding-block:54px; }
    .msf-hero h1 { font-size:34px; }
    .msf-hero p { font-size:15px; }
    .msf-section { padding-block:52px; }
    .msf-heading-row { align-items:flex-start; flex-direction:column; }
    .msf-pillar-grid,.msf-article-grid { grid-template-columns:1fr; }
    .msf-pillar { min-height:0; }
    .msf-card-image { height:210px; }
    .msf-didban-inner { grid-template-columns:1fr; gap:28px; }
    .msf-didban-mark { min-height:170px; border-radius:20px; }
    .msf-latest-item { grid-template-columns:1fr auto; gap:8px 14px; }
    .msf-latest-date { grid-column:1/-1; }
    .msf-cta-inner { align-items:flex-start; flex-direction:column; }
    .msf-footer-grid { grid-template-columns:1fr; gap:25px; }
    .msf-footer-bottom { flex-direction:column; }
    .msf-didban-cards { grid-template-columns:1fr; }
    .msf-didban-card { min-height:116px; }
  }
  .msf-didban-cards { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; margin-top:34px; }
  .msf-didban-card { display:flex; flex-direction:column; align-items:flex-start; justify-content:space-between; gap:10px; min-height:154px; padding:20px 17px; border:1px solid #ffffff30; border-radius:14px; color:#fff; background:linear-gradient(145deg,#ffffff18,#ffffff06); box-shadow:0 12px 28px #00152230; transition:transform .22s,border-color .22s,background .22s; }
  .msf-didban-card:hover { transform:translateY(-5px); border-color:#f4bd4b; background:linear-gradient(145deg,#ffffff25,#ffffff0c); }
  .msf-didban-card span { color:#f4bd4b; font-size:12px; font-weight:900; letter-spacing:.12em; }
  .msf-didban-card strong { font-size:15px; line-height:1.7; }
  .msf-didban-card small { color:#c5d7e3; font-size:12px; line-height:1.7; }
  @media(max-width:1050px) { .msf-didban-cards { grid-template-columns:repeat(3,minmax(0,1fr)); } }
  @media(max-width:760px) { .msf-didban-cards { grid-template-columns:1fr; } }
  .msf-slider { isolation:isolate; }
  .msf-slide { position:absolute; inset:0; display:flex; align-items:center; opacity:0; visibility:hidden; transition:opacity .8s ease,visibility .8s; background:linear-gradient(90deg,rgba(4,31,53,.16),rgba(4,31,53,.92)),var(--msf-slide-image) center 48%/cover,#0b3152; }
  .msf-slide.is-active { position:relative; flex:1 0 100%; min-height:440px; opacity:1; visibility:visible; z-index:1; }
  .msf-slide .msf-hero-shade { position:absolute; inset:0; background:linear-gradient(0deg,rgba(3,25,43,.4),transparent 45%); pointer-events:none; }
  .msf-slide .msf-hero-content { width:min(1240px,calc(100% - 48px)); margin-inline:auto; }
  .msf-slider-controls { position:absolute; z-index:5; bottom:18px; right:max(24px,calc((100% - 1240px)/2)); display:flex; align-items:center; gap:12px; }
  .msf-slider-controls button { cursor:pointer; color:#fff; border:1px solid #ffffff70; background:#082641a8; border-radius:999px; min-width:34px; min-height:34px; display:grid; place-items:center; }
  .msf-slider-controls button:hover,.msf-slider-controls button.is-active { color:#102c43; background:#f4bd4b; border-color:#f4bd4b; }
  .msf-slider-dots { display:flex; gap:7px; }
  .msf-slider-dots button { min-width:9px; width:9px; min-height:9px; height:9px; padding:0; }
  @media(max-width:760px) { .msf-hero { min-height:360px; } .msf-slide.is-active { min-height:360px; } .msf-slide .msf-hero-content { width:calc(100% - 32px); padding-block:38px 64px; } .msf-slider-controls { right:16px; bottom:12px; } }
  .msf-latest-carousel { display:grid; grid-template-columns:38px minmax(0,1fr) 38px; align-items:center; gap:12px; }
  .msf-latest-list { display:flex; gap:14px; overflow:hidden; scroll-behavior:smooth; border-top:0; }
  .msf-latest-item { flex:0 0 calc((100% - 28px)/3); min-width:0; display:flex; flex-direction:column; align-items:stretch; gap:8px; padding:12px; border:1px solid #ffffffb0; border-radius:12px; background:#ffffff1c; }
  .msf-latest-item h3 { width:100%; }
  .msf-latest-arrow { width:36px; height:36px; display:grid; place-items:center; border:1px solid #9bb8ca; border-radius:10px; color:#0b3152; background:#ffffffbd; font-size:18px; cursor:pointer; }
  .msf-latest-arrow:hover { color:#081c2d; background:#f4bd4b; border-color:#d8a435; }
  .msf-gallery-card { display:block; color:inherit; }
  .msf-gallery-card:hover h3 { color:#8a5c08; }
  @media(max-width:760px) {
    .msf-latest-carousel { grid-template-columns:30px minmax(0,1fr) 30px; gap:6px; }
    .msf-latest-item { flex-basis:100%; }
    .msf-latest-arrow { width:30px; height:34px; }
  }
  /* Final responsive corrections and complete-image display */
  .msf-card-image img,.msf-page-featured img,.msf-article-featured img { object-fit:contain; }
  .msf-slide { background-size:cover; }
  .msf-slide .msf-actions .msf-button { background-color:#0b31521a; border-color:#ffffff70; backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); }
  .msf-slide .msf-actions .msf-button-gold { background-color:#f4bd4b1a; color:#fff; border-color:#f4bd4b90; }
  .msf-slide .msf-actions .msf-button-ghost { color:#fff; }
  .msf-hero h1 { font-size:clamp(27px,3.2vw,42px); line-height:1.55; }
  .msf-hero p { font-size:clamp(14px,1.2vw,17px); line-height:1.9; }
  .msf-article-card .msf-card-image { display:grid; place-items:center; }
  .msf-article-card .msf-card-image img { object-fit:contain; }
  .msf-didban-inner>div:first-child { text-align:center; }
  .msf-didban-inner>div:first-child p { margin-inline:auto; }
  .msf-didban-mark img { object-fit:contain; }
  .msf-section-heading { color:#080808; }
  .msf-section-heading p { color:#111; }
  .msf-latest-item h3 { line-height:1.65; }
  .msf-site-banner { min-height:200px; padding-block:28px; background-position:center; background-size:cover; }
  @media(max-width:1050px) {
    .msf-header-inner { grid-template-columns:minmax(0,1fr) auto; }
    .msf-nav { order:3; grid-column:1/-1; justify-self:center; }
    .msf-language-wrap { grid-column:2; grid-row:1; }
    .msf-pillar-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  }
  @media(max-width:760px) {
    .msf-topbar-inner { align-items:center; gap:8px; }
    .msf-social { gap:4px; }
    .msf-social a { padding:3px 5px; font-size:10px; }
    .msf-social a>span:last-child { display:none; }
    .msf-search-link { padding:4px 8px; font-size:11px; }
    .msf-header-inner { display:flex; flex-wrap:wrap; justify-content:space-between; }
    .msf-brand { max-width:calc(100% - 70px); gap:7px; }
    .msf-brand-logo { width:54px; height:54px; }
    .msf-brand strong { font-size:16px; }
    .msf-brand small { font-size:10px; }
    .msf-language-wrap { order:3; margin-inline-start:0; }
    .msf-menu-toggle { order:2; }
    .msf-nav { order:4; flex:0 0 100%; }
    .msf-hero,.msf-slide.is-active { min-height:400px; }
    .msf-hero h1 { font-size:clamp(24px,7vw,31px); }
    .msf-hero p { font-size:13px; }
    .msf-slide .msf-hero-content { padding-block:35px 68px; }
    .msf-pillar-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
    .msf-pillar { padding:15px 10px; }
    .msf-pillar h3 { font-size:13px; }
    .msf-pillar p { font-size:12px; }
    .msf-article-grid { grid-template-columns:1fr; }
    .msf-didban-cards { grid-template-columns:1fr; }
    .msf-latest-item { flex-basis:100%; }
    .msf-section-heading h2 { font-size:23px; line-height:1.6; }
    .msf-site-banner { min-height:200px; }
  }
  @media(prefers-reduced-motion:reduce) { .msf-slide { transition:none; } }
  .msf-interior { padding-block:44px 70px; background:linear-gradient(180deg,#f4f8fb,#fff 320px); }
  .msf-interior-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,3fr) minmax(0,1fr); gap:24px; align-items:start; }
  .msf-sidebar-box { padding:20px 17px; border:1px solid #dce6ee; border-radius:15px; background:#ffffffd9; box-shadow:0 12px 30px #0b31520a; position:sticky; top:20px; }
  .msf-sidebar-box h2 { margin:0 0 12px; color:#0b3152; font-size:17px; }
  .msf-sidebar-link { display:block; padding:10px 0; border-bottom:1px solid #e5edf2; color:#536779; font-size:13px; line-height:1.8; }
  .msf-sidebar-link:last-child { border-bottom:0; }
  .msf-sidebar-link:hover { color:#a36e0f; }
  .msf-page-content,.msf-article-content { min-width:0; padding:clamp(22px,4vw,48px); border:1px solid #e0e8ee; border-radius:20px; background:#fff; box-shadow:0 16px 44px #0b31520b; }
  .msf-page-header,.msf-article-header { margin-bottom:28px; }
  .msf-page-header h1,.msf-article-header h1 { margin:0; color:#0b3152; font-size:clamp(28px,3.4vw,44px); line-height:1.55; font-weight:900; }
  .msf-article-intro { margin:16px 0 0; color:#536779; font-size:17px; line-height:2; }
  .msf-article-meta { display:flex; gap:16px; flex-wrap:wrap; color:#8293a0; font-size:12px; margin-top:16px; }
  .msf-page-featured,.msf-article-featured { margin:0 0 28px; overflow:hidden; border-radius:14px; }
  .msf-page-featured img,.msf-article-featured img { display:block; width:100%; height:auto; }
  .msf-prose { color:#293f50; font-size:16px; line-height:2.15; overflow-wrap:anywhere; }
  .msf-prose h2,.msf-prose h3 { color:#0b3152; line-height:1.7; margin-top:1.8em; }
  .msf-prose a { color:#9b6a10; text-decoration:underline; text-underline-offset:3px; }
  .msf-prose img { border-radius:12px; }
  .msf-article-share { display:flex; align-items:center; gap:9px; flex-wrap:wrap; border-top:1px solid #e1e8ee; margin-top:34px; padding-top:22px; }
  .msf-article-share strong { width:100%; color:#0b3152; font-size:14px; }
  .msf-article-share a,.msf-article-share button { cursor:pointer; border:1px solid #dce6ee; border-radius:999px; padding:7px 13px; color:#0b3152; background:#f5f8fa; font:inherit; font-size:12px; }
  .msf-article-share a:hover,.msf-article-share button:hover { background:#f4bd4b; border-color:#f4bd4b; }
  .msf-article-end { display:flex; flex-wrap:wrap; gap:8px 16px; margin-top:24px; padding-top:16px; border-top:1px dashed #dce6ee; color:#7b8d9b; font-size:11px; }
  @media(max-width:900px) { .msf-interior-grid { grid-template-columns:minmax(0,1fr) minmax(0,2fr); } .msf-sidebar-left { display:none; } }
  @media(max-width:760px) { .msf-interior { padding-block:24px 42px; } .msf-interior-grid { grid-template-columns:1fr; gap:18px; } .msf-sidebar-left { display:block; order:2; } .msf-page-main,.msf-article-main { order:1; } .msf-sidebar-right { order:3; } .msf-sidebar-box { position:static; } .msf-page-content,.msf-article-content { padding:22px 18px; border-radius:14px; } }
  /* Final visual pass: distinct digital section panels, centered headings, readable black text. */
  .msf-section-heading-centered { text-align:center; justify-content:center; align-items:center; }
  .msf-section-heading-centered>div { width:100%; text-align:center; }
  .msf-section-heading-centered .msf-eyebrow { margin-inline:auto; }
  .msf-section-heading h2 { color:#0b0b0b; }
  .msf-section-heading p,.msf-card-body p,.msf-gallery-card p,.msf-latest-date { color:#111; }
  .msf-mission { background:linear-gradient(135deg,#e5eef5,#d8e7f0 48%,#edf2f5); border-block:1px solid #c6d8e5; }
  .msf-pillar-grid { grid-template-columns:repeat(5,minmax(0,1fr)); }
  .msf-pillar { display:flex; flex-direction:column; align-items:center; text-align:center; background:linear-gradient(145deg,#fff8e8,#f1e6cb); border-color:#d6bd82; padding:22px 17px; }
  .msf-pillar:nth-child(2) { background:linear-gradient(145deg,#eaf6ff,#d4e8f7); border-color:#a7c9e0; }
  .msf-pillar:nth-child(3) { background:linear-gradient(145deg,#e8f7ef,#d0eadb); border-color:#a6d0b7; }
  .msf-pillar:nth-child(4) { background:linear-gradient(145deg,#f5edff,#e5d9f4); border-color:#c6b1df; }
  .msf-pillar:nth-child(5) { background:linear-gradient(145deg,#fff0ed,#f4d9d2); border-color:#ddb8ae; }
  .msf-pillar h3 { display:inline-block; padding:5px 12px; border:1px solid #0b315233; border-radius:8px; background:#ffffffa8; color:#080808; font-size:16px; }
  .msf-pillar p,.msf-text-link { color:#111; }
  .msf-pillar:hover { filter:saturate(.92) brightness(.97); }
  .msf-featured { background:linear-gradient(135deg,#f1f5f8,#e3edf3 55%,#f7f9fa); }
  .msf-article-card { background:#fff; }
  .msf-card-image img { object-fit:contain; background:#eaf0f4; }
  .msf-card-body h3 { font-size:16px; line-height:1.7; color:#0b3152; }
  .msf-card-body p { color:#111; }
  .msf-more-button { display:inline-flex; align-items:center; justify-content:center; padding:8px 19px; border:1px solid #b9cfdf; border-radius:9px; color:#071b2d; background:#ffffffb8; font-size:13px; font-weight:800; box-shadow:inset 0 1px #fff; }
  .msf-more-button:hover { background:#f4bd4b; border-color:#d8a435; }
  .msf-didban-mark { position:relative; border-radius:18px; overflow:hidden; }
  .msf-didban-mark img { width:160px; height:160px; object-fit:contain; border-radius:50%; background:#071b2d; }
  .msf-didban-mark span { font-size:0; }
  .msf-didban-mark i,.msf-didban-mark small { display:none; }
  .msf-didban-mark a { display:flex; flex-direction:column; align-items:center; gap:10px; color:#fff; text-align:center; }
  .msf-didban-mark strong { display:inline-block; padding:7px 13px; border:1px solid #f4bd4b88; border-radius:9px; background:#ffffff12; color:#fff; font-size:14px; }
  .msf-didban h2,.msf-didban p { text-align:center; margin-inline:auto; }
  .msf-didban-cards { gap:14px; }
  .msf-didban-card { align-items:center; text-align:center; justify-content:center; background:linear-gradient(145deg,#eaf4fb,#d4e7f2); border-color:#a9c8da; color:#071b2d; }
  .msf-didban-card:nth-child(2) { background:linear-gradient(145deg,#fff4df,#f2e1bc); border-color:#dec48c; }
  .msf-didban-card:nth-child(3) { background:linear-gradient(145deg,#e7f6ec,#cfe9d8); border-color:#a4d0b2; }
  .msf-didban-card:nth-child(4) { background:linear-gradient(145deg,#f3edff,#e2d8f5); border-color:#c7b4e2; }
  .msf-didban-card:nth-child(5) { background:linear-gradient(145deg,#fff0ee,#f2d8d3); border-color:#dfb8b1; }
  .msf-didban-card span { display:none; }
  .msf-didban-card strong { display:inline-block; padding:6px 10px; border:1px solid #0b315233; border-radius:8px; background:#ffffffb5; color:#080808; font-size:14px; }
  .msf-didban-card small { color:#111; }
  .msf-latest { background:linear-gradient(135deg,#e7eff5,#d8e6ef 50%,#edf3f6); }
  .msf-latest-item { grid-template-columns:minmax(0,1fr) auto; padding:12px 0; }
  .msf-latest-item h3 { display:block; padding:8px 12px; border:1px solid #ffffffa8; border-radius:9px; background:#ffffff1a; font-size:13px; font-weight:700; color:#050505; }
  .msf-latest-item h3 a { color:#050505; }
  .msf-latest-item h3 a:hover { color:#8a5c08; }
  .msf-latest-date { display:none; }
  .msf-latest-item .msf-text-link { padding:7px 10px; border:1px solid #ffffffb8; border-radius:8px; background:#ffffff20; color:#080808; }
  .msf-gallery { background:linear-gradient(135deg,#fff4e2,#f2e4c8 48%,#fff8ef); border-block:1px solid #e0c99d; }
  .msf-gallery .msf-section-heading { text-align:center; justify-content:center; }
  .msf-gallery .msf-section-heading>div { width:100%; }
  .msf-gallery-card img { object-fit:contain; background:#e7edf1; }
  .msf-gallery-card h3 { text-align:center; color:#080808; }
  .msf-gallery-card>div { text-align:center; }
  .msf-cta { min-height:200px; background:linear-gradient(120deg,#0b3152,#176087 55%,#082641); color:#fff; display:flex; align-items:center; }
  .msf-cta-inner { width:100%; }
  .msf-cta h2 { color:#fff; }
  .msf-footer-grid { gap:14px; }
  .msf-footer-grid>div { padding:20px; border:1px solid #ffffff26; border-radius:14px; background:linear-gradient(145deg,#ffffff12,#ffffff05); text-align:center; }
  .msf-footer-brand { align-items:center; }
  .msf-footer-grid>div:not(:first-child) a { display:inline-block; margin:3px; padding:6px 11px; border:1px solid #ffffff25; border-radius:8px; background:#ffffff12; color:#fff; }
  .msf-footer-grid>div:not(:first-child) a:hover { color:#ffe08a; background:#ffffff20; }
  @media(max-width:1050px) { .msf-pillar-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
  @media(max-width:760px) {
    .msf-pillar-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .msf-section-heading-centered { text-align:center; }
    .msf-section-heading-centered .msf-heading-row { align-items:center; }
    .msf-latest-carousel { grid-template-columns:30px minmax(0,1fr) 30px; gap:6px; }
    .msf-latest-arrow { width:30px; height:34px; border-radius:8px; font-size:17px; }
    .msf-latest-item { flex:0 0 100%; gap:8px; }
    .msf-latest-item h3 { font-size:12px; }
    .msf-footer-grid>div { padding:16px 12px; }
    .msf-slide.is-active { min-height:400px; }
  }
  @media print { body { background:#fff!important; color:#000!important; } .msf-topbar,.msf-header,.msf-footer,.msf-sidebar,.msf-article-share,.msf-hero-caption,.msf-slider-controls { display:none!important; } .msf-interior,.msf-interior-grid,.msf-article-content { display:block!important; width:100%!important; max-width:none!important; margin:0!important; padding:0!important; border:0!important; box-shadow:none!important; background:#fff!important; } .msf-article-content:before { content:'بنیاد مجیکسان · MagicSun Foundation'; display:block; font-size:16pt; font-weight:bold; margin-bottom:14pt; } .msf-article-header h1 { font-size:22pt; } .msf-prose { font-size:11pt; line-height:1.8; } a { color:#000!important; text-decoration:none!important; } }
  /* Final QA overrides: consistent carousel layout and responsive navigation. */
  .msf-latest-carousel { display:grid; grid-template-columns:38px minmax(0,1fr) 38px; align-items:center; gap:10px; }
  .msf-latest-list { display:flex; gap:14px; overflow-x:auto; overflow-y:hidden; scroll-behavior:smooth; scroll-snap-type:x mandatory; overscroll-behavior-inline:contain; scrollbar-width:none; border-top:0; padding:12px 2px; }
  .msf-latest-list::-webkit-scrollbar { display:none; }
  .msf-latest-item { display:flex; flex:0 0 calc((100% - 28px)/3); min-width:0; flex-direction:column; align-items:stretch; justify-content:center; gap:10px; padding:14px; border:1px solid #ffffffb8; border-radius:12px; background:#ffffff38; scroll-snap-align:start; }
  .msf-latest-item h3 { margin:0; min-height:0; }
  .msf-latest-item .msf-text-link { align-self:flex-start; }
  .msf-menu-toggle { cursor:pointer; min-height:40px; font:inherit; font-weight:800; }
  .msf-menu-toggle:focus-visible,.msf-menu a:focus-visible,.msf-slider-controls button:focus-visible { outline:3px solid #c58b1d; outline-offset:3px; }
  @media(max-width:1050px) { .msf-header-inner { gap:12px; } .msf-menu { flex-wrap:wrap; justify-content:center; } .msf-menu>li>a { white-space:normal; } }
  @media(max-width:760px) {
    .msf-wrap { width:calc(100% - 28px); }
    .msf-topbar-inner { min-width:0; }
    .msf-social { min-width:0; }
    .msf-header-inner { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; padding-block:8px; }
    .msf-brand { min-width:0; max-width:calc(100% - 78px); }
    .msf-brand>span { min-width:0; }
    .msf-brand strong { font-size:clamp(14px,4vw,17px); }
    .msf-brand small { font-size:10px; }
    .msf-menu-toggle { display:block; order:2; }
    .msf-nav { display:none; order:4; flex:0 0 100%; width:100%; margin:0; }
    .msf-nav.is-open { display:block; }
    .msf-menu { display:block; padding:8px 0 12px; }
    .msf-menu>li>a { display:block; padding:10px 12px; white-space:normal; }
    .msf-menu .sub-menu,.msf-menu .sub-menu .sub-menu { display:block; position:static; min-width:0; padding:0 14px 5px 0; border:0; border-radius:0; box-shadow:none; background:transparent; }
    .msf-menu .sub-menu li>a { padding:8px 12px; white-space:normal; }
    .msf-latest-carousel { grid-template-columns:30px minmax(0,1fr) 30px; gap:6px; }
    .msf-latest-item { flex:0 0 100%; }
    .msf-latest-item h3 { font-size:13px; }
    .msf-slider-controls { right:14px; bottom:12px; }
    .msf-hero-caption { left:14px; bottom:18px; font-size:10px; }
  }
  /* Release candidate: compact, consistent admin-editable layout and vertically stacked footer items. */
  .msf-footer-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr))!important; gap:14px!important; }
  .msf-footer-grid>div { width:100%; box-sizing:border-box; }
  .msf-footer-grid>div:not(:first-child) a { display:block!important; width:fit-content; max-width:100%; margin:6px auto!important; padding:8px 14px!important; }
  .msf-footer-brand { align-items:center!important; text-align:center; }
  .msf-footer h2 { margin-bottom:12px; }
  .msf-didban-card { align-items:center; text-align:center; }
  .msf-didban-card span[aria-hidden="true"] { display:none; }
  .msf-gallery-card img { width:100%; aspect-ratio:16/10; object-fit:contain; }
  .msf-site a:focus-visible,.msf-site button:focus-visible,.msf-site select:focus-visible { outline:3px solid var(--msf-accent,#c58b1d); outline-offset:3px; }
  .msf-header-inner { display:flex; justify-content:space-between; }
  .msf-nav { margin-inline:auto!important; }
  @media(max-width:760px) { .msf-footer-grid { grid-template-columns:minmax(0,1fr)!important; } }
  /* Premium editorial art direction: restrained palette, full-bleed hero, consistent navigation. */
  .msf-hero { min-height:440px; background:#071b2d!important; }
  .msf-slide { background-image:linear-gradient(90deg,rgba(4,20,35,.78) 0%,rgba(4,20,35,.38) 54%,rgba(4,20,35,.08) 100%),var(--msf-slide-image)!important; background-position:center!important; background-size:cover!important; background-repeat:no-repeat!important; }
  .msf-slide.is-active { min-height:440px; }
  .msf-slide .msf-hero-content { padding-block:48px 68px; }
  .msf-hero-content>* { max-width:590px; }
  .msf-hero h1 { font-size:clamp(30px,3.8vw,52px); line-height:1.4; }
  .msf-menu { gap:clamp(8px,1.25vw,18px); }
  .msf-menu>li>a { padding:13px 12px; border:1px solid transparent; border-radius:7px; font-size:12px; transition:background .18s,color .18s,border-color .18s; }
  .msf-menu>li:hover>a,.msf-menu>li:focus-within>a,.msf-menu>li.current-menu-item>a { color:#fff; background:#0b3152; border-color:#0b3152; }
  .msf-menu .sub-menu { border-radius:8px; border:1px solid #d6dee5; box-shadow:0 18px 44px #061a2a22; }
  .msf-menu .sub-menu li>a:hover,.msf-menu .sub-menu li>a:focus { background:#edf1f4; color:#0b3152; }
  .msf-header { background:#fff!important; border-bottom:1px solid #dce3e9; box-shadow:0 4px 18px #071b2d0a; }
  .msf-topbar { background:#071b2d!important; border-bottom:2px solid #b78a3a; }
  .msf-mission,.msf-featured,.msf-latest,.msf-gallery { background:#f6f8fa!important; border-color:#e1e6eb!important; }
  .msf-pillar,.msf-article-card,.msf-gallery-card { background:#fff!important; border:1px solid #dfe5eb!important; border-radius:12px!important; box-shadow:0 8px 24px #071b2d08!important; }
  .msf-pillar-icon { background:#edf1f4!important; color:#0b3152!important; border:1px solid #dce3e9; }
  .msf-pillar:hover,.msf-article-card:hover,.msf-gallery-card:hover { border-color:#b78a3a!important; box-shadow:0 16px 34px #071b2d12!important; }
  .msf-didban { background:#0a2237!important; }
  .msf-didban-card,.msf-didban-card:nth-child(n) { background:#102f49!important; border:1px solid #2b4c64!important; color:#fff!important; }
  .msf-didban-card strong { color:#fff!important; background:#163b57!important; border-color:#3b5c73!important; }
  .msf-didban-card small { color:#d0dce5!important; }
  .msf-footer { background:#061827!important; }
  .msf-footer-grid>div { background:#0b263a!important; border-color:#244054!important; }
  .msf-card-image { overflow:hidden; background:#e9edf1; }
  .msf-card-image img { width:100%; aspect-ratio:16/10; object-fit:cover!important; transition:transform .35s ease; }
  .msf-article-card:hover .msf-card-image img { transform:scale(1.025); }
  .msf-article-main .msf-article-content,.msf-page-main .msf-page-content { background:#fff; border:1px solid #e0e6eb; border-radius:14px; padding:clamp(20px,3vw,42px); box-shadow:0 12px 34px #071b2d08; }
  .msf-sidebar-box { position:static!important; background:#fff!important; border-radius:12px!important; box-shadow:none!important; }
  .msf-sidebar-link { display:block; margin-top:8px; padding:9px 11px; border:1px solid #e0e6eb; border-radius:7px; background:#f7f9fb; font-size:13px; }
  .msf-sidebar-link:hover { border-color:#b78a3a; color:#0b3152; background:#fff; }
  @media(max-width:760px) { .msf-hero,.msf-slide.is-active { min-height:360px; } .msf-slide .msf-hero-content { padding-block:34px 64px; } .msf-menu>li>a { border-radius:6px; } }
  .msf-social-icon { display:inline-flex; align-items:center; justify-content:center; width:24px; min-width:24px; height:24px; font-size:17px; }
  .msf-social a { display:inline-flex; align-items:center; gap:7px; }
  .msf-gallery-post-list { list-style:none; margin:12px 0 0; padding:0; display:grid; gap:6px; text-align:right; }
  .msf-gallery-post-list li a { display:block; padding:7px 10px; border:1px solid #e0e6eb; border-radius:6px; color:#0b3152; background:#f7f9fb; font-size:13px; }
  .msf-gallery-post-list li a:hover { border-color:#b78a3a; background:#fff; }
  .msf-archive-header { max-width:900px; margin:0 auto 34px; padding:30px 0 26px; }
  .msf-archive-header h1 { margin:0; color:#0b3152; font-size:clamp(28px,3.2vw,42px); line-height:1.45; font-weight:900; }
  .msf-archive-description { margin-top:12px; color:#65788a; max-width:760px; }
  .msf-archive-rule { width:72px; height:3px; margin-top:20px; border-radius:2px; background:#b78a3a; }
  .msf-archive-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; padding-bottom:56px; }
  .msf-archive-card { overflow:hidden; min-width:0; }
  .msf-archive-card .msf-card-body { padding:20px; }
  .msf-archive-card h2 { margin:8px 0 10px; font-size:19px; line-height:1.7; }
  .msf-archive-card h2 a { color:#0b3152; }
  .msf-archive-card h2 a:hover { color:#946b24; }
  .msf-archive-card p { color:#536779; font-size:14px; }
  .msf-pagination { padding:0 0 54px; text-align:center; }
  .msf-pagination .nav-links { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:8px; }
  .msf-pagination a,.msf-pagination .current { display:inline-block; padding:8px 13px; border:1px solid #dce3e9; border-radius:7px; background:#fff; }
  .msf-pagination .current { background:#0b3152; color:#fff; border-color:#0b3152; }
  @media(max-width:900px) { .msf-archive-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
  @media(max-width:600px) { .msf-archive-grid { grid-template-columns:1fr; gap:16px; } .msf-archive-header { padding-top:10px; } }
  @media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*::before,*::after { scroll-behavior:auto!important; animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; } }

/* MagicSun premium visual system — global release overrides */
:root { --ms-brand-navy:#091329; --ms-brand-ink:#151722; --ms-brand-gold:#ffc000; --ms-brand-green:#009e79; --ms-brand-blue:#0789d1; --ms-brand-text:#172238; --ms-brand-muted:#68758a; --ms-brand-line:#dfe6ef; --ms-brand-surface:#f5f7fb; --ms-brand-radius:14px; }
body { background:#f7f9fc; color:var(--ms-brand-text); font-family:IRANSans,IRANSansWeb,Vazirmatn,Tahoma,sans-serif; }
.msf-topbar { background:linear-gradient(105deg,#091329,#151722)!important; border-bottom:2px solid #ffc000!important; }
.msf-header { background:#fff!important; border-bottom:1px solid var(--ms-brand-line)!important; box-shadow:0 5px 22px #0913290f!important; }
.msf-brand strong,.msf-menu>li.current-menu-item>a { color:#091329!important; font-weight:900; }
.msf-menu>li>a { border-radius:999px!important; font-weight:750; }
.msf-menu>li:hover>a,.msf-menu>li:focus-within>a,.msf-menu>li.current-menu-item>a { background:#091329!important; color:#fff!important; border-color:#091329!important; }
.msf-menu .sub-menu { border:1px solid var(--ms-brand-line)!important; border-radius:12px!important; box-shadow:0 18px 44px #09132920!important; }
.msf-hero { border-radius:0 0 22px 22px; background:#091329!important; }
.msf-slide { background-image:linear-gradient(100deg,rgba(9,19,41,.94),rgba(21,23,34,.68) 58%,rgba(9,19,41,.18)),var(--msf-slide-image)!important; background-position:center!important; background-size:cover!important; }
.msf-slide.is-active { min-height:clamp(380px,43vw,560px)!important; }
.msf-hero h1 { color:#fff!important; font-size:clamp(30px,4vw,52px)!important; font-weight:900!important; line-height:1.45!important; }
.msf-hero p { color:#e0e7f1!important; }
.msf-eyebrow { color:#b17b00!important; font-weight:850!important; }
.msf-hero .msf-eyebrow,.msf-didban .msf-eyebrow { color:#ffd15f!important; }
.msf-button,.msf-more-button { border-radius:10px!important; min-height:42px; font-weight:850!important; }
.msf-button-gold { background:#ffc000!important; color:#091329!important; border:1px solid #ffc000!important; }
.msf-button-ghost { border:1px solid #ffffff70!important; background:#ffffff0d!important; color:#fff!important; }
.msf-section { padding-block:clamp(38px,5vw,68px)!important; }
.msf-section-heading h2 { color:#091329!important; font-size:clamp(23px,3vw,34px)!important; font-weight:900!important; }
.msf-section-heading p { color:#68758a!important; }
.msf-mission,.msf-featured,.msf-latest,.msf-gallery { background:#f5f7fb!important; border-color:#dfe6ef!important; }
.msf-pillar,.msf-article-card,.msf-gallery-card,.msf-archive-card,.msf-page-content,.msf-article-content,.msf-sidebar-box { background:#fff!important; border:1px solid #dfe6ef!important; border-radius:14px!important; box-shadow:0 6px 22px #0913290b!important; overflow:hidden; }
.msf-pillar { padding:22px 18px!important; text-align:right!important; align-items:flex-start!important; }
.msf-pillar:nth-child(n),.msf-didban-card:nth-child(n) { background:#fff!important; border-color:#dfe6ef!important; color:#172238!important; }
.msf-pillar-icon { background:#fff7dc!important; color:#946b00!important; border:1px solid #f3df9d!important; border-radius:12px!important; }
.msf-pillar h3,.msf-card-body h3,.msf-archive-card h2 { color:#091329!important; font-weight:850!important; }
.msf-pillar p,.msf-card-body p,.msf-gallery-card p,.msf-text-link { color:#68758a!important; }
.msf-pillar:hover,.msf-article-card:hover,.msf-gallery-card:hover,.msf-archive-card:hover { transform:translateY(-3px); border-color:#e8bf45!important; box-shadow:0 15px 34px #0913291a!important; }
.msf-article-card,.msf-gallery-card { transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease; }
.msf-card-image img,.msf-gallery-card img { width:100%; aspect-ratio:16/10; object-fit:cover!important; }
.msf-card-body { padding:20px!important; }
.msf-didban { background:linear-gradient(125deg,#091329,#151722)!important; border-radius:22px; margin-block:22px; }
.msf-didban h2 { color:#fff!important; }
.msf-didban p { color:#dce5f0!important; }
.msf-didban-card,.msf-didban-card:nth-child(n) { background:#10223e!important; border:1px solid #35445d!important; color:#fff!important; border-radius:12px!important; }
.msf-didban-card strong { background:#172b4d!important; color:#fff!important; border-color:#35445d!important; }
.msf-didban-card small { color:#dce5f0!important; }
.msf-latest-item { border:1px solid #dfe6ef!important; border-radius:12px!important; background:#fff!important; padding:16px!important; }
.msf-latest-item h3,.msf-latest-item h3 a { color:#091329!important; font-weight:800!important; }
.msf-latest-item .msf-text-link { color:#087a63!important; }
.msf-cta { background:linear-gradient(120deg,#091329,#172b4d)!important; border-radius:20px; overflow:hidden; }
.msf-cta h2,.msf-cta p { color:#fff!important; }
.msf-footer { background:linear-gradient(120deg,#07101f,#111827)!important; border-top:3px solid #ffc000!important; }
.msf-footer-grid>div { border:1px solid #ffffff24!important; border-radius:14px!important; background:#ffffff0b!important; }
.msf-footer a:hover { color:#ffc000!important; }
.msf-interior { background:transparent!important; }
.msf-page-content,.msf-article-content { padding:clamp(22px,4vw,46px)!important; }
.msf-page-header h1,.msf-article-header h1,.msf-archive-header h1 { color:#091329!important; font-weight:900!important; }
.msf-prose { color:#26364d!important; font-size:16px!important; line-height:2.15!important; }
.msf-prose h2,.msf-prose h3 { color:#091329!important; font-weight:850!important; }
.msf-prose blockquote { border-inline-start:4px solid #ffc000; background:#fff8df; padding:14px 18px; border-radius:0 10px 10px 0; }
.msf-prose th { background:#091329!important; color:#fff!important; }
.msf-prose th,.msf-prose td { padding:11px 13px; border:1px solid #dfe6ef; }
.msf-sidebar-link { border-radius:9px!important; background:#f7f9fc!important; border-color:#dfe6ef!important; }
.msf-pagination a,.msf-pagination .current { border-radius:9px!important; }
.msf-site a:focus-visible,.msf-site button:focus-visible,.msf-site input:focus-visible { outline:3px solid #ffc000!important; outline-offset:3px; }
@media(max-width:760px) { .msf-wrap { width:calc(100% - 28px)!important; } .msf-hero { border-radius:0 0 16px 16px; } .msf-slide.is-active { min-height:360px!important; } .msf-pillar-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important; } .msf-pillar { padding:17px 14px!important; } .msf-section { padding-block:36px!important; } .msf-page-content,.msf-article-content { padding:20px 16px!important; } }
@media(max-width:480px) { .msf-pillar-grid,.msf-article-grid,.msf-gallery-grid,.msf-archive-grid { grid-template-columns:minmax(0,1fr)!important; } .msf-hero h1 { font-size:29px!important; } .msf-slide .msf-hero-content { padding-block:30px 68px!important; } }

}
