@font-face {
  font-family:"IBM Plex Sans Arabic";
  src:url("../../fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2") format("woff2");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}

@font-face {
  font-family:"IBM Plex Sans Arabic";
  src:url("../../fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2") format("woff2");
  font-weight:500;
  font-style:normal;
  font-display:swap;
}

@font-face {
  font-family:"IBM Plex Sans Arabic";
  src:url("../../fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2") format("woff2");
  font-weight:600;
  font-style:normal;
  font-display:swap;
}

@font-face {
  font-family:"IBM Plex Sans Arabic";
  src:url("../../fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2") format("woff2");
  font-weight:700;
  font-style:normal;
  font-display:swap;
}
:root {
      --primary-dark:#071A38;
      --primary:#122B59;
      --blue:#006EEB;
      --logo:#B5A89B;
      --logo-dark:#8F8275;
      --logo-soft:#F1EEE9;
      --bg:#EEF1F4;
      --soft:#F6F8FC;
      --white:#FFFFFF;
      --text:#10213F;
      --muted:#657489;
      --line:rgba(18,43,89,.12);
      --shadow:0 24px 70px rgba(8,26,56,.13);
      --shadow-soft:0 14px 38px rgba(8,26,56,.08);
      --container:1180px;
      --wide:1880px;
    }

    * { box-sizing:border-box; margin:0; padding:0; }
    html { scroll-behavior:smooth; }

    body {
      font-family:"IBM Plex Sans Arabic", Tahoma, Arial, sans-serif;
      background:#fff;
      color:var(--text);
      line-height:1.8;
      overflow-x:hidden;
    }

    a { color:inherit; text-decoration:none; }
    img { max-width:100%; display:block; }
    button, input { font-family:inherit; }

    .top-shell {
      background:var(--bg);
      padding:16px 20px 54px;
    }

    .wide {
      max-width:var(--wide);
      margin-inline:auto;
    }

    .container {
      width:min(var(--container), calc(100% - 40px));
      margin-inline:auto;
    }

    .site-header {
      position:sticky;
      top:16px;
      z-index:70;
      background:rgba(255,255,255,.94);
      backdrop-filter:blur(18px);
      border-radius:22px;
      padding:0 34px;
      min-height:86px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:28px;
      box-shadow:0 12px 35px rgba(8,26,56,.06);
      border:1px solid rgba(255,255,255,.7);
    }

    .brand {
      display:flex;
      align-items:center;
      min-width:max-content;
    }

    .brand-logo {
      display:block;
      width:182px;
      height:auto;
      max-height:58px;
    }

    .site-header .brand {
      padding:8px 14px;
      border-radius:18px;
      background:var(--primary);
      box-shadow:0 12px 28px rgba(8,26,56,.10);
    }

    .nav {
      display:flex;
      align-items:center;
      justify-content:center;
      gap:30px;
      font-size:15px;
      font-weight:700;
      color:#18314F;
      flex:1;
    }

    .nav a {
      display:inline-flex;
      align-items:center;
      padding:31px 0;
      transition:.22s ease;
    }

    .nav a:hover,
    .nav a.active {
      color:var(--logo-dark);
    }

    .header-left {
      display:flex;
      align-items:center;
      gap:22px;
      min-width:max-content;
    }

    .search {
      width:42px;
      height:42px;
      display:grid;
      place-items:center;
      border:0;
      background:transparent;
      color:#18314F;
      font-size:23px;
      cursor:pointer;
      border-radius:50%;
      transition:.22s ease;
    }

    .search:hover { background:var(--logo-soft); color:var(--logo-dark); }

    .header-social {
      display:flex;
      align-items:center;
      gap:8px;
      direction:ltr;
    }

    .social-icon {
      width:42px;
      height:42px;
      display:grid;
      place-items:center;
      border-radius:50%;
      background:#fff;
      border:1px solid rgba(18,43,89,.12);
      box-shadow:0 8px 22px rgba(8,26,56,.06);
      transition:.22s ease;
    }

    .social-icon:hover {
      transform:translateY(-2px);
      background:var(--logo-soft);
    }

    .social-icon img {
      width:18px;
      height:18px;
      object-fit:contain;
    }

    .btn {
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap:10px;
      min-height:54px;
      padding:13px 24px;
      border-radius:999px;
      border:1px solid rgba(18,43,89,.32);
      background:#fff;
      color:var(--primary);
      font-size:15px;
      font-weight:700;
      cursor:pointer;
      transition:.25s ease;
      white-space:nowrap;
    }

    .btn:hover {
      background:var(--primary);
      color:#fff;
      transform:translateY(-2px);
      box-shadow:0 18px 35px rgba(18,43,89,.18);
    }

    .btn-solid {
      background:var(--primary);
      color:#fff;
      border-color:var(--primary);
      box-shadow:0 18px 36px rgba(18,43,89,.22);
    }

    .btn-logo {
      background:var(--logo-dark);
      color:#fff;
      border-color:var(--logo-dark);
      box-shadow:0 18px 36px rgba(143,130,117,.22);
    }

    .btn-logo:hover {
      background:var(--primary);
      border-color:var(--primary);
    }

    .menu-toggle {
      display:none;
      width:48px;
      height:48px;
      border-radius:50%;
      border:1px solid var(--line);
      background:#fff;
      color:var(--primary);
      font-size:24px;
      cursor:pointer;
    }

    .page-hero {
      position:relative;
      min-height:520px;
      margin-top:32px;
      border-radius:20px;
      overflow:hidden;
      background:
        linear-gradient(90deg, rgba(7,26,56,.96) 0%, rgba(18,43,89,.88) 42%, rgba(18,43,89,.48) 78%, rgba(18,43,89,.24) 100%),
        url('https://images.unsplash.com/photo-1499750310107-5fef28a66643?auto=format&fit=crop&w=2400&q=80') center/cover;
      box-shadow:var(--shadow);
    }

    .page-hero::after {
      content:"";
      position:absolute;
      inset:0;
      background:
        radial-gradient(circle at 16% 24%, rgba(181,168,155,.24), transparent 26%),
        linear-gradient(0deg, rgba(7,26,56,.78), rgba(7,26,56,.04));
      pointer-events:none;
    }

    .hero-mark {
      position:absolute;
      z-index:1;
      left:6%;
      top:14%;
      width:360px;
      height:360px;
      background:url("../../img/Mershad-logo-only-white.svg") center/contain no-repeat;
      opacity:.08;
      pointer-events:none;
    }

    .page-hero-inner {
      position:relative;
      z-index:2;
      min-height:520px;
      display:grid;
      align-items:end;
      padding:84px 120px;
    }

    .breadcrumb {
      display:flex;
      align-items:center;
      gap:9px;
      color:rgba(255,255,255,.72);
      font-size:14px;
      font-weight:600;
      margin-bottom:16px;
    }

    .breadcrumb span { color:var(--logo); }

    .page-hero h1 {
      max-width:850px;
      color:#fff;
      font-size:clamp(46px, 6vw, 82px);
      line-height:1.12;
      letter-spacing:-2.2px;
      margin-bottom:22px;
      font-weight:700;
    }

    .page-hero h1 em {
      font-style:normal;
      color:var(--logo);
    }

    .page-hero p {
      max-width:760px;
      color:rgba(255,255,255,.80);
      font-size:19px;
      line-height:2;
    }

    .floating-note {
      position:absolute;
      z-index:4;
      left:120px;
      bottom:84px;
      max-width:350px;
      padding:22px;
      border-radius:22px;
      background:rgba(255,255,255,.93);
      backdrop-filter:blur(12px);
      box-shadow:0 20px 45px rgba(8,26,56,.20);
      border-top:5px solid var(--logo);
    }

    .floating-note strong {
      display:block;
      color:var(--primary);
      font-size:22px;
      line-height:1.35;
      margin-bottom:6px;
      font-weight:700;
    }

    .floating-note span {
      color:var(--muted);
      font-size:14px;
      line-height:1.7;
    }

    .section {
      padding:92px 0;
      background:#fff;
      overflow:hidden;
    }

    .section.soft { background:var(--soft); }

    .section-head {
      display:flex;
      align-items:end;
      justify-content:space-between;
      gap:30px;
      margin-bottom:42px;
    }

    .kicker {
      display:inline-flex;
      align-items:center;
      gap:10px;
      color:var(--logo-dark);
      font-size:14px;
      font-weight:700;
      margin-bottom:10px;
    }

    .kicker::before {
      content:"";
      width:38px;
      height:2px;
      background:var(--logo);
    }

    .section-head h2 {
      color:var(--primary);
      font-size:clamp(32px, 4vw, 52px);
      line-height:1.25;
      letter-spacing:-1.2px;
      font-weight:700;
    }

    .section-head p {
      color:var(--muted);
      max-width:670px;
      margin-top:10px;
      font-size:16px;
      line-height:2;
    }

    .articles-top {
      display:grid;
      grid-template-columns:1.05fr .95fr;
      gap:22px;
      margin-bottom:22px;
    }

    .featured-article,
    .side-article,
    .article-card {
      border-radius:30px;
      overflow:hidden;
      background:#fff;
      border:1px solid var(--line);
      box-shadow:0 12px 34px rgba(8,26,56,.055);
      transition:.25s ease;
    }

    .featured-article:hover,
    .side-article:hover,
    .article-card:hover {
      transform:translateY(-5px);
      box-shadow:0 22px 55px rgba(8,26,56,.11);
      border-color:rgba(181,168,155,.45);
    }

    .article-image {
      background:center/cover;
      position:relative;
    }

    .featured-article .article-image {
      min-height:390px;
      background-image:url('https://images.unsplash.com/photo-1499750310107-5fef28a66643?auto=format&fit=crop&w=1500&q=80');
    }

    .article-image::after {
      content:"";
      position:absolute;
      inset:0;
      background:linear-gradient(0deg, rgba(7,26,56,.35), transparent 60%);
      opacity:.75;
    }

    .article-body {
      padding:28px;
    }

    .article-meta {
      display:flex;
      align-items:center;
      gap:12px;
      color:var(--logo-dark);
      font-size:13px;
      font-weight:700;
      margin-bottom:10px;
    }

    .article-meta::before {
      content:"";
      width:28px;
      height:2px;
      background:var(--logo);
    }

    .article-body h3 {
      color:var(--primary);
      font-size:30px;
      line-height:1.42;
      margin-bottom:10px;
      font-weight:700;
    }

    .article-body p {
      color:var(--muted);
      font-size:15px;
      line-height:1.9;
      margin-bottom:18px;
    }

    .read-more {
      display:inline-flex;
      align-items:center;
      color:var(--blue);
      font-weight:700;
      font-size:14px;
    }

    .side-list {
      display:grid;
      gap:16px;
    }

    .side-article {
      display:grid;
      grid-template-columns:170px 1fr;
      min-height:192px;
    }

    .side-article .article-image {
      min-height:100%;
    }

    .side-article:nth-child(1) .article-image {
      background-image:url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=700&q=80');
    }

    .side-article:nth-child(2) .article-image {
      background-image:url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=700&q=80');
    }

    .side-article:nth-child(3) .article-image {
      background-image:url('https://images.unsplash.com/photo-1544717297-fa95b6ee9643?auto=format&fit=crop&w=700&q=80');
    }

    .side-article .article-body {
      padding:20px;
    }

    .side-article .article-body h3 {
      font-size:19px;
      line-height:1.55;
      margin-bottom:8px;
    }

    .side-article .article-body p {
      font-size:13px;
      margin-bottom:10px;
    }

    .tools-row {
      display:grid;
      grid-template-columns:1fr auto;
      gap:18px;
      align-items:center;
      padding:18px;
      border-radius:28px;
      background:#fff;
      border:1px solid var(--line);
      box-shadow:var(--shadow-soft);
      margin-bottom:28px;
    }

    .search-form {
      display:flex;
      align-items:center;
      gap:10px;
      padding:8px 14px;
      border-radius:999px;
      background:var(--soft);
      border:1px solid var(--line);
    }

    .search-form span {
      color:var(--logo-dark);
      font-size:20px;
    }

    .search-form input {
      flex:1;
      min-height:44px;
      border:0;
      outline:0;
      background:transparent;
      color:var(--text);
      font-size:14px;
      min-width:0;
    }

    .count-note {
      color:var(--muted);
      font-size:14px;
      font-weight:600;
      white-space:nowrap;
    }

    .articles-grid {
      display:grid;
      grid-template-columns:repeat(3, 1fr);
      gap:20px;
    }

    .article-card .article-image {
      min-height:230px;
    }

    .article-card:nth-child(1) .article-image { background-image:url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=900&q=80'); }
    .article-card:nth-child(2) .article-image { background-image:url('https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=900&q=80'); }
    .article-card:nth-child(3) .article-image { background-image:url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=900&q=80'); }
    .article-card:nth-child(4) .article-image { background-image:url('https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=900&q=80'); }
    .article-card:nth-child(5) .article-image { background-image:url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&w=900&q=80'); }
    .article-card:nth-child(6) .article-image { background-image:url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=900&q=80'); }
    .article-card:nth-child(7) .article-image { background-image:url('https://images.unsplash.com/photo-1529156069898-49953e39b3ac?auto=format&fit=crop&w=900&q=80'); }
    .article-card:nth-child(8) .article-image { background-image:url('https://images.unsplash.com/photo-1542744094-3a31f272c490?auto=format&fit=crop&w=900&q=80'); }
    .article-card:nth-child(9) .article-image { background-image:url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=900&q=80'); }

    .article-card .article-body {
      padding:22px;
    }

    .article-card .article-body h3 {
      font-size:20px;
      line-height:1.55;
      margin-bottom:8px;
    }

    .article-card .article-body p {
      font-size:14px;
      margin-bottom:14px;
    }

    .pagination {
      display:flex;
      align-items:center;
      justify-content:center;
      gap:8px;
      margin-top:42px;
    }

    .page-link {
      width:46px;
      height:46px;
      border-radius:50%;
      display:grid;
      place-items:center;
      background:#fff;
      border:1px solid var(--line);
      color:var(--primary);
      font-weight:700;
      transition:.22s ease;
    }

    .page-link:hover,
    .page-link.active {
      background:var(--primary);
      color:#fff;
      border-color:var(--primary);
      transform:translateY(-2px);
    }

    .newsletter {
      border-radius:36px;
      padding:46px;
      display:grid;
      grid-template-columns:1fr .9fr;
      gap:28px;
      align-items:center;
      background:
        radial-gradient(circle at 12% 20%, rgba(181,168,155,.22), transparent 28%),
        linear-gradient(135deg, var(--primary), var(--primary-dark));
      color:#fff;
      box-shadow:var(--shadow);
      position:relative;
      overflow:hidden;
    }

    .newsletter::after {
      content:"مقالات";
      position:absolute;
      left:28px;
      bottom:-12px;
      color:rgba(255,255,255,.06);
      font-size:94px;
      line-height:1;
      font-weight:700;
    }

    .newsletter h2 {
      color:#fff;
      font-size:42px;
      line-height:1.3;
      margin-bottom:10px;
      font-weight:700;
      position:relative;
      z-index:2;
    }

    .newsletter p {
      max-width:680px;
      color:rgba(255,255,255,.72);
      line-height:2;
      position:relative;
      z-index:2;
    }

    .newsletter-form {
      display:flex;
      gap:10px;
      padding:10px;
      border-radius:999px;
      background:#fff;
      box-shadow:var(--shadow-soft);
      position:relative;
      z-index:2;
    }

    .newsletter-form input {
      flex:1;
      border:0;
      outline:0;
      padding:0 18px;
      font-size:14px;
      min-width:0;
      color:var(--text);
    }

    .footer {
      background:var(--primary-dark);
      color:#fff;
      padding:66px 0 24px;
      border-top:8px solid var(--logo);
    }

    .footer-grid {
      display:grid;
      grid-template-columns:1.15fr .85fr .85fr;
      gap:34px;
      margin-bottom:44px;
    }

    .footer .brand {
      background:transparent;
      padding:0;
      box-shadow:none;
    }

    .footer .brand-logo {
      width:190px;
      max-height:none;
    }

    .footer p,
    .footer li,
    .footer a {
      color:rgba(255,255,255,.64);
      font-size:14px;
    }

    .footer p {
      max-width:330px;
      margin-top:16px;
    }

    .footer h3 {
      font-size:17px;
      margin-bottom:16px;
      color:#fff;
      font-weight:700;
    }

    .footer ul {
      list-style:none;
      display:grid;
      gap:9px;
    }

    .footer a:hover { color:#fff; }

    .copyright {
      padding-top:22px;
      border-top:1px solid rgba(255,255,255,.1);
      color:rgba(255,255,255,.54);
      font-size:13px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:18px;
      flex-wrap:wrap;
    }

    .social {
      display:flex;
      align-items:center;
      gap:14px;
      direction:ltr;
    }

    .footer .social-icon {
      background:rgba(255,255,255,.95);
      border-color:rgba(255,255,255,.18);
      box-shadow:none;
    }

    @media (max-width:1200px) {
      .nav, .header-left { display:none; }
      .menu-toggle { display:grid; place-items:center; }

      .page-hero-inner { padding:80px 56px; }

      .floating-note {
        left:56px;
        bottom:70px;
      }

      .articles-top,
      .newsletter {
        grid-template-columns:1fr;
      }

      .articles-grid {
        grid-template-columns:repeat(2, 1fr);
      }

      .footer-grid {
        grid-template-columns:1fr 1fr;
      }
    }

    @media (max-width:760px) {
      .top-shell { padding:10px 10px 40px; }
      .container { width:min(100% - 28px, var(--container)); }

      .site-header {
        top:10px;
        min-height:76px;
        padding:0 16px;
        border-radius:18px;
      }

      .brand-logo { width:148px; max-height:48px; }
      .site-header .brand { padding:7px 11px; }

      .page-hero {
        margin-top:18px;
        border-radius:18px;
        min-height:660px;
        background-position:center;
      }

      .page-hero-inner {
        min-height:660px;
        padding:250px 24px 34px;
      }

      .page-hero h1 {
        font-size:42px;
        letter-spacing:-1px;
      }

      .page-hero p { font-size:16px; }

      .floating-note {
        top:34px;
        right:22px;
        left:22px;
        bottom:auto;
        max-width:none;
      }

      .section { padding:62px 0; }

      .section-head {
        display:block;
        margin-bottom:28px;
      }

      .section-head h2,
      .newsletter h2 {
        font-size:32px;
        letter-spacing:-.6px;
      }

      .tools-row {
        grid-template-columns:1fr;
      }

      .count-note {
        white-space:normal;
        text-align:center;
      }

      .side-article,
      .articles-grid {
        grid-template-columns:1fr;
      }

      .side-article .article-image {
        min-height:210px;
      }

      .newsletter {
        padding:28px 22px;
        border-radius:28px;
      }

      .newsletter-form {
        flex-direction:column;
        border-radius:24px;
      }

      .newsletter-form input {
        min-height:50px;
        text-align:center;
      }

      .pagination {
        flex-wrap:wrap;
      }

      .footer-grid {
        grid-template-columns:1fr;
      }

      .copyright {
        display:grid;
        justify-content:center;
        text-align:center;
      }

      .social {
        justify-content:center;
        flex-wrap:wrap;
      }
    }
/* WordPress integration */
.screen-reader-text {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0, 0, 0, 0);
  white-space:nowrap;
  border:0;
}

.screen-reader-text:focus {
  z-index:100000;
  top:12px;
  right:12px;
  width:auto;
  height:auto;
  padding:8px 12px;
  clip:auto;
  color:#fff;
  background:var(--primary);
  border-radius:10px;
}

.nav__menu {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:30px;
  padding:0;
  margin:0;
  list-style:none;
}

.nav__menu li { list-style:none; }
.nav .current-menu-item > a { color:var(--logo-dark); }

body.admin-bar .site-header { top:48px; }

@media (max-width:782px) {
  body.admin-bar .site-header { top:62px; }
}

@media (max-width:1200px) {
  .site-header.is-menu-open {
    flex-wrap:wrap;
    align-items:flex-start;
  }

  .site-header.is-menu-open .nav {
    display:flex;
    flex:0 0 100%;
    order:4;
    align-items:stretch;
    padding:10px 0 18px;
  }

  .site-header.is-menu-open .nav,
  .site-header.is-menu-open .nav__menu {
    flex-direction:column;
    gap:0;
  }

  .site-header.is-menu-open .nav a {
    width:100%;
    padding:10px 0;
  }
}
