:root {
  --ncc-front-ink: #172033;
  --ncc-front-muted: #667085;
  --ncc-front-border: #d8dee8;
  --ncc-front-surface: #ffffff;
  --ncc-front-soft: #f6f8fb;
  --ncc-front-blue: #155eef;
  --ncc-front-cyan: #0891b2;
  --ncc-front-green: #15803d;
  --ncc-front-amber: #b45309;
  --ncc-front-red: #b42318;
  --ncc-front-radius: 16px;
  --ncc-front-shadow: 0 16px 36px rgba(17, 24, 39, .08);
}

.sw-post-content img.ne-img-float-right,
.sw-page-body img.ne-img-float-right,
.sw-article-content img.ne-img-float-right {
  float: right;
  max-width: 48%;
  height: auto;
  margin: .25em 0 .8em 1.15em;
}

.sw-post-content img.ne-img-float-left,
.sw-page-body img.ne-img-float-left,
.sw-article-content img.ne-img-float-left {
  float: left;
  max-width: 48%;
  height: auto;
  margin: .25em 1.15em .8em 0;
}

.sw-post-content img.ne-img-align-center,
.sw-post-content img.ne-img-full,
.sw-page-body img.ne-img-align-center,
.sw-page-body img.ne-img-full,
.sw-article-content img.ne-img-align-center,
.sw-article-content img.ne-img-full {
  float: none;
  clear: both;
  display: block;
  margin-right: auto;
  margin-left: auto;
}

.sw-post-content .ncc-card,
.sw-post-content .custom-card,
.sw-page-body .ncc-card,
.sw-page-body .custom-card,
.sw-article-content .ncc-card,
.sw-article-content .custom-card {
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: clamp(22px, 4vw, 34px) 0;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--ncc-front-border);
  border-radius: var(--ncc-front-radius);
  background: var(--ncc-front-surface);
  color: var(--ncc-front-ink);
  font-family: "Tajawal", "Readex Pro", "Noto Kufi Arabic", system-ui, sans-serif;
  line-height: 1.95;
  box-shadow: var(--ncc-front-shadow);
}

.sw-post-content .ncc-card *,
.sw-post-content .custom-card *,
.sw-page-body .ncc-card *,
.sw-page-body .custom-card *,
.sw-article-content .ncc-card *,
.sw-article-content .custom-card * {
  box-sizing: border-box;
}

.sw-post-content .ncc-card > :last-child,
.sw-post-content .custom-card > :last-child,
.sw-page-body .ncc-card > :last-child,
.sw-page-body .custom-card > :last-child,
.sw-article-content .ncc-card > :last-child,
.sw-article-content .custom-card > :last-child {
  margin-bottom: 0;
}

.sw-post-content .ncc-card-title,
.sw-post-content .card-title,
.sw-page-body .ncc-card-title,
.sw-page-body .card-title,
.sw-article-content .ncc-card-title,
.sw-article-content .card-title {
  margin: 0 0 12px;
  color: inherit;
  font-size: clamp(20px, 3vw, 27px);
  font-weight: 900;
  line-height: 1.35;
}

.sw-post-content .ncc-kicker,
.sw-page-body .ncc-kicker,
.sw-article-content .ncc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin: 0 0 14px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #e6f4ff;
  color: #075985;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.sw-post-content .ncc-inline-icon,
.sw-post-content .ncc-kicker img,
.sw-page-body .ncc-inline-icon,
.sw-page-body .ncc-kicker img,
.sw-article-content .ncc-inline-icon,
.sw-article-content .ncc-kicker img {
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  max-width: 1.1em;
  vertical-align: -0.18em;
  object-fit: contain;
}

.sw-post-content .ncc-card p,
.sw-page-body .ncc-card p,
.sw-article-content .ncc-card p {
  margin: 0 0 12px;
}

.sw-post-content .ncc-card ul,
.sw-post-content .ncc-card ol,
.sw-page-body .ncc-card ul,
.sw-page-body .ncc-card ol,
.sw-article-content .ncc-card ul,
.sw-article-content .ncc-card ol {
  margin: 0;
  padding-inline-start: 1.3rem;
}

.sw-post-content .ncc-card li,
.sw-page-body .ncc-card li,
.sw-article-content .ncc-card li {
  margin: 0 0 8px;
  padding-inline-start: 4px;
}

.sw-post-content .ncc-card a,
.sw-page-body .ncc-card a,
.sw-article-content .ncc-card a {
  color: var(--ncc-front-blue);
  font-weight: 800;
  text-decoration: none;
}

.sw-post-content .ncc-card a:hover,
.sw-page-body .ncc-card a:hover,
.sw-article-content .ncc-card a:hover {
  text-decoration: underline;
}

.sw-post-content .ncc-card-quote,
.sw-post-content .custom-card-quote,
.sw-page-body .ncc-card-quote,
.sw-page-body .custom-card-quote,
.sw-article-content .ncc-card-quote,
.sw-article-content .custom-card-quote {
  padding-inline-start: clamp(20px, 3vw, 30px);
  border: 0;
  border-inline-start: 6px solid var(--ncc-front-blue);
  background: linear-gradient(180deg, #f8fbff, #eef6ff);
  box-shadow: none;
}

.sw-post-content .ncc-card-quote blockquote,
.sw-post-content .custom-card-quote blockquote,
.sw-page-body .ncc-card-quote blockquote,
.sw-page-body .custom-card-quote blockquote,
.sw-article-content .ncc-card-quote blockquote,
.sw-article-content .custom-card-quote blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  color: #1d2939;
  font-size: clamp(20px, 3.2vw, 29px);
  font-weight: 700;
  line-height: 1.85;
}

.sw-post-content .ncc-card-quote cite,
.sw-post-content .custom-card-quote cite,
.sw-page-body .ncc-card-quote cite,
.sw-page-body .custom-card-quote cite,
.sw-article-content .ncc-card-quote cite,
.sw-article-content .custom-card-quote cite {
  display: block;
  margin-top: 14px;
  color: var(--ncc-front-muted);
  font-size: 14px;
  font-style: normal;
  text-align: end;
}

.sw-post-content .ncc-card-about,
.sw-post-content .custom-card-about,
.sw-page-body .ncc-card-about,
.sw-page-body .custom-card-about,
.sw-article-content .ncc-card-about,
.sw-article-content .custom-card-about {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #173b77;
}

.sw-post-content .ncc-card-summary,
.sw-page-body .ncc-card-summary,
.sw-article-content .ncc-card-summary {
  border-color: #101828;
  background: #101828;
  color: #f8fafc;
}

.sw-post-content .ncc-card-summary .ncc-kicker,
.sw-page-body .ncc-card-summary .ncc-kicker,
.sw-article-content .ncc-card-summary .ncc-kicker {
  background: rgba(255, 255, 255, .12);
  color: #c7d7fe;
}

.sw-post-content .ncc-card-keypoints,
.sw-page-body .ncc-card-keypoints,
.sw-article-content .ncc-card-keypoints {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #14532d;
}

.sw-post-content .ncc-card-keypoints li::marker,
.sw-page-body .ncc-card-keypoints li::marker,
.sw-article-content .ncc-card-keypoints li::marker {
  color: var(--ncc-front-green);
}

.sw-post-content .ncc-card-featured,
.sw-page-body .ncc-card-featured,
.sw-article-content .ncc-card-featured {
  border: 0;
  background: linear-gradient(135deg, #0f766e, #155eef 58%, #7c2d12);
  color: #fff;
}

.sw-post-content .ncc-card-featured-2,
.sw-page-body .ncc-card-featured-2,
.sw-article-content .ncc-card-featured-2 {
  border: 0;
  border-inline-start: 7px solid #22d3ee;
  background: #111827;
  color: #e5e7eb;
}

.sw-post-content .ncc-card-featured-2 .ncc-card-title,
.sw-page-body .ncc-card-featured-2 .ncc-card-title,
.sw-article-content .ncc-card-featured-2 .ncc-card-title {
  color: #67e8f9;
}

.sw-post-content .ncc-card-featured-3,
.sw-page-body .ncc-card-featured-3,
.sw-article-content .ncc-card-featured-3 {
  border-color: #cbd5e1;
  border-inline-start: 7px solid #64748b;
  background: #f8fafc;
  color: #334155;
}

.sw-post-content .ncc-card-stat,
.sw-post-content .custom-card-stat,
.sw-page-body .ncc-card-stat,
.sw-page-body .custom-card-stat,
.sw-article-content .ncc-card-stat,
.sw-article-content .custom-card-stat {
  text-align: center;
  border-color: #b9d6ff;
  background:
    radial-gradient(circle at top right, rgba(21, 94, 239, .12), transparent 38%),
    #ffffff;
}

.sw-post-content .ncc-stat-number,
.sw-post-content .card-stat-number,
.sw-page-body .ncc-stat-number,
.sw-page-body .card-stat-number,
.sw-article-content .ncc-stat-number,
.sw-article-content .card-stat-number {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  color: var(--ncc-front-blue);
  font-size: clamp(44px, 9vw, 82px);
  font-weight: 900;
  line-height: 1;
}

.sw-post-content .ncc-stat-suffix,
.sw-page-body .ncc-stat-suffix,
.sw-article-content .ncc-stat-suffix {
  font-size: .42em;
  font-weight: 800;
}

.sw-post-content .ncc-stat-label,
.sw-post-content .card-stat-label,
.sw-page-body .ncc-stat-label,
.sw-page-body .card-stat-label,
.sw-article-content .ncc-stat-label,
.sw-article-content .card-stat-label {
  margin-top: 12px;
  color: #475467;
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.8;
}

.sw-post-content .ncc-card-alert,
.sw-post-content .custom-card-alert,
.sw-page-body .ncc-card-alert,
.sw-page-body .custom-card-alert,
.sw-article-content .ncc-card-alert,
.sw-article-content .custom-card-alert {
  border-color: #fecdca;
  border-inline-start: 7px solid var(--ncc-front-red);
  background: #fff5f5;
  color: #7a271a;
}

.sw-post-content .ncc-card-alert .ncc-kicker,
.sw-post-content .custom-card-alert .ncc-kicker,
.sw-page-body .ncc-card-alert .ncc-kicker,
.sw-page-body .custom-card-alert .ncc-kicker,
.sw-article-content .ncc-card-alert .ncc-kicker,
.sw-article-content .custom-card-alert .ncc-kicker {
  background: #fee4e2;
  color: var(--ncc-front-red);
}

.sw-post-content .ncc-card-footnote,
.sw-post-content .custom-card-footnote,
.sw-page-body .ncc-card-footnote,
.sw-page-body .custom-card-footnote,
.sw-article-content .ncc-card-footnote,
.sw-article-content .custom-card-footnote {
  display: block;
  padding: 16px 18px;
  border-color: #fedf89;
  border-inline-start: 5px solid #f79009;
  background: #fffaeb;
  color: #7a2e0e;
  font-size: 15px;
  box-shadow: none;
}

.sw-post-content .ncc-footnote-marker,
.sw-page-body .ncc-footnote-marker,
.sw-article-content .ncc-footnote-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-inline-end: 8px;
  border-radius: 50%;
  background: #f79009;
  color: #fff;
  font-weight: 900;
}

.sw-post-content .ncc-card-text-image,
.sw-post-content .custom-card-text-image,
.sw-post-content .ncc-card-profile,
.sw-page-body .ncc-card-text-image,
.sw-page-body .custom-card-text-image,
.sw-page-body .ncc-card-profile,
.sw-article-content .ncc-card-text-image,
.sw-article-content .custom-card-text-image,
.sw-article-content .ncc-card-profile {
  background: #fff;
}

.sw-post-content .ncc-media-layout,
.sw-page-body .ncc-media-layout,
.sw-article-content .ncc-media-layout,
.sw-post-content .card-content-wrapper,
.sw-page-body .card-content-wrapper,
.sw-article-content .card-content-wrapper {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 3vw, 24px);
}

.sw-post-content .ncc-media-text,
.sw-page-body .ncc-media-text,
.sw-article-content .ncc-media-text,
.sw-post-content .card-text-content,
.sw-page-body .card-text-content,
.sw-article-content .card-text-content {
  flex: 1 1 auto;
  min-width: 0;
}

.sw-post-content .ncc-media,
.sw-page-body .ncc-media,
.sw-article-content .ncc-media,
.sw-post-content .card-image,
.sw-page-body .card-image,
.sw-article-content .card-image {
  flex: 0 0 min(330px, 42%);
  margin: 0;
}

.sw-post-content .ncc-media img,
.sw-page-body .ncc-media img,
.sw-article-content .ncc-media img,
.sw-post-content .card-image img,
.sw-page-body .card-image img,
.sw-article-content .card-image img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 13px;
  object-fit: cover;
}

.sw-post-content .ncc-media figcaption,
.sw-page-body .ncc-media figcaption,
.sw-article-content .ncc-media figcaption {
  margin-top: 8px;
  color: var(--ncc-front-muted);
  font-size: 12px;
  line-height: 1.65;
}

.sw-post-content .ncc-image-left .ncc-media-layout,
.sw-page-body .ncc-image-left .ncc-media-layout,
.sw-article-content .ncc-image-left .ncc-media-layout,
.sw-post-content .card-image-left .card-content-wrapper,
.sw-page-body .card-image-left .card-content-wrapper,
.sw-article-content .card-image-left .card-content-wrapper {
  flex-direction: row-reverse;
}

.sw-post-content .ncc-image-top .ncc-media-layout,
.sw-page-body .ncc-image-top .ncc-media-layout,
.sw-article-content .ncc-image-top .ncc-media-layout,
.sw-post-content .card-image-top .card-content-wrapper,
.sw-page-body .card-image-top .card-content-wrapper,
.sw-article-content .card-image-top .card-content-wrapper {
  flex-direction: column;
}

.sw-post-content .ncc-image-top .ncc-media,
.sw-page-body .ncc-image-top .ncc-media,
.sw-article-content .ncc-image-top .ncc-media {
  width: 100%;
  flex-basis: auto;
}

.sw-post-content .ncc-card-profile .ncc-media,
.sw-page-body .ncc-card-profile .ncc-media,
.sw-article-content .ncc-card-profile .ncc-media {
  flex-basis: 176px;
}

.sw-post-content .ncc-card-profile .ncc-media img,
.sw-page-body .ncc-card-profile .ncc-media img,
.sw-article-content .ncc-card-profile .ncc-media img {
  aspect-ratio: 1;
  border-radius: 50%;
}

.sw-post-content .ncc-card-timeline,
.sw-page-body .ncc-card-timeline,
.sw-article-content .ncc-card-timeline {
  background: #f8fafc;
}

.sw-post-content .ncc-timeline,
.sw-page-body .ncc-timeline,
.sw-article-content .ncc-timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sw-post-content .ncc-timeline::before,
.sw-page-body .ncc-timeline::before,
.sw-article-content .ncc-timeline::before {
  content: "";
  position: absolute;
  inset-block: 7px;
  inset-inline-start: 10px;
  width: 2px;
  background: #cbd5e1;
}

.sw-post-content .ncc-timeline li,
.sw-page-body .ncc-timeline li,
.sw-article-content .ncc-timeline li {
  position: relative;
  margin: 0;
  padding-block: 0 18px;
  padding-inline-start: 34px;
  padding-inline-end: 0;
}

.sw-post-content .ncc-timeline li::before,
.sw-page-body .ncc-timeline li::before,
.sw-article-content .ncc-timeline li::before {
  content: "";
  position: absolute;
  top: 9px;
  inset-inline-start: 2px;
  width: 18px;
  height: 18px;
  border: 4px solid #e0f2fe;
  border-radius: 50%;
  background: var(--ncc-front-cyan);
}

.sw-post-content .ncc-card-source,
.sw-page-body .ncc-card-source,
.sw-article-content .ncc-card-source {
  border-color: #a5f3fc;
  background: #ecfeff;
  color: #164e63;
}

.sw-post-content .ncc-card-related-links,
.sw-page-body .ncc-card-related-links,
.sw-article-content .ncc-card-related-links {
  background: #f8fafc;
}

.sw-post-content .ncc-card-related-links li,
.sw-page-body .ncc-card-related-links li,
.sw-article-content .ncc-card-related-links li {
  margin-bottom: 10px;
}

.sw-post-content .ncc-card-pros-cons,
.sw-post-content .ncc-card-comparison,
.sw-page-body .ncc-card-pros-cons,
.sw-page-body .ncc-card-comparison,
.sw-article-content .ncc-card-pros-cons,
.sw-article-content .ncc-card-comparison {
  background: #fff;
}

.sw-post-content .ncc-pros-cons-grid,
.sw-post-content .ncc-comparison-grid,
.sw-page-body .ncc-pros-cons-grid,
.sw-page-body .ncc-comparison-grid,
.sw-article-content .ncc-pros-cons-grid,
.sw-article-content .ncc-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.sw-post-content .ncc-pros,
.sw-post-content .ncc-cons,
.sw-post-content .ncc-comparison-col,
.sw-page-body .ncc-pros,
.sw-page-body .ncc-cons,
.sw-page-body .ncc-comparison-col,
.sw-article-content .ncc-pros,
.sw-article-content .ncc-cons,
.sw-article-content .ncc-comparison-col {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--ncc-front-border);
  border-radius: 13px;
  background: #f8fafc;
}

.sw-post-content .ncc-pros,
.sw-page-body .ncc-pros,
.sw-article-content .ncc-pros {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.sw-post-content .ncc-cons,
.sw-page-body .ncc-cons,
.sw-article-content .ncc-cons {
  border-color: #fed7aa;
  background: #fff7ed;
}

.sw-post-content .ncc-pros h5,
.sw-post-content .ncc-cons h5,
.sw-post-content .ncc-comparison-col h5,
.sw-page-body .ncc-pros h5,
.sw-page-body .ncc-cons h5,
.sw-page-body .ncc-comparison-col h5,
.sw-article-content .ncc-pros h5,
.sw-article-content .ncc-cons h5,
.sw-article-content .ncc-comparison-col h5 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 900;
}

.sw-post-content .ncc-card-mini-chart,
.sw-page-body .ncc-card-mini-chart,
.sw-article-content .ncc-card-mini-chart {
  background: #fff;
}

.sw-post-content .ncc-bars,
.sw-page-body .ncc-bars,
.sw-article-content .ncc-bars {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.sw-post-content .ncc-bar-row,
.sw-page-body .ncc-bar-row,
.sw-article-content .ncc-bar-row {
  display: grid;
  grid-template-columns: minmax(76px, 110px) 1fr minmax(42px, 64px);
  align-items: center;
  gap: 10px;
  color: #344054;
  font-size: 14px;
}

.sw-post-content .ncc-bar-track,
.sw-page-body .ncc-bar-track,
.sw-article-content .ncc-bar-track {
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: #e4e7ec;
}

.sw-post-content .ncc-bar-fill,
.sw-page-body .ncc-bar-fill,
.sw-article-content .ncc-bar-fill {
  display: block;
  width: var(--value, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #06b6d4, #155eef);
}

.sw-post-content .ncc-card-media-embed,
.sw-page-body .ncc-card-media-embed,
.sw-article-content .ncc-card-media-embed {
  border: 0;
  background: #111827;
  color: #fff;
}

.sw-post-content .ncc-embed-box,
.sw-page-body .ncc-embed-box,
.sw-article-content .ncc-embed-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 13px;
  background: #020617;
}

.sw-post-content .ncc-embed-box iframe,
.sw-page-body .ncc-embed-box iframe,
.sw-article-content .ncc-embed-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.sw-post-content .ncc-embed-fallback,
.sw-page-body .ncc-embed-fallback,
.sw-article-content .ncc-embed-fallback {
  padding: 24px;
  color: #c7d7fe;
  text-align: center;
}

@media (max-width: 760px) {
  .sw-post-content img.ne-img-float-right,
  .sw-post-content img.ne-img-float-left,
  .sw-page-body img.ne-img-float-right,
  .sw-page-body img.ne-img-float-left,
  .sw-article-content img.ne-img-float-right,
  .sw-article-content img.ne-img-float-left {
    float: none !important;
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    margin: .85em auto !important;
  }

  .sw-post-content .ncc-card,
  .sw-post-content .custom-card,
  .sw-page-body .ncc-card,
  .sw-page-body .custom-card,
  .sw-article-content .ncc-card,
  .sw-article-content .custom-card {
    padding: 17px;
    border-radius: 13px;
  }

  .sw-post-content .ncc-media-layout,
  .sw-post-content .ncc-image-left .ncc-media-layout,
  .sw-page-body .ncc-media-layout,
  .sw-page-body .ncc-image-left .ncc-media-layout,
  .sw-article-content .ncc-media-layout,
  .sw-article-content .ncc-image-left .ncc-media-layout,
  .sw-post-content .card-content-wrapper,
  .sw-page-body .card-content-wrapper,
  .sw-article-content .card-content-wrapper {
    flex-direction: column;
  }

  .sw-post-content .ncc-media,
  .sw-page-body .ncc-media,
  .sw-article-content .ncc-media,
  .sw-post-content .card-image,
  .sw-page-body .card-image,
  .sw-article-content .card-image {
    width: 100%;
    flex: 0 0 auto;
  }

  .sw-post-content .ncc-pros-cons-grid,
  .sw-post-content .ncc-comparison-grid,
  .sw-page-body .ncc-pros-cons-grid,
  .sw-page-body .ncc-comparison-grid,
  .sw-article-content .ncc-pros-cons-grid,
  .sw-article-content .ncc-comparison-grid {
    grid-template-columns: 1fr;
  }

  .sw-post-content .ncc-bar-row,
  .sw-page-body .ncc-bar-row,
  .sw-article-content .ncc-bar-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media print {
  .sw-post-content .ncc-card,
  .sw-post-content .custom-card,
  .sw-page-body .ncc-card,
  .sw-page-body .custom-card,
  .sw-article-content .ncc-card,
  .sw-article-content .custom-card {
    break-inside: avoid;
    box-shadow: none;
  }
}
