:root {
  /* ========= ORANGE THEME ========= */
  --p: #E45A2A;          /* primary orange */
  --p2: #FF8A3D;         /* secondary orange */
  --accent: #FF6A1A;

  --ink: #1F3A5F;        /* navy text (ثابت عشان readability) */
  --muted: #64748b;

  --border: rgba(228, 90, 42, .18);

  --card: rgba(255, 255, 255, .94);

  --shadow: 0 18px 55px rgba(228, 90, 42, .16);
  --shadow-sm: 0 12px 34px rgba(228, 90, 42, .12);

  --r: 22px;
}


    :focus-visible {
      outline: 3px solid rgba(47, 164, 183, .40);
      outline-offset: 2px;
      border-radius: 12px
    }

    .sr-only {
      position: absolute !important;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0
    }

    .skip-link {
      position: absolute;
      top: -60px;
      right: 16px;
      background: var(--p);
      color: #fff;
      padding: 10px 14px;
      border-radius: 12px;
      z-index: 9999;
      transition: top .2s;
      text-decoration: none;
      font-weight: 900
    }

    .skip-link:focus {
      top: 16px
    }

    /* ==========================
      BLOG PAGE STYLES (scoped)
      Full-width banner like hero
    ========================== */
    .blog-hero {
      margin-top: 18px;
      padding: 18px 0 10px;
    }

    .blog-hero .blog-hero-viewport {
      width: 100%;
      height: auto;
      border-radius: 22px;
      overflow: hidden;
      box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
      background: transparent;
      line-height: 0;
    }

    .blog-hero .hero-box {
      border-radius: 0;
      overflow: hidden;
      box-shadow: none;
      background: var(--neutral-100, #f5f5f5);
      position: relative;
    }

    .blog-hero .hero-box img {
      width: 100%;
      height: auto;
      display: block;
      vertical-align: bottom;
    }

    .blog-hero .hero-overlay {
      position: absolute;
      inset: 0;
      /* background: linear-gradient(0deg, rgba(31,58,95,.55), rgba(31,58,95,.10)); */
    }

    .blog-hero .hero-content {
      position: absolute;
      right: 18px;
      left: 18px;
      bottom: 18px;
      color: #fff;
      display: grid;
      gap: 8px;
    }

    .blog-hero .hero-title {
      margin: 0;
      font-size: 28px;
      font-weight: 900;
      letter-spacing: .2px;
    }

    .blog-hero .hero-sub {
      margin: 0;
      opacity: .95;
      font-size: 14px;
      line-height: 1.8;
      max-width: 780px;
    }

    .blog-toolbar {
      margin: 18px 0 8px;
    }

    .blog-toolbar .toolbar-box {
      display: grid;
      gap: 12px;
      grid-template-columns: 1fr;
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: var(--r);
      box-shadow: var(--shadow-sm);
      padding: 14px;
    }

    @media (min-width: 860px) {
      .blog-toolbar .toolbar-box {
        /* grid-template-columns: 1.2fr .8fr; */
        align-items: center;
      }
    }

    .blog-search {
      position: relative;
      display: flex;
      gap: 10px;
      align-items: center;
    }

    .blog-search input {
      width: 100%;
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 12px 14px;
      outline: none;
      font-family: inherit;
      background: #fff;
    }

    .blog-search button {
      border: 0;
      padding: 12px 14px;
      border-radius: 16px;
      background: var(--p2);
      color: #fff;
      cursor: pointer;
      font-weight: 800;
      white-space: nowrap;
    }

    .blog-cats {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: flex-start;
    }

    .blog-chip {
      border: 1px solid var(--border);
      background: #fff;
      padding: 10px 12px;
      border-radius: 999px;
      cursor: pointer;
      font-weight: 700;
      color: var(--ink);
      transition: .2s;
    }

    .blog-chip.active {
      background: rgba(47, 164, 183, .12);
      border-color: rgba(47, 164, 183, .45);
      color: var(--p);
    }

    .featured-wrap {
      margin: 18px 0;
    }

    .featured-card {
      border-radius: var(--r);
      overflow: hidden;
      background: var(--card);
      border: 1px solid var(--border);
      box-shadow: var(--shadow);
      display: grid;
      grid-template-columns: 1fr;
    }

    @media (min-width: 980px) {
      .featured-card {
        grid-template-columns: 1.1fr .9fr;
      }
    }

    .featured-media img {
      width: 100%;
      height: 320px;
      object-fit: cover;
      display: block;
    }

    .featured-body {
      padding: 16px 18px;
      display: grid;
      gap: 10px;
      align-content: center;
    }

    .featured-kicker {
      display: inline-flex;
      gap: 8px;
      align-items: center;
      font-weight: 900;
      color: var(--p2);
      font-size: 12px;
      letter-spacing: .4px;
      text-transform: uppercase;
    }

    .featured-title {
      margin: 0;
      font-size: 22px;
      line-height: 1.35;
      color: var(--ink);
    }

    .featured-meta {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
      color: var(--muted);
      font-size: 13px;
      align-items: center;
    }

    .featured-excerpt {
      margin: 0;
      color: var(--muted);
      line-height: 1.9;
      font-size: 14px;
    }

    .featured-cta {
      display: inline-flex;
      gap: 10px;
      align-items: center;
      align-self: start;
      padding: 12px 14px;
      border-radius: 16px;
      background: var(--p);
      color: #fff;
      text-decoration: none;
      font-weight: 900;
      width: fit-content;
    }

    .blogs-grid-page {
      margin: 18px 0 40px;
    }

    .blogs-grid {
      display: grid;
      gap: 16px;
      grid-template-columns: 1fr;
    }

    @media (min-width: 720px) {
      .blogs-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    .blog-card-page {
      border-radius: var(--r);
      overflow: hidden;
      background: var(--card);
      border: 1px solid var(--border);
      box-shadow: var(--shadow-sm);
      transition: transform .2s ease, box-shadow .2s ease;
    }

    .blog-card-page:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow);
    }

    .blog-card-page .media img {
      width: 100%;
      height: 190px;
      object-fit: cover;
      display: block;
    }

    .blog-card-page .body {
      padding: 14px 14px 16px;
      display: grid;
      gap: 8px;
    }

    .blog-card-page .title {
      margin: 0;
      font-size: 16px;
      line-height: 1.5;
      color: var(--ink);
      font-weight: 900;
    }

    .blog-card-page .title a {
      color: inherit;
      text-decoration: none;
    }

    .blog-card-page .meta {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      color: var(--muted);
      font-size: 12.5px;
      align-items: center;
    }

    .blog-card-page .excerpt {
      margin: 0;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.85;
    }

    .blog-card-page .cta {
      display: inline-flex;
      gap: 8px;
      align-items: center;
      margin-top: 4px;
      color: var(--p2);
      font-weight: 900;
      text-decoration: none;
    }

    .pager {
      display: flex;
      gap: 10px;
      justify-content: center;
      align-items: center;
      margin-top: 18px;
    }

    .pager button {
      border: 1px solid var(--border);
      background: #fff;
      padding: 10px 12px;
      border-radius: 14px;
      cursor: pointer;
      font-weight: 900;
      color: var(--ink);
    }

    .pager button.active {
      background: rgba(47, 164, 183, .12);
      border-color: rgba(47, 164, 183, .45);
    }

    /* Chips active */
.blog-chip.active {
  background: rgba(228, 90, 42, .12);
  border-color: rgba(228, 90, 42, .45);
  color: var(--p);
}

/* Featured button */
.featured-cta {
  background: linear-gradient(135deg, var(--p), var(--p2));
  box-shadow: 0 10px 24px rgba(228,90,42,.25);
}

/* Pager active */
.pager button.active {
  background: rgba(228, 90, 42, .12);
  border-color: rgba(228, 90, 42, .45);
}

/* Hero overlay warmer */

