.bs-post {
    --ink: #10231f;
    --muted: #587571;
    --teal: #0e6b67;
    --teal-deep: #0a4f4c;
    --sand: #f4c95d;
    --mist: #eef4f3;
    --paper: #ffffff;
    --line: #d5e2e0;
    --radius: 14px;
    --measure: 68ch;
    --font-head: "Montserrat", "Segoe UI", Tahoma, sans-serif;
    --font-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  }
.bs-post { --font-head: "Montserrat", "Segoe UI", Tahoma, sans-serif; --font-body: "Montserrat", "Segoe UI", Tahoma, sans-serif; }
.bs-post { background: var(--mist); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.8; color: var(--ink); -webkit-font-smoothing: antialiased; }
.bs-post *, .bs-post *::before, .bs-post *::after { box-sizing: border-box; }
.bs-post img { max-width: 100%; height: auto; display: block; }
.bs-post a { color: var(--teal); text-underline-offset: .25em; text-decoration-thickness: 1px; }
.bs-post a:hover { color: var(--teal-deep); text-decoration-thickness: 2px; }
.bs-post :focus-visible { outline: 3px solid var(--sand); outline-offset: 3px; border-radius: 4px; }
.bs-post .bs-wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
.bs-post .bs-cover-img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--radius); background: var(--line); box-shadow: 0 18px 40px -22px rgba(10,79,76,.55); }
.bs-post .bs-prose > *:first-child { margin-top: 0; }
.bs-post .bs-prose img { border-radius: 10px; margin-inline: auto; }
.bs-post .bs-prose .wp-block-image, .bs-post .bs-prose figure { margin: 2rem 0; }
.bs-post .bs-prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.5rem; font-size: .95rem; display: block; overflow-x: auto; }
.bs-post .bs-prose th, .bs-post .bs-prose td { border: 1px solid var(--line); padding: .5rem .75rem; text-align: start; }
.bs-post .bs-prose th { background: var(--mist); font-family: var(--font-head); }
.bs-post .bs-layout.bs-no-cover { padding-top: 3rem; margin-top: -6rem; }
.bs-post .bs-author img.avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.bs-post .comments-area { margin-top: 2rem; }
.bs-post .bs-toc ul ul { padding-inline-start: .85rem; }
.bs-post .bs-layout { min-width: 0; }

.bs-post .bs-progress { position: fixed; inset: 0 0 auto 0; height: 4px; z-index: 60; background: transparent; }
.bs-post .bs-progress span { display: block; height: 100%; width: 0; background: var(--sand); margin-inline-start: auto; }
.bs-post .bs-post-head { background: var(--teal-deep); color: #fff; padding: 3rem 0 9rem; }
.bs-post .bs-breadcrumb ol { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .6rem; font-size: .875rem; line-height: 1.8; }
.bs-post .bs-breadcrumb li + li::before { content: "‹"; margin-inline-end: .6rem; color: rgba(255,255,255,.5); }
.bs-post .bs-breadcrumb a { color: rgba(255,255,255,.82); text-decoration: none; }
.bs-post .bs-breadcrumb a:hover { color: #fff; text-decoration: underline; }
.bs-post .bs-breadcrumb [aria-current] { color: rgba(255,255,255,.6); }
.bs-post .bs-chip {
    display: inline-block; background: var(--sand); color: var(--ink);
    font-family: var(--font-head); font-weight: 600; font-size: .85rem; line-height: 1.5;
    padding: .25rem .9rem; border-radius: 999px; text-decoration: none;
  }
.bs-post .bs-chip:hover { background: #fff; color: var(--ink); }
.bs-post .bs-post-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(1.9rem, 4.2vw, 3.1rem);
    line-height: 1.4;
    margin: 1rem 0 1.25rem;
    max-width: 22em;
    text-wrap: balance;
  }
.bs-post .bs-lede { max-width: 46rem; margin: 0 0 1.75rem; font-size: 1.15rem; line-height: 1.9; color: rgba(255,255,255,.88); }
.bs-post .bs-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.75rem; font-size: .9rem; line-height: 1.7; color: rgba(255,255,255,.8); }
.bs-post .bs-meta-item { display: flex; align-items: center; gap: .5rem; }
.bs-post .bs-meta svg { width: 18px; height: 18px; flex: none; stroke: var(--sand); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bs-post .bs-meta a { color: #fff; }
.bs-post .bs-cover { margin-top: -7rem; position: relative; }
.bs-post .bs-cover figure { margin: 0; }
.bs-post .bs-cover img {
    width: 100%; aspect-ratio: 16 / 8; object-fit: cover;
    border-radius: var(--radius); background: var(--line);
    box-shadow: 0 18px 40px -22px rgba(10,79,76,.55);
  }
.bs-post .bs-cover figcaption { font-size: .85rem; color: var(--muted); padding: .6rem .25rem 0; line-height: 1.7; }
.bs-post .bs-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; padding: 2.5rem 0 4rem; align-items: start; }
.bs-post .bs-article { background: var(--paper); border-radius: var(--radius); padding: clamp(1.25rem, 4vw, 3rem); }
.bs-post .bs-prose { max-width: var(--measure); }
.bs-post .bs-prose > *:first-child { margin-top: 0; }
.bs-post .bs-prose p { margin: 0 0 1.4rem; }
.bs-post .bs-prose h2 {
    font-family: var(--font-head); font-weight: 700; font-size: clamp(1.45rem, 2.6vw, 1.85rem);
    line-height: 1.5; margin: 3rem 0 1rem; color: var(--teal-deep);
  }
.bs-post .bs-prose h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; line-height: 1.6; margin: 2rem 0 .75rem; }
.bs-post .bs-prose ul,
.bs-post .bs-prose ol { margin: 0 0 1.5rem; padding-inline-start: 1.4rem; }
.bs-post .bs-prose li { margin-bottom: .4rem; padding-inline-start: .3rem; }
.bs-post .bs-prose li::marker { color: var(--teal); }
.bs-post .bs-prose strong { font-weight: 600; }
.bs-post .bs-prose blockquote {
    margin: 2rem 0; padding: .25rem 1.5rem; border-inline-start: 5px solid var(--sand);
    font-family: var(--font-head); font-weight: 500; font-size: 1.15rem; line-height: 1.9; color: var(--teal-deep);
  }
.bs-post .bs-prose figure { margin: 2rem 0; }
.bs-post .bs-prose figure img { border-radius: 10px; }
.bs-post .bs-prose figcaption { font-size: .85rem; color: var(--muted); margin-top: .5rem; line-height: 1.7; }
.bs-post .bs-note {
    margin: 2rem 0; padding: 1.1rem 1.4rem; background: var(--mist); border-radius: 10px;
    border-inline-start: 5px solid var(--teal); font-size: 1rem; line-height: 1.9;
  }
.bs-post .bs-note p:last-child { margin-bottom: 0; }
.bs-post .bs-inline-cta {
    margin: 3rem 0; padding: 1.75rem; border-radius: var(--radius); background: var(--teal-deep); color: #fff;
    display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between;
  }
.bs-post .bs-inline-cta p { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; line-height: 1.7; max-width: 30rem; }
.bs-post .bs-btn {
    display: inline-block; background: var(--sand); color: var(--ink); text-decoration: none;
    font-family: var(--font-head); font-weight: 600; font-size: .95rem; line-height: 1.6; padding: .7rem 1.5rem; border-radius: 999px;
  }
.bs-post .bs-btn:hover { background: #fff; color: var(--ink); }
.bs-post .bs-faq { margin-top: 3rem; }
.bs-post .bs-faq details { border-top: 1px solid var(--line); padding: .25rem 0; }
.bs-post .bs-faq details:last-child { border-bottom: 1px solid var(--line); }
.bs-post .bs-faq summary {
    cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
    font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; line-height: 1.7; padding: .85rem 0;
  }
.bs-post .bs-faq summary::-webkit-details-marker { display: none; }
.bs-post .bs-faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--teal); flex: none; }
.bs-post .bs-faq details[open] summary::after { content: "–"; }
.bs-post .bs-faq details p { margin: 0 0 1rem; max-width: var(--measure); }
.bs-post .bs-author { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); display: flex; gap: 1.25rem; align-items: flex-start; }
.bs-post .bs-author img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: var(--line); flex: none; }
.bs-post .bs-author p { margin: 0; font-size: .95rem; line-height: 1.9; color: var(--muted); }
.bs-post .bs-author .bs-name { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.bs-post .bs-aside { position: sticky; top: 88px; display: grid; gap: 2rem; }
.bs-post .bs-widget-title { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; line-height: 1.6; margin: 0 0 .75rem; }
.bs-post .bs-toc { background: var(--paper); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.bs-post .bs-toc ul { list-style: none; margin: 0; padding: 0; }
.bs-post .bs-toc a {
    display: block; padding: .3rem .85rem; margin-inline-start: -.85rem;
    border-inline-start: 3px solid transparent; color: var(--ink); text-decoration: none; font-size: .95rem; line-height: 1.7;
  }
.bs-post .bs-toc a:hover { color: var(--teal); }
.bs-post .bs-toc a.bs-is-active { border-inline-start-color: var(--sand); color: var(--teal-deep); font-weight: 600; }
.bs-post .bs-toc ul ul { padding-inline-start: .85rem; }
.bs-post .bs-toc ul ul a { font-size: .88rem; color: var(--muted); }
.bs-post .bs-side-cta { background: var(--sand); border-radius: var(--radius); padding: 1.5rem; }
.bs-post .bs-side-cta p { margin: 0 0 1rem; font-family: var(--font-head); font-weight: 600; line-height: 1.7; }
.bs-post .bs-side-cta .bs-btn { background: var(--teal-deep); color: #fff; }
.bs-post .bs-side-cta .bs-btn:hover { background: var(--ink); color: #fff; }
.bs-post .bs-cats ul { list-style: none; margin: 0; padding: 0; }
.bs-post .bs-cats li { border-bottom: 1px solid var(--line); }
.bs-post .bs-cats a { display: block; padding: .5rem 0; color: var(--ink); text-decoration: none; font-size: .95rem; line-height: 1.7; }
.bs-post .bs-cats a:hover { color: var(--teal); }
.bs-post .bs-read-also { background: var(--paper); border-top: 1px solid var(--line); padding: 3rem 0; }
.bs-post .bs-read-also h2 { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; line-height: 1.5; margin: 0 0 1.25rem; }
.bs-post .bs-read-also ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 2.5rem; }
.bs-post .bs-read-also li { border-top: 1px solid var(--line); padding: 1rem 0 1.25rem; }
.bs-post .bs-read-also a { font-family: var(--font-head); font-weight: 600; line-height: 1.8; color: var(--ink); text-decoration: none; }
.bs-post .bs-read-also a:hover { color: var(--teal); text-decoration: underline; }
@media (max-width: 1000px) {
.bs-post .bs-layout { grid-template-columns: minmax(0, 1fr); }
.bs-post .bs-aside { position: static; }
.bs-post .bs-read-also ul { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
.bs-post .bs-post-head { padding-bottom: 7rem; }
.bs-post .bs-cover { margin-top: -5rem; }
.bs-post .bs-cover img { aspect-ratio: 16 / 10; }
}
@media (prefers-reduced-motion: reduce) {
.bs-post html { scroll-behavior: auto; }
}
.bs-post .bs-progress span { margin-inline-start: 0; }
[dir="rtl"] .bs-post .bs-progress span { margin-inline-start: auto; }
.bs-post .bs-prose .bs-author img { margin: 0; flex: none; }

/* ===== Branspect.com site theme: black ground, white Montserrat, gold #E7BB35 ===== */
.bs-post {
  --ink: #ffffff; --muted: #9a9da0; --teal: #E7BB35; --teal-deep: #E7BB35; --sand: #E7BB35;
  --mist: #000000; --paper: #161616; --line: #2e3236; --radius: 14px;
  --gold-hover: #f2cd5c; --on-gold: #111111; --raise: #1d2327;
  background: #000; color: rgba(255,255,255,.86); font-size: 1rem; line-height: 1.8;
}
.bs-post a:hover { color: var(--gold-hover); }
.bs-post .bs-post-head { background: #000; border-bottom: 1px solid var(--line); }
.bs-post .bs-post-title { font-weight: 500; letter-spacing: -.01em; }
.bs-post .bs-lede { font-weight: 400; color: rgba(255,255,255,.78); }
.bs-post .bs-cover-img { box-shadow: 0 18px 40px -22px rgba(0,0,0,.9); border: 1px solid var(--line); }
.bs-post .bs-article { background: var(--paper); border: 1px solid var(--line); }
.bs-post .bs-prose h2, .bs-post .bs-prose h3 { color: #fff; font-weight: 500; }
.bs-post .bs-prose strong { color: #fff; font-weight: 600; }
.bs-post .bs-prose blockquote { color: #fff; font-weight: 500; }
.bs-post .bs-note { background: var(--raise); border-inline-start-color: var(--sand); }
.bs-post .bs-prose th { background: var(--raise); }
.bs-post .bs-chip, .bs-post .bs-btn { color: var(--on-gold); background: var(--sand); }
.bs-post .bs-chip:hover, .bs-post .bs-btn:hover { background: #fff; color: var(--on-gold); }
.bs-post .bs-inline-cta { background: var(--sand); color: var(--on-gold); }
.bs-post .bs-inline-cta .bs-btn { background: var(--on-gold); color: #fff; }
.bs-post .bs-inline-cta .bs-btn:hover { background: #fff; color: var(--on-gold); }
.bs-post .bs-side-cta { background: var(--sand); color: var(--on-gold); }
.bs-post .bs-side-cta p { color: var(--on-gold); }
.bs-post .bs-side-cta .bs-btn { background: var(--on-gold); color: #fff; }
.bs-post .bs-side-cta .bs-btn:hover { background: #fff; color: var(--on-gold); }
.bs-post .bs-toc, .bs-post .bs-read-also { background: var(--paper); }
.bs-post .bs-toc a.bs-is-active { color: var(--sand); }
.bs-post .bs-toc a:hover, .bs-post .bs-cats a:hover, .bs-post .bs-read-also a:hover { color: var(--sand); }
.bs-post .bs-read-also { border-top: 1px solid var(--line); }
.bs-post .bs-read-also a, .bs-post .bs-cats a, .bs-post .bs-toc a { color: rgba(255,255,255,.88); }
.bs-post .bs-faq summary { color: #fff; font-weight: 500; }
.bs-post .bs-author .bs-name { color: #fff; }
.bs-post .bs-author p { color: var(--muted); }
.bs-post .bs-breadcrumb a { color: rgba(255,255,255,.75); }
.bs-post .bs-meta, .bs-post .bs-meta-item { color: rgba(255,255,255,.7); }
.bs-post .bs-meta a { color: #fff; }

/* ===== Theme overlay + isolation fixes ===== */
.bs-post { position: relative; clear: both; width: 100%; overflow-x: clip; }
.bs-post .bs-post-head { position: relative; display: block; width: 100%; background: #000; padding-top: 9.5rem; padding-bottom: 9rem; }
.bs-post .bs-post-head::before, .bs-post .bs-post-head::after { content: none; }
.bs-post .bs-post-title { margin: 1rem 0 1.25rem; padding: 0; max-width: 22em; font-size: clamp(1.7rem, 4vw, 2.9rem); line-height: 1.3; word-break: normal; overflow-wrap: anywhere; }
.bs-post .bs-lede { margin: 0 0 1.75rem; }
.bs-post .bs-article, .bs-post .bs-aside { min-width: 0; }
.bs-post .bs-prose img, .bs-post .bs-prose iframe, .bs-post .bs-prose video { max-width: 100%; height: auto; }
.bs-post .bs-prose iframe { aspect-ratio: 16 / 9; width: 100%; }
.bs-post .bs-prose pre { overflow-x: auto; max-width: 100%; }
.bs-post .bs-prose a { overflow-wrap: anywhere; }
.bs-post .bs-breadcrumb ol, .bs-post .bs-prose ul, .bs-post .bs-prose ol { list-style-position: outside; }
.bs-post .bs-breadcrumb ol, .bs-post .bs-toc ul, .bs-post .bs-cats ul, .bs-post .bs-read-also ul { list-style: none; margin: 0; padding: 0; }
.bs-post .bs-breadcrumb ol { margin: 0 0 1.5rem; }
.bs-post .bs-breadcrumb li, .bs-post .bs-toc li, .bs-post .bs-cats li, .bs-post .bs-read-also li { margin: 0; }
.bs-post .bs-toc ul ul { padding-inline-start: .85rem; }
@media (max-width: 1000px) {
  .bs-post .bs-post-head { padding-top: 8rem; padding-bottom: 8rem; }
  .bs-post .bs-layout { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .bs-post .bs-aside { position: static; order: 2; }
  .bs-post .bs-toc { order: 0; }
}
@media (max-width: 760px) {
  .bs-post .bs-post-head { padding-top: 6.5rem; padding-bottom: 6.5rem; }
  .bs-post .bs-cover { margin-top: -4.5rem; }
  .bs-post .bs-cover-img { aspect-ratio: 16 / 10; border-radius: 10px; }
  .bs-post .bs-wrap { width: calc(100% - 2rem); }
  .bs-post .bs-article { padding: 1.25rem 1.1rem; border-radius: 12px; }
  .bs-post .bs-meta { gap: .35rem 1.1rem; font-size: .82rem; }
  .bs-post .bs-lede { font-size: 1rem; }
  .bs-post .bs-prose h2 { margin-top: 2.25rem; }
  .bs-post .bs-inline-cta { padding: 1.25rem; }
  .bs-post .bs-inline-cta .bs-btn { width: 100%; text-align: center; }
  .bs-post .bs-author { flex-direction: row; }
  .bs-post .bs-read-also ul { grid-template-columns: 1fr; }
}
.bs-post .bs-prose .bs-inline-cta { width: 100%; box-sizing: border-box; }

/* Featured image: never crop on phones/tablets, show the whole image */
@media (max-width: 1000px) {
  .bs-post .bs-cover-img { aspect-ratio: auto !important; height: auto !important; object-fit: contain; width: 100%; }
}
.bs-post .bs-prose > .bs-inline-cta { margin: 2.5rem 0 2rem; }

/* ===== Blog listing ===== */
.bs-post.bs-archive { padding-bottom: 4rem; }
.bs-post .bs-arch-head { background: #000; padding: 9.5rem 0 2.5rem; border-bottom: 1px solid var(--line); }
.bs-post .bs-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.bs-post .bs-pill { display: inline-block; padding: .3rem 1rem; border: 1px solid var(--line); border-radius: 999px; color: #fff; text-decoration: none; font-size: .85rem; font-weight: 500; line-height: 1.6; }
.bs-post .bs-pill:hover { border-color: var(--sand); color: var(--sand); }
.bs-post .bs-pill.is-current { background: var(--sand); border-color: var(--sand); color: var(--on-gold); }
.bs-post .bs-arch-body { padding: 2.5rem 0 1rem; }
.bs-post .bs-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.bs-post .bs-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-width: 0; margin: 0; padding: 0; }
.bs-post .bs-card:hover { border-color: #4a4630; }
.bs-post .bs-card-img { display: block; background: #0d0d0d; }
.bs-post .bs-card-img img { display: block; width: 100%; height: auto !important; max-height: 520px; contain-intrinsic-size: 640px 360px; object-fit: contain; border-radius: 0; margin: 0; }
.bs-post .bs-card-body { display: flex; flex-direction: column; gap: .75rem; padding: 1.4rem 1.5rem 1.6rem; flex: 1; }
.bs-post .bs-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1rem; font-size: .82rem; color: var(--muted); }
.bs-post .bs-card-cat { color: var(--sand); text-decoration: none; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: .75rem; }
.bs-post .bs-card-title { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.35; color: #fff; }
.bs-post .bs-card-title a { color: #fff; text-decoration: none; }
.bs-post .bs-card-title a:hover { color: var(--sand); }
.bs-post .bs-card-excerpt { margin: 0; color: rgba(255,255,255,.72); font-size: .95rem; line-height: 1.7; }
.bs-post .bs-card-btn { align-self: flex-start; margin-top: auto; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; font-weight: 600; font-size: .9rem; padding: .6rem 1.3rem; border-radius: 999px; }
.bs-post .bs-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: 2.5rem; }
.bs-post .bs-pagination .page-numbers { min-width: 2.5rem; padding: .35rem .9rem; border: 1px solid var(--line); border-radius: 999px; color: #fff; text-decoration: none; text-align: center; }
.bs-post .bs-pagination .page-numbers.current, .bs-post .bs-pagination .page-numbers:hover { background: var(--sand); border-color: var(--sand); color: var(--on-gold); }
.bs-post .bs-empty { text-align: center; color: var(--muted); padding: 3rem 0; }
@media (max-width: 1000px) { .bs-post .bs-arch-head { padding-top: 8rem; } }
@media (max-width: 760px) {
  .bs-post .bs-arch-head { padding: 6.5rem 0 2rem; }
  .bs-post .bs-cards { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .bs-post .bs-card-body { padding: 1.15rem 1.1rem 1.35rem; }
}
