/* ===== دليل السعودية — المدونة وصفحة المقال (ملف واحد مشترك، بيتخزّن في المتصفح) ===== */
.bl-page {
  margin: 0;
  background: linear-gradient(180deg, #f5fbfa 0%, #eef7f5 55%, #fbfaf4 100%);
  color: #16393b;
  font-family: Tajawal, Cairo, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  -webkit-text-size-adjust: 100%;
}
.bl-page * {
  box-sizing: border-box;
}
.bl-page img {
  max-width: 100%;
}
.bl {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px 10px;
}
.bl .ksa-bc {
  margin: 14px 2px 12px;
}
.bl .ksa-bc b {
  font-weight: 800;
}

/* شريط تقدّم القراءة */
.bl-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  z-index: 90;
  pointer-events: none;
}
.bl-progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #e9b949, #08a99a);
  transform: scaleX(0);
  transform-origin: right;
  will-change: transform;
}

/* رأس المقال */
.bl-hero {
  position: relative;
  overflow: hidden;
  padding: 30px 32px 26px;
  border-radius: 26px;
  color: #fff;
  background: linear-gradient(140deg, #063f41 0%, #08665f 58%, #0a8f82 100%);
  box-shadow: 0 20px 44px rgba(6, 63, 65, 0.2);
}
.bl-hero:before {
  content: "";
  position: absolute;
  left: -90px;
  top: -110px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 34px solid rgba(255, 255, 255, 0.07);
}
.bl-hero:after {
  content: "";
  position: absolute;
  left: 40px;
  bottom: -70px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 185, 73, 0.22), transparent 70%);
}
.bl-hero > * {
  position: relative;
  z-index: 1;
}
.bl-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(233, 185, 73, 0.16);
  border: 1px solid rgba(233, 185, 73, 0.45);
  color: #ffe29a;
  font-size: 12.5px;
  font-weight: 900;
  text-decoration: none;
}
@media (hover: hover) {
  .bl-chip:hover {
    background: rgba(233, 185, 73, 0.26);
  }
}
.bl-hero h1 {
  margin: 14px 0 10px;
  font-family: Cairo, Tajawal, sans-serif;
  font-size: clamp(24px, 3.6vw, 36px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: #fff;
  max-width: 880px;
}
.bl-lead {
  margin: 0;
  max-width: 820px;
  color: #d3eee9;
  font-size: 16.5px;
  line-height: 1.95;
}
.bl-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.bl-author {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-inline-end: 6px;
}
.bl-author img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  padding: 3px;
  object-fit: contain;
}
.bl-author b {
  display: block;
  font-size: 13.5px;
  font-weight: 900;
  line-height: 1.3;
}
.bl-author small {
  display: block;
  color: #a9ddd4;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}
.bl-m {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e6f7f4;
  font-size: 12.5px;
  font-weight: 800;
}
.bl-m svg {
  color: #e9b949;
}

/* التخطيط: المقال + عمود جانبي */
.bl-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
  align-items: start;
}
@media (min-width: 1000px) {
  .bl-layout {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 24px;
  }
  .bl-side {
    position: sticky;
    top: 14px;
  }
  .bl-toc-m {
    display: none;
  }
}
@media (max-width: 999px) {
  .bl-toc-d {
    display: none;
  }
}

.bl-article {
  background: #fff;
  border: 1px solid #d7ebe6;
  border-radius: 24px;
  padding: 34px 40px 26px;
  box-shadow: 0 14px 34px rgba(6, 63, 65, 0.07);
  min-width: 0;
}

/* فهرس المحتويات */
.bl-toc {
  border: 1px solid #cfe7e1;
  border-radius: 18px;
  background: linear-gradient(160deg, #f0faf7, #fff);
}
.bl-toc-m {
  margin: 0 0 24px;
}
.bl-toc summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  cursor: pointer;
  list-style: none;
  color: #063f41;
  font-family: Cairo, Tajawal, sans-serif;
  font-size: 15px;
  font-weight: 900;
}
.bl-toc summary::-webkit-details-marker {
  display: none;
}
.bl-toc summary svg {
  color: #08a99a;
}
.bl-toc summary small {
  margin-inline-start: auto;
  padding: 2px 9px;
  border-radius: 999px;
  background: #e2f5f0;
  color: #087f76;
  font-size: 11px;
  font-weight: 900;
}
.bl-toc summary:after {
  content: "";
  width: 8px;
  height: 8px;
  border: solid #087f76;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-inline-start: 6px;
  transition: transform 0.2s;
}
.bl-toc[open] summary:after {
  transform: rotate(-135deg);
}
.bl-toc ol {
  margin: 0;
  padding: 0 16px 14px;
  list-style: none;
  counter-reset: t;
}
.bl-toc li {
  counter-increment: t;
  margin: 0;
}
.bl-toc li a {
  display: flex;
  gap: 9px;
  padding: 6px 8px;
  border-radius: 10px;
  color: #2d5556;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  text-decoration: none;
}
.bl-toc li a:before {
  content: counter(t);
  flex: 0 0 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #fff;
  border: 1px solid #cfe7e1;
  color: #087f76;
  font-size: 11px;
  font-weight: 900;
  margin-top: 1px;
}
.bl-toc li a.on {
  background: #e4f6f1;
  color: #063f41;
}
@media (hover: hover) {
  .bl-toc li a:hover {
    background: #e4f6f1;
    color: #063f41;
  }
}
.bl-toc li a.on:before {
  background: #08a99a;
  border-color: #08a99a;
  color: #fff;
}
.bl-toc-d {
  padding: 16px 12px 10px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(6, 63, 65, 0.06);
}
.bl-toc-d > b {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 6px 10px;
  margin-bottom: 6px;
  border-bottom: 1px solid #e3f0ed;
  color: #063f41;
  font-family: Cairo, Tajawal, sans-serif;
  font-size: 14.5px;
  font-weight: 900;
}
.bl-toc-d > b svg {
  color: #08a99a;
}
.bl-toc-d ol {
  padding: 0 0 4px;
  max-height: calc(100vh - 290px);
  overflow: auto;
}
.bl-toc-d li a {
  font-size: 13px;
}

/* نص المقال */
.bl-body {
  font-size: 18px;
  line-height: 2.05;
  color: #23474a;
  overflow-wrap: anywhere;
}
.bl-body > *:first-child {
  margin-top: 0;
}
.bl-body > p:first-child {
  font-size: 19.5px;
  color: #123f40;
  font-weight: 600;
}
.bl-body p {
  margin: 0 0 1.15em;
}
.bl-body h2 {
  position: relative;
  margin: 1.9em 0 0.7em;
  padding-inline-start: 16px;
  font-family: Cairo, Tajawal, sans-serif;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.55;
  color: #063f41;
  scroll-margin-top: 20px;
}
.bl-body h2:before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.35em;
  bottom: 0.35em;
  width: 5px;
  border-radius: 6px;
  background: linear-gradient(#08a99a, #e9b949);
}
.bl-body h3 {
  margin: 1.5em 0 0.5em;
  font-family: Cairo, Tajawal, sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.6;
  color: #087f76;
  scroll-margin-top: 20px;
}
.bl-body h4 {
  margin: 1.3em 0 0.4em;
  font-size: 18px;
  font-weight: 800;
  color: #063f41;
}
.bl-body a {
  color: #087f76;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(8, 127, 118, 0.35);
  text-underline-offset: 4px;
}
@media (hover: hover) {
  .bl-body a:hover {
    text-decoration-color: #087f76;
  }
}
.bl-body strong,
.bl-body b {
  color: #063f41;
  font-weight: 800;
}
.bl-body ul,
.bl-body ol {
  margin: 0 0 1.2em;
  padding-inline-start: 26px;
}
.bl-body ul {
  list-style: disc;
}
.bl-body ol {
  list-style: decimal;
}
.bl-body li {
  margin-bottom: 0.45em;
  padding-inline-start: 4px;
}
.bl-body ul li::marker {
  color: #e9b949;
  font-size: 1.15em;
}
.bl-body ol li::marker {
  color: #087f76;
  font-weight: 900;
}
.bl-body blockquote {
  margin: 1.5em 0;
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid #cde8e1;
  border-inline-start: 5px solid #e9b949;
  background: linear-gradient(135deg, #f1faf7, #fffaea);
  color: #2b5a58;
  font-weight: 700;
}
.bl-body blockquote p:last-child {
  margin-bottom: 0;
}
/* جداول المقال: شكل موحّد + سكرول أفقي على الموبايل بدل ما تكسر الصفحة */
.bl-table {
  margin: 1.5em 0;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #cfe5e0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(6, 63, 65, 0.06);
}
.bl-body table {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15px;
  line-height: 1.7;
}
.bl-body th,
.bl-body td {
  padding: 12px 15px;
  text-align: start;
  vertical-align: top;
  border-bottom: 1px solid #e1efec;
  min-width: 110px;
}
.bl-body th {
  background: linear-gradient(135deg, #087f76, #0aa99a);
  color: #fff;
  font-weight: 900;
  white-space: nowrap;
}
.bl-body tr:nth-child(even) td {
  background: #f6fbfa;
}
.bl-body tr:last-child td {
  border-bottom: 0;
}
.bl-body td:first-child {
  color: #063f41;
  font-weight: 800;
}

/* مشاركة */
.bl-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px dashed #cfe5e0;
}
.bl-share > b {
  color: #063f41;
  font-family: Cairo, Tajawal, sans-serif;
  font-size: 15px;
  font-weight: 900;
}
.bl-share > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bl-share a,
.bl-share button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid #d5e8e4;
  background: #fff;
  color: #2d5556;
  font:
    800 13px Cairo,
    Tajawal,
    sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.bl-share .s-wa {
  background: #e7f8ee;
  border-color: #bfe6cf;
  color: #15803d;
}
.bl-share .s-x {
  background: #f2f4f5;
  border-color: #dde2e4;
  color: #111;
}
@media (hover: hover) {
  .bl-share .s-copy:hover,
  .bl-share a:hover {
    border-color: #08a99a;
  }
}

/* العمود الجانبي */
.bl-side {
  display: grid;
  gap: 16px;
}
.bl-sidecta {
  padding: 20px 18px;
  border-radius: 20px;
  text-align: center;
  color: #fff;
  background: linear-gradient(150deg, #063f41, #087f76);
  box-shadow: 0 14px 30px rgba(6, 63, 65, 0.18);
}
.bl-sidecta small {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(233, 185, 73, 0.18);
  color: #ffe29a;
  font-size: 11px;
  font-weight: 900;
}
.bl-sidecta b {
  display: block;
  margin: 10px 0 4px;
  font-family: Cairo, Tajawal, sans-serif;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.5;
}
.bl-sidecta p {
  margin: 0 0 14px;
  color: #cdeae4;
  font-size: 13px;
  line-height: 1.8;
}
.bl-sidecta a {
  display: block;
  padding: 11px;
  border-radius: 13px;
  background: linear-gradient(135deg, #ffe9a0, #e9b949);
  color: #4a3600;
  font-family: Cairo, Tajawal, sans-serif;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(209, 160, 42, 0.25);
}

/* كروت الأقسام تحت المقال */
.bl-card {
  margin-top: 18px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid #d7ebe6;
  border-radius: 22px;
  box-shadow: 0 10px 26px rgba(6, 63, 65, 0.05);
}
.bl-sec {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 15px;
}
.bl-sec > span {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #e4f6f1;
  color: #087f76;
}
.bl-sec small {
  display: block;
  color: #08a99a;
  font-size: 11.5px;
  font-weight: 900;
  line-height: 1.4;
}
.bl-sec h2 {
  margin: 0;
  font-family: Cairo, Tajawal, sans-serif;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.5;
  color: #063f41;
}
.bl-pricebox {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid #ecd48a;
  background: linear-gradient(135deg, #fff6d6, #fff);
}
.bl-pricebox b {
  font-family: Cairo, Tajawal, sans-serif;
  font-size: 30px;
  font-weight: 900;
  color: #063f41;
  line-height: 1.3;
  white-space: nowrap;
}
.bl-pricebox b small {
  font-size: 15px;
  color: #7a6320;
}
.bl-pricebox p {
  flex: 1 1 240px;
  margin: 0;
  color: #5f6f64;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
}
.bl-more {
  display: inline-block;
  margin-top: 12px;
  color: #087f76;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}
.bl-biz {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 10px;
}
.bl-bizrow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid #d7ebe6;
  border-radius: 16px;
  background: #fbfefd;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
@media (hover: hover) {
  .bl-bizrow:hover {
    border-color: #08a99a;
    box-shadow: 0 8px 18px rgba(6, 63, 65, 0.07);
  }
}
.bl-bizrow .mono {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(145deg, #0aa99a, #087f76);
  color: #fff;
  font-family: Cairo, sans-serif;
  font-size: 18px;
  font-weight: 900;
}
.bl-bizrow .info {
  flex: 1;
  min-width: 0;
}
.bl-bizrow .info > a {
  display: block;
  color: #063f41;
  font-family: Cairo, Tajawal, sans-serif;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.5;
  text-decoration: none;
  overflow-wrap: anywhere;
}
@media (hover: hover) {
  .bl-bizrow .info > a:hover {
    color: #087f76;
  }
}
.bl-bizrow .info small {
  color: #6a8586;
  font-size: 12px;
  font-weight: 700;
}
.bl-bizrow .info em {
  font-style: normal;
  color: #1d6fc2;
}
.bl-bizrow .info i {
  font-style: normal;
  color: #a57a12;
}
.bl-bizrow .acts {
  display: flex;
  gap: 6px;
  flex: 0 0 auto;
}
.bl-bizrow .acts a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid;
  text-decoration: none;
}
.bl-bizrow .acts .c {
  background: #fff1f3;
  border-color: #f3c1c9;
  color: #e2415a;
}
.bl-bizrow .acts .w {
  background: #e7f8ee;
  border-color: #bfe6cf;
  color: #15803d;
}
.bl-bizrow .acts .p {
  background: #eaf8f5;
  border-color: #c5e4de;
  color: #087f76;
}
.bl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bl-tags + .bl-tags {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e6f1ee;
}
.bl-tags a {
  padding: 7px 14px;
  border-radius: 999px;
  background: #effaf7;
  border: 1px solid #c7e5df;
  color: #087f76;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.6;
}
@media (hover: hover) {
  .bl-tags a:hover {
    background: #08a99a;
    border-color: #08a99a;
    color: #fff;
  }
}
.bl-tags-sm a {
  padding: 5px 11px;
  font-size: 12px;
  background: #fff;
}

.bl-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 24px 26px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, #063f41, #087f76 70%, #0aa99a);
  box-shadow: 0 16px 34px rgba(6, 63, 65, 0.18);
}
.bl-cta h2 {
  margin: 0 0 4px;
  font-family: Cairo, Tajawal, sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: #fff;
}
.bl-cta p {
  margin: 0;
  color: #d3eee9;
  font-size: 14px;
}
.bl-cta a {
  flex: 0 0 auto;
  padding: 13px 24px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffe9a0, #e9b949);
  color: #4a3600;
  font-family: Cairo, Tajawal, sans-serif;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(209, 160, 42, 0.28);
}

/* كروت المقالات (ذات صلة + المدونة) */
.bl-head {
  margin: 30px 2px 12px;
  padding-inline-start: 13px;
  border-inline-start: 5px solid #08a99a;
}
.bl-head small {
  display: block;
  color: #08a99a;
  font-size: 12px;
  font-weight: 900;
}
.bl-head h2 {
  margin: 2px 0 0;
  font-family: Cairo, Tajawal, sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: #063f41;
  line-height: 1.5;
}
.bl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 14px;
}
.bl-post {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px 18px;
  border: 1px solid #d7ebe6;
  border-radius: 20px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(6, 63, 65, 0.05);
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
  overflow: hidden;
}
.bl-post:before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(#e9b949, #08a99a);
}
@media (hover: hover) {
  .bl-post:hover {
    transform: translateY(-3px);
    border-color: #08a99a;
    box-shadow: 0 16px 32px rgba(6, 63, 65, 0.11);
  }
}
.bl-pcat {
  align-self: flex-start;
  padding: 3px 11px;
  border-radius: 999px;
  background: #fff4cf;
  border: 1px solid #ecd48a;
  color: #715300;
  font-size: 11.5px;
  font-weight: 900;
}
.bl-post b {
  color: #063f41;
  font-family: Cairo, Tajawal, sans-serif;
  font-size: 17.5px;
  font-weight: 900;
  line-height: 1.6;
}
.bl-post small {
  color: #5b7778;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.85;
}
.bl-post em {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #e6f1ee;
  color: #087f76;
  font-style: normal;
  font-size: 13px;
  font-weight: 900;
}
.bl-related .bl-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr));
}
.bl-post.is-lead {
  grid-column: 1/-1;
  padding: 26px 28px;
  background: linear-gradient(135deg, #fff, #f1faf7);
}
.bl-post.is-lead b {
  font-size: 22px;
}
.bl-post.is-lead small {
  font-size: 15px;
}

/* فهرس المدونة */
.bl-filter {
  display: flex;
  gap: 8px;
  margin: 16px 0 0;
  padding: 4px 2px 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.bl-filter::-webkit-scrollbar {
  display: none;
}
.bl-filter a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d3e8e3;
  color: #2d5556;
  font-family: Cairo, Tajawal, sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.bl-filter a svg {
  width: 16px;
  height: 16px;
  color: #08a99a;
}
.bl-filter a small {
  padding: 0 7px;
  border-radius: 999px;
  background: #eef7f5;
  color: #5f7d7c;
  font-size: 11px;
}
.bl-filter a.on {
  background: #063f41;
  border-color: #063f41;
  color: #fff;
}
.bl-filter a.on svg {
  color: #e9b949;
}
.bl-filter a.on small {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.bl-list {
  margin-top: 14px;
}
.bl-empty {
  padding: 30px;
  text-align: center;
  background: #fff;
  border: 1px dashed #cfe5e0;
  border-radius: 20px;
  color: #5b7778;
}

.bl-page .ksa-page-note {
  margin: 22px 0 0;
  color: #6a8586;
  font-size: 13px;
}
.bl-page .ksa-page-note a {
  color: #087f76;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 680px) {
  .bl {
    padding: 0 12px 6px;
  }
  .bl-hero {
    padding: 22px 18px 18px;
    border-radius: 21px;
  }
  .bl-hero h1 {
    font-size: 23px;
    line-height: 1.5;
  }
  .bl-lead {
    font-size: 15px;
  }
  .bl-meta {
    gap: 8px;
    margin-top: 16px;
    padding-top: 13px;
  }
  .bl-author {
    width: 100%;
  }
  .bl-m {
    font-size: 11.5px;
    padding: 4px 10px;
  }
  .bl-article {
    padding: 20px 17px 18px;
    border-radius: 20px;
  }
  .bl-body {
    font-size: 16.5px;
    line-height: 2;
  }
  .bl-body > p:first-child {
    font-size: 17.5px;
  }
  .bl-body h2 {
    font-size: 21px;
    padding-inline-start: 13px;
  }
  .bl-body h3 {
    font-size: 18px;
  }
  .bl-body table {
    font-size: 13px;
  }
  .bl-body th,
  .bl-body td {
    padding: 10px 11px;
  }
  .bl-share {
    flex-direction: column;
    align-items: stretch;
  }
  .bl-share > div {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }
  .bl-share a,
  .bl-share button {
    justify-content: center;
    padding: 8px 6px;
    font-size: 12px;
  }
  .bl-card {
    padding: 17px 15px;
    border-radius: 19px;
  }
  .bl-sec h2 {
    font-size: 17.5px;
  }
  .bl-biz {
    grid-template-columns: 1fr;
  }
  .bl-pricebox b {
    font-size: 25px;
  }
  .bl-cta {
    padding: 20px 18px;
    text-align: center;
    justify-content: center;
  }
  .bl-cta a {
    width: 100%;
    text-align: center;
  }
  .bl-head h2 {
    font-size: 20px;
  }
  .bl-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }
  .bl-post {
    padding: 17px 17px 15px;
  }
  .bl-post b {
    font-size: 16.5px;
  }
  .bl-post.is-lead {
    padding: 20px 18px;
  }
  .bl-post.is-lead b {
    font-size: 19px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bl-post,
  .bl-bizrow {
    transition: none;
  }
  @media (hover: hover) {
    .bl-post:hover {
      transform: none;
    }
  }
}
@media print {
  .ks-site-header,
  .ks-drawer-layer,
  .bl-progress,
  .bl-side,
  .bl-share,
  .bl-cta,
  .ks-bottom-nav,
  .ksa-site-footer {
    display: none !important;
  }
  .bl-article {
    border: 0;
    box-shadow: none;
    padding: 0;
  }
}
/* غلاف المقال 16:9 */
.bl-cover {
  margin: 0 0 16px;
  border-radius: 20px;
  overflow: hidden;
  background: #e7f6f4;
  box-shadow: 0 14px 34px rgba(6, 63, 65, 0.12);
}
.bl-cover picture {
  display: block;
}
.bl-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}
@media (max-width: 640px) {
  .bl-cover {
    margin-bottom: 12px;
    border-radius: 16px;
  }
}

/* ===== مقال برعاية شركة (هوية ديجيتال كود أدز: كحلي + بنفسجي + ذهبي) ===== */
.bl-sp { --sp1: #1e1b4b; --sp2: #4338ca; --sp3: #8b5cf6; --spg: #f59e0b; }
.bl-sp .bl-hero { background: radial-gradient(900px 380px at 85% -10%, rgba(139,92,246,.55), transparent 60%), linear-gradient(140deg, #1e1b4b 0%, #312e81 55%, #4c1d95 100%); box-shadow: 0 20px 44px rgba(30,27,75,.25); }
.bl-sp .bl-progress i { background: linear-gradient(90deg, var(--spg), var(--sp3)); }
.bl-sp .bl-body h2 { color: var(--sp1); }
.bl-sp .bl-body h2:before { background: linear-gradient(var(--sp3), var(--spg)); }
.bl-sp .bl-body h3 { color: var(--sp2); }
.bl-sp .bl-body a { color: #5b21b6; text-decoration-color: rgba(91,33,182,.35); }
.bl-sp .bl-body li::marker { color: var(--sp3); }
.bl-sp .bl-toc li a.on { color: #5b21b6; }
.bl-sp .bl-cover { box-shadow: 0 14px 34px rgba(76,29,149,.18); }
.sp-top { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin: 16px 0 0; padding: 16px 18px; border-radius: 22px; background: linear-gradient(135deg, #1e1b4b, #4338ca 60%, #6d28d9); color: #fff; box-shadow: 0 18px 40px rgba(30,27,75,.22); }
.sp-id { display: flex; align-items: center; gap: 12px; flex: 1 1 280px; min-width: 0; }
.sp-logo { flex: 0 0 auto; width: 64px; height: 64px; border-radius: 18px; background: #fff; display: grid; place-items: center; box-shadow: 0 8px 18px rgba(0,0,0,.2); }
.sp-logo img { width: 52px; height: auto; }
.sp-id small { display: block; font-size: 12px; font-weight: 700; color: #c7d2fe; }
.sp-id b { display: block; font: 900 21px/1.35 Cairo, sans-serif; }
.sp-id p { margin: 2px 0 0; font-size: 13.5px; color: #e0e7ff; line-height: 1.6; }
.sp-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.sp-acts a { display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; border-radius: 14px; font: 800 14px Cairo, sans-serif; text-decoration: none !important; white-space: nowrap; }
.sp-wa { background: #25d366; color: #fff !important; box-shadow: 0 8px 18px rgba(37,211,102,.3); }
.sp-call { background: var(--spg, #f59e0b); color: #1e1b4b !important; }
.sp-web { background: rgba(255,255,255,.14); color: #fff !important; border: 1px solid rgba(255,255,255,.28); }
.sp-box { margin: 30px 0 6px; padding: 20px; border-radius: 22px; background: linear-gradient(180deg, #f5f3ff, #fff); border: 1px solid #ddd6fe; }
.sp-box h2 { margin: 0 0 12px; font: 900 22px/1.5 Cairo, sans-serif; color: #1e1b4b; }
.sp-gal { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-bottom: 14px; }
.sp-gal img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 12px 26px rgba(30,27,75,.16); }
.sp-box .sp-web { background: #fff; color: #4338ca !important; border: 1px solid #c7d2fe; }
.sp-side { background: linear-gradient(145deg, #1e1b4b, #4338ca) !important; }
.sp-side a { display: block; text-align: center; }
.sp-cta { background: linear-gradient(135deg, #1e1b4b, #4338ca 60%, #6d28d9) !important; }
.sp-cta a { background: #25d366 !important; color: #fff !important; }
@media (max-width: 640px) { .sp-top { padding: 14px; } .sp-acts { width: 100%; } .sp-top .sp-acts a { flex: 1; justify-content: center; padding: 10px 8px; } }
.sp-box .sp-acts a { flex: 1 1 45%; justify-content: center; }
