html
{
	scroll-behavior: smooth;
}


.dev-hero {
      background-color: #ffffff;
      padding: 32px 0 26px;
      border-bottom: 1px solid #ececec;
    }

    .dev-hero-inner {
      display: grid;
      grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
      gap: 40px;
      align-items: center;
    }

    @media (max-width: 900px) {
      .dev-hero-inner {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .dev-hero-text {
      flex: 1;
    }

    .dev-kicker {
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: #ff9c00;
      margin-bottom: 4px;
    }

    .dev-hero-title {
      font-size: 26px;
      font-weight: 900;
      line-height: 1.4;
      text-transform: uppercase;
    }

    .dev-hero-title span {
      color: #ff9c00;
      display: block;
      margin-top: 4px;
    }

    .dev-hero-desc {
      margin-top: 14px;
      font-size: 13px;
      color: #555;
      max-width: 540px;
    }

    .dev-hero-meta {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    direction: rtl;
    font-size: 11px;
    color: #777;
    flex-direction: row;
    justify-content: flex-start;
    }

    .dev-hero-meta span::before {
      content: "• ";
      color: #ff9c00;
    }

    .dev-hero-media {
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 22px 40px rgba(0,0,0,0.16);
      background: #050505;
    }

    .dev-hero-media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* ===== Quick dev filters / chips ===== */

    .dev-filter-bar {
      background-color: #ffffff;
      border-bottom: 1px solid #f0f0f0;
      padding: 12px 0 14px;
    }

    .dev-filter-inner {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
    }

    .dev-filter-label {
      font-size: 11px;
      font-weight: 700;
      color: #555;
    }

    .dev-chip {
      padding: 6px 12px;
      border-radius: 999px;
      border: 1px solid #f0f0f0;
      background-color: #ffffff;
      font-size: 11px;
      cursor: pointer;
      box-shadow: 0 4px 10px rgba(0,0,0,0.04);
    }

    .dev-chip.primary {
      background-color: #ff9c00;
      border-color: #ff9c00;
      color: #ffffff;
    }

    /* ===== Main layout: subcategory blocks + sidebar ===== */

    .dev-main {
      background-color: #ffffff;
      padding: 28px 0 40px;
    }

    .dev-main-grid {
      display: grid;
      grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
      gap: 32px;
    }

    @media (max-width: 900px) {
      .dev-main-grid {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .section-header {
      margin-bottom: 14px;
    }

    .section-title {
      font-size: 16px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }

    .section-subtitle {
      font-size: 12px;
      color: #666;
      margin-top: 4px;
    }

    /* ===== Subcategory blocks ===== */

    .dev-subsections {
      display: grid;
      gap: 18px;
    }

    .dev-block {
      background-color: #ffffff;
      border-radius: 10px;
      border: 1px solid #f0f0f0;    scroll-margin-top: 100px;
      padding: 14px 14px 12px;
      box-shadow: 0 12px 24px rgba(0,0,0,0.04);
    }

    .dev-block-header {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      gap: 10px;
      margin-bottom: 8px;
    }

    .dev-block-title {
      font-size: 14px;
      font-weight: 800;
    }

    .dev-block-tag {
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: #777;
    }

    .dev-block-desc {
      font-size: 12px;
      color: #555;
      margin-bottom: 8px;
    }

    .dev-links-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px 16px;
      margin-top: 4px;
    }

    @media (max-width: 700px) {
      .dev-links-grid {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .dev-link-item {
      font-size: 12px;
      color: #333;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 6px;
      padding: 4px 0;
      border-bottom: 1px dashed #f0f0f0;
    }

    .dev-link-item:last-child {
      border-bottom: none;
    }

    .dev-link-item a {
      color: inherit;
    }

    .dev-link-item a:hover {
      color: #ff9c00;
    }

    .dev-link-pill {
      font-size: 10px;
      padding: 2px 8px;
      border-radius: 999px;
      border: 1px solid #eee;
      color: #777;
      white-space: nowrap;
    }

    /* ===== Sample article cards in this category ===== */

    .dev-articles {
      margin-top: 22px;
    }

    .dev-articles-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 10px;
      gap: 10px;
    }

    .dev-articles-title {
      font-size: 13px;
      font-weight: 700;
    }

    .dev-articles-more {
      font-size: 11px;
      color: #ff9c00;
      border-bottom: 1px solid #ff9c00;
      padding-bottom: 2px;
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }

    .dev-article-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
    }

    @media (max-width: 700px) {
      .dev-article-grid {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .dev-article-card {
      background-color: #ffffff;
      border-radius: 10px;
      border: 1px solid #f0f0f0;
      box-shadow: 0 10px 22px rgba(0,0,0,0.04);
      padding: 10px 10px 8px;
      display: flex;
      flex-direction: column;
      gap: 6px;
      font-size: 12px;
    }

    .dev-article-top {
      display: flex;
      gap: 8px;
    }

    .dev-article-thumb {
      width: 74px;
      height: 60px;
      border-radius: 8px;
      overflow: hidden;
      background: #000;
      flex-shrink: 0;
    }

    .dev-article-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .dev-article-title {
      font-size: 12px;
      font-weight: 700;
      margin-bottom: 3px;
    }

    .dev-article-meta {
      font-size: 10px;
      color: #777;
    }

    .dev-article-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 10px;
      color: #777;
      margin-top: 4px;
    }

    .pill {
      padding: 3px 8px;
      border-radius: 999px;
      border: 1px solid #eee;
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }

    /* ===== Sidebar ===== */

    .dev-sidebar {
      font-size: 12px;
    }

    .sidebar-card {
      background-color: #ffffff;
      border-radius: 10px;
      border: 1px solid #f0f0f0;
      padding: 14px 14px 12px;
      box-shadow: 0 10px 22px rgba(0,0,0,0.04);
      margin-bottom: 14px;
    }

    .sidebar-title {
      font-size: 13px;
      font-weight: 800;
      text-transform: uppercase;
      margin-bottom: 6px;
    }

    .sidebar-subtitle {
      font-size: 11px;
      color: #777;
      margin-bottom: 8px;
    }

    /* مسیر شروع سریع */

    .dev-steps {
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .dev-step {
      display: flex;
      align-items: flex-start;
      gap: 8px;
      font-size: 11px;
      padding: 4px 0;
      border-bottom: 1px dashed #f0f0f0;
    }

    .dev-step:last-child {
      border-bottom: none;
    }

    .dev-step-number {
      width: 20px;
      height: 20px;
      border-radius: 999px;
      border: 1px solid #ff9c00;
      color: #ff9c00;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 10px;
      flex-shrink: 0;
      margin-top: 2px;
    }

    .dev-step-text {
      flex: 1;
    }

    /* نقشه دسته‌بندی‌ها */

    .sidebar-list {
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .sidebar-list li {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 8px;
      font-size: 11px;
      padding: 4px 0;
      border-bottom: 1px dashed #f0f0f0;
    }

    .sidebar-list li:last-child {
      border-bottom: none;
    }

    .sidebar-badge {
      padding: 2px 8px;
      border-radius: 999px;
      border: 1px solid #eee;
      font-size: 10px;
      color: #777;
      white-space: nowrap;
    }

    /* باکس «فضای برنامه‌نویسی» با کد */

    pre {
      background-color: #111;
      color: #f5f5f5;
      border-radius: 8px;
      padding: 10px 12px;
      font-size: 11px;
      overflow-x: auto;
      font-family: "Fira Code", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        "Liberation Mono", "Courier New", monospace;
      direction: ltr;
      text-align: left;
    }
