@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&display=swap');

html,
body,
#page,
#content,
.site,
.site-content,
.content-area,
.site-main,
.entry-content,
.elementor,
.elementor-section-wrap,
.ast-container {
  background: #06111f !important;
}

body {
  overflow-x: hidden;
}

.chsa-page,
.chsa-page * {
  box-sizing: border-box;
}

.chsa-page {
  --chsa-bg: #06111f;
  --chsa-bg-soft: #08182a;
  --chsa-panel: #0b1c31;
  --chsa-panel-2: #10243d;
  --chsa-text: #f4f7fb;
  --chsa-muted: #97a7bb;
  --chsa-cyan: #27e5c1;
  --chsa-blue: #5b7cff;
  --chsa-border: rgba(255,255,255,.09);
  width: 100%;
  overflow: hidden;
  color: var(--chsa-text);
  background: var(--chsa-bg);
  font-family: "Vazirmatn", Tahoma, sans-serif;
  line-height: 1.95;
}

.chsa-page a {
  color: inherit;
}

.chsa-container {
  width: min(1120px, calc(100% - 42px));
  margin: 0 auto;
}

.chsa-reading-progress {
  height: 3px;
  position: fixed;
  z-index: 10000;
  top: 0;
  right: 0;
  left: 0;
  pointer-events: none;
  background: rgba(255,255,255,.04);
}

.chsa-reading-progress span {
  width: 0;
  height: 100%;
  display: block;
  background: linear-gradient(90deg, var(--chsa-cyan), var(--chsa-blue));
  box-shadow: 0 0 12px rgba(39,229,193,.4);
}

.chsa-hero {
  padding: 82px 0 72px;
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 12% 25%, rgba(91,124,255,.14), transparent 31%),
    radial-gradient(circle at 84% 14%, rgba(39,229,193,.1), transparent 29%),
    linear-gradient(180deg, #071426, #06111f);
}

.chsa-hero-grid {
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: .4;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 96%);
}

.chsa-hero::after {
  content: "";
  width: 78%;
  height: 1px;
  position: absolute;
  top: 58px;
  right: 11%;
  background: linear-gradient(90deg, transparent, rgba(39,229,193,.4), transparent);
}

.chsa-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  color: #71839a;
  font-size: 10px;
}

.chsa-breadcrumb a {
  color: #a5b3c5;
  text-decoration: none;
}

.chsa-breadcrumb a:hover {
  color: var(--chsa-cyan);
}

.chsa-breadcrumb i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--chsa-cyan);
}

.chsa-hero-content {
  max-width: 880px;
  margin: 45px auto 0;
  text-align: center;
}

.chsa-category-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--chsa-cyan);
  font-size: 11px;
  font-weight: 800;
}

.chsa-category-label span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  box-shadow: 0 0 14px rgba(39,229,193,.4);
}

.chsa-hero h1 {
  margin: 16px auto 15px;
  color: #fff;
  font-size: clamp(35px, 4.3vw, 58px);
  line-height: 1.42;
  letter-spacing: -1px;
  font-weight: 900;
}

.chsa-excerpt {
  max-width: 730px;
  margin: 0 auto;
  color: #b2bfd0;
  font-size: 14px;
  line-height: 2.05;
}

.chsa-meta {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 11px;
}

.chsa-author,
.chsa-meta-item {
  min-height: 57px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
}

.chsa-author img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  object-fit: cover;
}

.chsa-author span,
.chsa-meta-item {
  text-align: right;
}

.chsa-author small,
.chsa-author strong,
.chsa-meta-item small,
.chsa-meta-item strong {
  display: block;
}

.chsa-author small,
.chsa-meta-item small {
  color: #72839a;
  font-size: 8px;
}

.chsa-author strong,
.chsa-meta-item strong {
  color: #e9eff7;
  font-size: 11px;
}

.chsa-featured {
  max-width: 990px;
  margin: 45px auto -145px;
  position: relative;
  z-index: 3;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 26px;
  background: #0a1a2e;
  box-shadow: 0 35px 85px rgba(0,0,0,.34);
}

.chsa-featured::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.035);
}

.chsa-featured img {
  width: 100%;
  max-height: 540px;
  display: block;
  object-fit: cover;
}

.chsa-main {
  padding: 190px 0 90px;
  background:
    radial-gradient(circle at 100% 30%, rgba(39,229,193,.055), transparent 25%),
    var(--chsa-bg);
}

.chsa-hero:not(:has(.chsa-featured)) + .chsa-main {
  padding-top: 90px;
}

.chsa-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: 35px;
}

.chsa-article {
  min-width: 0;
}

.chsa-article-toolbar {
  margin-bottom: 18px;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border: 1px solid var(--chsa-border);
  border-radius: 15px;
  background: rgba(255,255,255,.025);
}

.chsa-share-label {
  color: #8191a6;
  font-size: 10px;
}

.chsa-share-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.chsa-share-buttons a,
.chsa-share-buttons button {
  min-height: 33px;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 9px;
  color: #b7c4d4;
  background: rgba(255,255,255,.03);
  font-family: inherit;
  font-size: 9px;
  text-decoration: none;
  cursor: pointer;
  transition: .2s ease;
}

.chsa-share-buttons a:hover,
.chsa-share-buttons button:hover {
  border-color: rgba(39,229,193,.28);
  color: #fff;
  background: rgba(39,229,193,.06);
}

.chsa-content {
  padding: 38px;
  overflow: hidden;
  border: 1px solid var(--chsa-border);
  border-radius: 23px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.012)),
    #09182a;
}

.chsa-content > *:first-child {
  margin-top: 0 !important;
}

.chsa-content > *:last-child {
  margin-bottom: 0 !important;
}

.chsa-content p,
.chsa-content li,
.chsa-content td,
.chsa-content th,
.chsa-content figcaption,
.chsa-content div {
  color: #b5c1d1 !important;
  font-family: "Vazirmatn", Tahoma, sans-serif !important;
}

.chsa-content p {
  margin: 0 0 20px;
  font-size: 14px !important;
  line-height: 2.15 !important;
}

.chsa-content h2,
.chsa-content h3,
.chsa-content h4 {
  scroll-margin-top: 110px;
  color: #fff !important;
  font-family: "Vazirmatn", Tahoma, sans-serif !important;
  font-weight: 850 !important;
}

.chsa-content h2 {
  margin: 42px 0 16px;
  padding-right: 17px;
  position: relative;
  font-size: 27px !important;
  line-height: 1.55 !important;
  letter-spacing: -.4px;
}

.chsa-content h2::before {
  content: "";
  width: 5px;
  position: absolute;
  top: 8px;
  right: 0;
  bottom: 8px;
  border-radius: 4px;
  background: linear-gradient(var(--chsa-cyan), var(--chsa-blue));
}

.chsa-content h3 {
  margin: 31px 0 12px;
  font-size: 21px !important;
  line-height: 1.65 !important;
}

.chsa-content h4 {
  margin: 25px 0 10px;
  font-size: 17px !important;
}

.chsa-content a {
  color: var(--chsa-cyan) !important;
  text-decoration: none;
  border-bottom: 1px dashed rgba(39,229,193,.35);
}

.chsa-content a:hover {
  color: #8cf7e2 !important;
}

.chsa-content ul,
.chsa-content ol {
  margin: 18px 0 24px;
  padding-right: 23px;
}

.chsa-content li {
  margin-bottom: 8px;
  font-size: 13px !important;
  line-height: 2 !important;
}

.chsa-content li::marker {
  color: var(--chsa-cyan);
}

.chsa-content blockquote {
  margin: 28px 0;
  padding: 20px 23px;
  position: relative;
  border: 1px solid rgba(39,229,193,.16) !important;
  border-right: 4px solid var(--chsa-cyan) !important;
  border-radius: 16px;
  color: #d4dee9 !important;
  background: rgba(39,229,193,.045);
}

.chsa-content blockquote p {
  margin: 0;
  color: #d4dee9 !important;
}

.chsa-content img {
  max-width: 100%;
  height: auto;
  margin: 17px auto;
  display: block;
  border-radius: 17px;
}

.chsa-content figure {
  max-width: 100%;
  margin: 26px 0;
}

.chsa-content figcaption {
  margin-top: 7px;
  color: #71839a !important;
  font-size: 9px !important;
  text-align: center;
}

.chsa-content table {
  width: 100%;
  margin: 27px 0;
  overflow: hidden;
  border-collapse: collapse;
  border: 1px solid var(--chsa-border);
  border-radius: 13px;
  background: rgba(255,255,255,.018);
}

.chsa-content th,
.chsa-content td {
  padding: 12px;
  border: 1px solid rgba(255,255,255,.075);
  font-size: 11px !important;
  text-align: right;
}

.chsa-content th {
  color: #fff !important;
  background: rgba(39,229,193,.065);
}

.chsa-content pre,
.chsa-content code {
  direction: ltr;
  color: #d9e7f7 !important;
  background: #04101d !important;
  font-family: Consolas, Monaco, monospace !important;
}

.chsa-content pre {
  max-width: 100%;
  padding: 17px;
  overflow-x: auto;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 13px;
}

.chsa-content iframe,
.chsa-content video {
  max-width: 100%;
  border-radius: 16px;
}

.chsa-sidebar {
  position: sticky;
  top: 105px;
  display: grid;
  gap: 14px;
}

.chsa-toc {
  padding: 18px;
  border: 1px solid var(--chsa-border);
  border-radius: 19px;
  background: rgba(255,255,255,.025);
}

.chsa-toc-title {
  padding-bottom: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.chsa-toc-title span {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.chsa-toc-title small {
  color: #72839a;
  font-size: 8px;
}

.chsa-toc ol {
  max-height: 390px;
  margin: 14px 0 0;
  padding: 0 0 0 4px;
  overflow-y: auto;
  display: grid;
  gap: 5px;
  list-style: none;
}

.chsa-toc li {
  position: relative;
}

.chsa-toc li.is-level-3 {
  padding-right: 12px;
}

.chsa-toc a {
  padding: 8px 10px;
  display: block;
  border-radius: 9px;
  color: #8f9fb3;
  font-size: 10px;
  line-height: 1.75;
  text-decoration: none;
  transition: .2s ease;
}

.chsa-toc a:hover,
.chsa-toc a.is-active {
  color: #fff;
  background: rgba(39,229,193,.065);
}

.chsa-toc a.is-active {
  box-shadow: inset -2px 0 0 var(--chsa-cyan);
}

.chsa-consult {
  padding: 22px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(39,229,193,.19);
  border-radius: 20px;
  background:
    radial-gradient(circle at 0 0, rgba(39,229,193,.1), transparent 36%),
    #0a1b2f;
}

.chsa-consult > span {
  color: var(--chsa-cyan);
  font-size: 9px;
  font-weight: 800;
}

.chsa-consult h3 {
  margin: 8px 0 9px;
  color: #fff;
  font-size: 18px;
  line-height: 1.6;
}

.chsa-consult p {
  margin: 0 0 17px;
  color: #8999ad;
  font-size: 10px;
  line-height: 2;
}

.chsa-consult > a {
  min-height: 55px;
  padding: 10px 12px;
  display: grid;
  align-content: center;
  border-radius: 12px;
  text-decoration: none;
}

.chsa-consult > a:not(.chsa-whatsapp) {
  color: #fff;
  background: #061322;
}

.chsa-consult > a small,
.chsa-consult > a strong {
  display: block;
}

.chsa-consult > a small {
  color: #7e90a5;
  font-size: 8px;
}

.chsa-consult > a strong {
  font-size: 16px;
}

.chsa-consult .chsa-whatsapp {
  min-height: 45px;
  margin-top: 8px;
  place-items: center;
  color: #051421;
  background: var(--chsa-cyan);
  font-size: 11px;
  font-weight: 900;
}

.chsa-tags {
  margin-top: 17px;
  padding: 17px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
  border: 1px solid var(--chsa-border);
  border-radius: 16px;
  background: rgba(255,255,255,.02);
}

.chsa-tags strong {
  color: #fff;
  font-size: 11px;
}

.chsa-tags > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chsa-tags a {
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 999px;
  color: #8fa0b4;
  font-size: 9px;
  text-decoration: none;
}

.chsa-tags a:hover {
  border-color: rgba(39,229,193,.25);
  color: #fff;
}

.chsa-author-box {
  margin-top: 17px;
  padding: 22px;
  display: grid;
  grid-template-columns: 68px 1fr;
  align-items: center;
  gap: 17px;
  border: 1px solid var(--chsa-border);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 50%, rgba(91,124,255,.08), transparent 34%),
    rgba(255,255,255,.025);
}

.chsa-author-box img {
  width: 68px;
  height: 68px;
  border-radius: 17px;
  object-fit: cover;
}

.chsa-author-box small {
  color: var(--chsa-cyan);
  font-size: 8px;
}

.chsa-author-box h3 {
  margin: 2px 0 4px;
  color: #fff;
  font-size: 15px;
}

.chsa-author-box p {
  margin: 0;
  color: #8798ad;
  font-size: 10px;
  line-height: 1.9;
}

.chsa-post-nav {
  margin-top: 17px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.chsa-post-nav a {
  min-height: 86px;
  padding: 15px;
  display: grid;
  align-content: center;
  border: 1px solid var(--chsa-border);
  border-radius: 15px;
  background: rgba(255,255,255,.02);
  text-decoration: none;
  transition: .2s ease;
}

.chsa-post-nav a:hover {
  border-color: rgba(39,229,193,.23);
  background: rgba(39,229,193,.035);
}

.chsa-post-nav small {
  color: #6f8197;
  font-size: 8px;
}

.chsa-post-nav strong {
  margin-top: 3px;
  color: #dce5ef;
  font-size: 11px;
  line-height: 1.75;
}

.chsa-next {
  text-align: left;
}

.chsa-related {
  padding: 85px 0;
  background:
    radial-gradient(circle at 0 50%, rgba(91,124,255,.07), transparent 28%),
    #08172a;
}

.chsa-section-head {
  margin-bottom: 30px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
}

.chsa-section-head > div > span {
  color: var(--chsa-cyan);
  font-size: 10px;
  font-weight: 800;
}

.chsa-section-head h2 {
  margin: 5px 0 0;
  color: #fff;
  font-size: 31px;
  line-height: 1.45;
}

.chsa-section-head > a {
  color: #99a9bc;
  font-size: 10px;
  text-decoration: none;
}

.chsa-section-head > a:hover {
  color: var(--chsa-cyan);
}

.chsa-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.chsa-related-card {
  overflow: hidden;
  border: 1px solid var(--chsa-border);
  border-radius: 20px;
  background: #0a1a2e;
  transition: .28s ease;
}

.chsa-related-card:hover {
  border-color: rgba(39,229,193,.22);
  transform: translateY(-5px);
}

.chsa-related-image {
  height: 185px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: rgba(255,255,255,.18);
  background:
    linear-gradient(145deg, rgba(91,124,255,.27), rgba(39,229,193,.1)),
    #0c2138;
  font-size: 29px;
  font-weight: 900;
  text-decoration: none;
}

.chsa-related-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .4s ease;
}

.chsa-related-card:hover .chsa-related-image img {
  transform: scale(1.04);
}

.chsa-related-body {
  padding: 19px;
}

.chsa-related-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #718299;
  font-size: 8px;
}

.chsa-related-meta i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--chsa-cyan);
}

.chsa-related-card h3 {
  margin: 9px 0 15px;
  color: #fff;
  font-size: 16px;
  line-height: 1.7;
}

.chsa-related-card h3 a {
  text-decoration: none;
}

.chsa-related-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--chsa-cyan);
  font-size: 9px;
  font-weight: 800;
  text-decoration: none;
}

.chsa-related-more svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.chsa-bottom-cta {
  padding: 0 0 90px;
  background: #08172a;
}

.chsa-bottom-cta-box {
  min-height: 300px;
  padding: 42px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 40px;
  border-radius: 29px;
  color: #061321;
  background:
    linear-gradient(120deg, rgba(255,255,255,.26), transparent 45%),
    var(--chsa-cyan);
}

.chsa-bottom-cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .19;
  background-image: radial-gradient(#061321 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent, #000);
}

.chsa-bottom-cta-box > div {
  position: relative;
  z-index: 2;
}

.chsa-bottom-cta-box > div:first-child > span {
  font-size: 10px;
  font-weight: 900;
}

.chsa-bottom-cta-box h2 {
  max-width: 680px;
  margin: 8px 0 10px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.48;
  letter-spacing: -.6px;
  font-weight: 950;
}

.chsa-bottom-cta-box p {
  max-width: 630px;
  margin: 0;
  color: rgba(6,19,33,.7);
  font-size: 11px;
}

.chsa-bottom-actions {
  display: grid;
  gap: 9px;
}

.chsa-bottom-actions a {
  min-height: 66px;
  padding: 12px 16px;
  border-radius: 15px;
  text-decoration: none;
}

.chsa-bottom-call {
  display: grid;
  align-content: center;
  color: #fff !important;
  background: #071426;
}

.chsa-bottom-call small,
.chsa-bottom-call strong {
  display: block;
}

.chsa-bottom-call small {
  color: #8496ac;
  font-size: 8px;
}

.chsa-bottom-call strong {
  font-size: 19px;
}

.chsa-bottom-wa {
  min-height: 50px !important;
  display: grid;
  place-items: center;
  border: 1px solid rgba(6,19,33,.19);
  color: #061321;
  background: rgba(255,255,255,.23);
  font-size: 11px;
  font-weight: 900;
}

.chsa-notice {
  margin: 30px auto;
  padding: 20px;
  width: min(700px, calc(100% - 30px));
  border-radius: 15px;
  color: #fff;
  background: #0b1c31;
  font-family: "Vazirmatn", Tahoma, sans-serif;
  text-align: center;
}

.ch-floating-contact,
.ch2-floating-contact,
.chp-floating-contact {
  display: none !important;
}

@media (max-width: 980px) {
  .chsa-layout {
    grid-template-columns: 1fr;
  }

  .chsa-sidebar {
    position: static;
    grid-template-columns: 1fr 1fr;
    order: -1;
  }

  .chsa-toc ol {
    max-height: 260px;
  }

  .chsa-related-grid {
    grid-template-columns: 1fr 1fr;
  }

  .chsa-bottom-cta-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .chsa-container {
    width: min(100% - 28px, 1120px);
  }

  .chsa-hero {
    padding: 70px 0 55px;
  }

  .chsa-hero-content {
    margin-top: 32px;
  }

  .chsa-hero h1 {
    font-size: 32px;
    letter-spacing: -.5px;
  }

  .chsa-excerpt {
    font-size: 13px;
  }

  .chsa-featured {
    margin-top: 32px;
    margin-bottom: -95px;
    border-radius: 20px;
  }

  .chsa-featured img {
    max-height: 390px;
  }

  .chsa-main {
    padding: 130px 0 70px;
  }

  .chsa-hero:not(:has(.chsa-featured)) + .chsa-main {
    padding-top: 65px;
  }

  .chsa-sidebar {
    grid-template-columns: 1fr;
  }

  .chsa-article-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .chsa-content {
    padding: 25px 20px;
  }

  .chsa-content p {
    font-size: 13px !important;
  }

  .chsa-content h2 {
    font-size: 23px !important;
  }

  .chsa-content h3 {
    font-size: 19px !important;
  }

  .chsa-content table {
    display: block;
    overflow-x: auto;
  }

  .chsa-post-nav {
    grid-template-columns: 1fr;
  }

  .chsa-next {
    text-align: right;
  }

  .chsa-related {
    padding: 65px 0;
  }

  .chsa-related-grid {
    grid-template-columns: 1fr;
  }

  .chsa-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .chsa-section-head h2 {
    font-size: 27px;
  }

  .chsa-bottom-cta-box {
    padding: 28px;
  }

  .chsa-bottom-cta-box h2 {
    font-size: 29px;
  }
}

@media (max-width: 470px) {
  .chsa-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .chsa-author {
    grid-column: 1 / 3;
  }

  .chsa-share-buttons {
    width: 100%;
  }

  .chsa-share-buttons a,
  .chsa-share-buttons button {
    flex: 1;
    text-align: center;
  }

  .chsa-author-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .chsa-author-box img {
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chsa-page *,
  .chsa-page *::before,
  .chsa-page *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
