@font-face {
  font-family: 'YekanBakh';
  src: url('../fonts/YekanBakhFaNum-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'YekanBakh';
  src: url('../fontsYekanBakhFaNum-Bold.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'YekanBakh';
  src: url('../fonts/YekanBakhFaNum-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


:root {
  --rsk-bg: #f6f8fa;
  --rsk-surface: #ffffff;
  --rsk-surface-soft: #f1f5f5;
  --rsk-text: #111827;
  --rsk-muted: #667085;
  --rsk-border: #e5e7eb;
  --rsk-primary: #0f5c5c;
  --rsk-primary-dark: #083f3f;
  --rsk-primary-light: #e6f3f2;
  --rsk-orange: #f97316;
  --rsk-blue: #2563eb;
  --rsk-green: #16a34a;
  --rsk-radius-lg: 24px;
  --rsk-radius-md: 18px;
  --rsk-radius-sm: 12px;
  --rsk-shadow: 0 18px 55px rgba(15, 23, 42, 0.08);
  --rsk-container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.rsk-site {
  margin: 0;
  background: var(--rsk-bg);
  color: var(--rsk-text);
  font-family: "YekanBakh", "Dana", "IRANSansX", Tahoma, Arial, sans-serif;
  line-height: 1.8;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.rsk-container {
  width: min(var(--rsk-container), calc(100% - 40px));
  margin-inline: auto;
}

.rsk-topbar {
  background: var(--rsk-primary-dark);
  color: #fff;
  font-size: 13px;
}
.rsk-topbar__inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.rsk-topbar a { color: #fed7aa; font-weight: 700; }

.rsk-main-header {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rsk-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.rsk-main-header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.rsk-logo { font-weight: 900; color: var(--rsk-primary-dark); font-size: 20px; white-space: nowrap; }
.rsk-logo img { max-height: 52px; width: auto; }
.rsk-nav ul { list-style: none; display: flex; gap: 20px; padding: 0; margin: 0; align-items: center; }
.rsk-nav a { color: #263238; font-weight: 700; font-size: 14px; }
.rsk-nav a:hover { color: var(--rsk-primary); }
.rsk-header-actions { display: flex; gap: 12px; align-items: center; }
.rsk-menu-toggle { display: none; border: 0; background: var(--rsk-primary-light); border-radius: 10px; padding: 9px 12px; font-size: 20px; }

.rsk-btn,
.rsk-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--rsk-radius-sm);
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
}
.rsk-btn--primary,
.rsk-search button { background: var(--rsk-primary); color: #fff; }
.rsk-btn--primary:hover,
.rsk-search button:hover { background: var(--rsk-primary-dark); }
.rsk-btn--ghost { background: #fff; color: var(--rsk-primary); border-color: var(--rsk-border); }
.rsk-search-btn { font-weight: 800; color: var(--rsk-primary); }
.rsk-link { font-weight: 900; color: var(--rsk-primary); }
.rsk-link--light { color: #fff; }

.rsk-hero {
  padding: 96px 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(249,115,22,.12), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #edf7f6 100%);
  overflow: hidden;
}
.rsk-hero__grid,
.rsk-entity-hero__grid,
.rsk-relationship-section {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 56px;
  align-items: center;
}
.rsk-kicker {
  color: var(--rsk-orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.rsk-hero h1,
.rsk-page-hero h1,
.rsk-entity-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.25;
  color: var(--rsk-text);
  letter-spacing: -0.03em;
}
.rsk-hero p,
.rsk-page-hero p,
.rsk-entity-hero p {
  color: var(--rsk-muted);
  font-size: 18px;
  margin: 0 0 26px;
  max-width: 720px;
}
.rsk-entity-hero h2 { color: var(--rsk-muted); font-size: 20px; margin: -8px 0 16px; }

.rsk-search {
  display: flex;
  max-width: 720px;
  background: #fff;
  border: 1px solid var(--rsk-border);
  border-radius: 18px;
  padding: 8px;
  box-shadow: var(--rsk-shadow);
}
.rsk-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 16px;
  font: inherit;
  background: transparent;
}
.rsk-chip-row,
.rsk-cta-row,
.rsk-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.rsk-chip-row a,
.rsk-badge {
  display: inline-flex;
  border-radius: 999px;
  background: var(--rsk-primary-light);
  color: var(--rsk-primary-dark);
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 800;
}

.rsk-entity-graph {
  background: #fff;
  padding: 24px;
  border-radius: 32px;
  box-shadow: var(--rsk-shadow);
  border: 1px solid var(--rsk-border);
}
.rsk-graph-card {
  background: linear-gradient(180deg, #fff, #f8fafc);
  border: 1px solid var(--rsk-border);
  border-right: 5px solid var(--rsk-primary);
  border-radius: 18px;
  padding: 18px;
}
.rsk-graph-card span { color: var(--rsk-muted); font-weight: 800; font-size: 12px; display: block; }
.rsk-graph-card strong { display: block; font-size: 22px; margin: 4px 0; }
.rsk-graph-card em { color: var(--rsk-primary); font-style: normal; font-weight: 800; }
.rsk-graph-line { height: 28px; width: 2px; background: var(--rsk-border); margin: 0 auto; }
.rsk-graph-card--part { border-right-color: var(--rsk-orange); }
.rsk-graph-card--industry { border-right-color: var(--rsk-green); }
.rsk-graph-card--standard { border-right-color: var(--rsk-blue); }

.rsk-section { padding: 82px 0; }
.rsk-section--soft { background: var(--rsk-surface-soft); }
.rsk-section--dark { background: var(--rsk-primary-dark); color: #fff; }
.rsk-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 32px;
}
.rsk-section h2,
.rsk-section-head h2 { margin: 0; font-size: clamp(26px, 3vw, 38px); line-height: 1.35; }
.rsk-section-head p { color: var(--rsk-muted); margin: 8px 0 0; }
.rsk-section--dark .rsk-section-head p { color: rgba(255,255,255,.72); }

.rsk-hub-grid,
.rsk-archive-grid,
.rsk-mini-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.rsk-archive-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rsk-archive-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rsk-hub-card,
.rsk-card,
.rsk-mini-card,
.rsk-snapshot,
.rsk-filter-box {
  background: var(--rsk-surface);
  border: 1px solid var(--rsk-border);
  border-radius: var(--rsk-radius-lg);
  padding: 24px;
  box-shadow: 0 10px 30px rgba(15,23,42,.04);
}
.rsk-hub-card { min-height: 190px; transition: .2s ease; }
.rsk-hub-card:hover,
.rsk-card:hover { transform: translateY(-3px); box-shadow: var(--rsk-shadow); }
.rsk-hub-card__icon { display: inline-flex; color: var(--rsk-orange); margin-bottom: 18px; }
.rsk-hub-card h3,
.rsk-card h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.4; }
.rsk-hub-card p,
.rsk-card p { color: var(--rsk-muted); margin: 0 0 16px; }
.rsk-hub-card strong,
.rsk-card__link { color: var(--rsk-primary); font-weight: 900; }

.rsk-card { position: relative; overflow: hidden; }
.rsk-card:before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 5px;
  background: var(--rsk-primary);
}
.rsk-card--part:before { background: var(--rsk-orange); }
.rsk-card--standard:before { background: var(--rsk-blue); }
.rsk-card--company:before { background: var(--rsk-green); }
.rsk-card__type {
  display: inline-flex;
  background: var(--rsk-primary-light);
  color: var(--rsk-primary-dark);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 12px;
}
.rsk-card__image { margin: -24px -24px 18px; max-height: 190px; overflow: hidden; background: #e2e8f0; }
.rsk-card__image img { width: 100%; height: 190px; object-fit: cover; }
.rsk-card__image--logo { padding: 20px; background: #fff; }
.rsk-card-meta { display: grid; gap: 6px; margin: 16px 0; color: var(--rsk-muted); font-size: 13px; }
.rsk-card--dark { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #fff; }
.rsk-card--dark p { color: rgba(255,255,255,.75); }

.rsk-page-hero,
.rsk-entity-hero {
  background: linear-gradient(135deg, #ffffff, #edf7f6);
  padding: 72px 0;
  border-bottom: 1px solid var(--rsk-border);
}
.rsk-breadcrumb { color: var(--rsk-muted); font-size: 13px; margin-bottom: 14px; }
.rsk-sticky-tabs {
  position: sticky;
  top: 77px;
  z-index: 90;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rsk-border);
}
.rsk-sticky-tabs .rsk-container { display: flex; gap: 18px; overflow-x: auto; }
.rsk-sticky-tabs a { padding: 14px 0; color: var(--rsk-muted); font-weight: 900; white-space: nowrap; }
.rsk-sticky-tabs a:hover { color: var(--rsk-primary); }

.rsk-snapshot h3 { margin-top: 0; }
.rsk-snapshot__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rsk-snapshot__grid div {
  background: var(--rsk-bg);
  border: 1px solid var(--rsk-border);
  border-radius: 14px;
  padding: 14px;
}
.rsk-snapshot__grid span { display: block; color: var(--rsk-muted); font-size: 12px; font-weight: 800; }
.rsk-snapshot__grid strong { display: block; margin-top: 4px; }

.rsk-readable { max-width: 860px; }
.rsk-content h2 { margin-top: 1.8em; }
.rsk-table-wrap { overflow-x: auto; background: #fff; border-radius: var(--rsk-radius-lg); border: 1px solid var(--rsk-border); }
.rsk-tech-table { width: 100%; border-collapse: collapse; min-width: 620px; background: #fff; }
.rsk-tech-table th,
.rsk-tech-table td { text-align: right; padding: 16px 18px; border-bottom: 1px solid var(--rsk-border); }
.rsk-tech-table th { background: #f8fafc; width: 240px; }
.rsk-tech-table tr:last-child th,
.rsk-tech-table tr:last-child td { border-bottom: 0; }

.rsk-layout-with-filter { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; }
.rsk-filter-box { position: sticky; top: 112px; }
.rsk-filter-box h3 { margin-top: 0; }

.rsk-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--rsk-border);
  border-radius: var(--rsk-radius-lg);
  padding: 24px;
  box-shadow: var(--rsk-shadow);
}
.rsk-flow span { background: var(--rsk-primary-light); color: var(--rsk-primary-dark); border-radius: 14px; padding: 12px 16px; font-weight: 900; }
.rsk-flow b { color: var(--rsk-orange); font-size: 24px; }
.rsk-mini-card { font-weight: 900; text-align: center; }
.rsk-related-group { margin-bottom: 48px; }
.rsk-related-group h3 { margin-bottom: 18px; }

.rsk-footer {
  background: #071f1f;
  color: #fff;
  padding: 64px 0 24px;
}
.rsk-footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.rsk-footer p { color: rgba(255,255,255,.7); }
.rsk-footer a { display: block; color: rgba(255,255,255,.75); margin: 8px 0; }
.rsk-footer a:hover { color: #fff; }
.rsk-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 34px; padding-top: 22px; color: rgba(255,255,255,.6); }

.rsk-pagination { margin-top: 32px; }
.rsk-pagination .page-numbers { display: inline-flex; margin: 0 4px; padding: 8px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--rsk-border); }

@media (max-width: 1024px) {
  .rsk-hero__grid,
  .rsk-entity-hero__grid,
  .rsk-relationship-section,
  .rsk-layout-with-filter { grid-template-columns: 1fr; }
  .rsk-hub-grid,
  .rsk-archive-grid,
  .rsk-archive-grid--4,
  .rsk-archive-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rsk-filter-box { position: static; }
  .rsk-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .rsk-container { width: min(100% - 28px, var(--rsk-container)); }
  .rsk-topbar { display: none; }
  .rsk-main-header__inner { min-height: 66px; }
  .rsk-menu-toggle { display: inline-flex; }
  .rsk-nav {
    display: none;
    position: absolute;
    inset-inline: 14px;
    top: 70px;
    background: #fff;
    border: 1px solid var(--rsk-border);
    border-radius: 18px;
    padding: 16px;
    box-shadow: var(--rsk-shadow);
  }
  .rsk-nav.is-open { display: block; }
  .rsk-nav ul { flex-direction: column; align-items: stretch; }
  .rsk-header-actions .rsk-btn { display: none; }
  .rsk-hero,
  .rsk-page-hero,
  .rsk-entity-hero { padding: 52px 0; }
  .rsk-section { padding: 52px 0; }
  .rsk-search { flex-direction: column; }
  .rsk-search input { min-height: 48px; }
  .rsk-section-head { align-items: start; flex-direction: column; }
  .rsk-hub-grid,
  .rsk-archive-grid,
  .rsk-archive-grid--4,
  .rsk-archive-grid--3,
  .rsk-mini-card-grid,
  .rsk-snapshot__grid,
  .rsk-footer__grid { grid-template-columns: 1fr; }
  .rsk-sticky-tabs { top: 66px; }
}
