/* =========================================================
   OptiRanked – Single Post Template
   Tokens: optiranked-widgets.css (--orw-*)
   ========================================================= */
.orw-single .site-content > .ast-container,
.orw-single #primary { max-width: 100%; width: 100%; padding: 0; margin: 0; display: block; }
.orw-single .site-content { background: #fff; }

.orw-sp { --sp-bl: var(--orw-bl, #1565FF); --sp-nv: var(--orw-nv, #0A1B2F); --sp-ink: #0A1B2F; --sp-tx: #475569;
  --sp-soft: #EEF4FF; --sp-bd: #DCE6F7; --sp-r: 14px; font-family: 'DM Sans', sans-serif; color: var(--sp-tx); }
.orw-sp *, .orw-sp *::before, .orw-sp *::after { box-sizing: border-box; }
.orw-sp h1, .orw-sp h2, .orw-sp h3, .orw-sp h4 { font-family: 'Bricolage Grotesque', sans-serif; color: var(--sp-ink); }
.orw-sp a { text-decoration: none; }
.orw-sp-wrap { max-width: 1200px; margin: 0 auto; padding: 0 2.5rem; }

/* ---------- Buttons / icons ---------- */
.orw-sp-btn { display: inline-flex; align-items: center; gap: 9px; background: var(--sp-bl); color: #fff !important;
  font: 700 15px/1 'DM Sans', sans-serif; padding: 14px 22px; border-radius: 8px; transition: .25s; white-space: nowrap; }
.orw-sp-btn:hover { background: var(--orw-bl2, #0E52D6); transform: translateY(-2px); }
.orw-sp-btn-sm { padding: 10px 16px; font-size: 13px; }
.orw-sp-ico { width: 34px; height: 34px; flex: none; display: inline-grid; place-items: center; border-radius: 8px;
  background: #fff; color: var(--sp-bl); font-size: 15px; box-shadow: 0 2px 8px rgba(21,101,255,.12); }
.orw-sp-ico-lg { width: 46px; height: 46px; flex: none; display: inline-grid; place-items: center; border-radius: 50%;
  background: var(--sp-bl); color: #fff; font-size: 19px; }

/* ---------- HERO ---------- */
.orw-sp-hero { position: relative; overflow: hidden; padding: 56px 0 64px; color: #fff; }
.orw-sp-hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.orw-sp-bc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 22px; color: rgba(255,255,255,.7); }
.orw-sp-bc a { color: rgba(255,255,255,.85); } .orw-sp-bc a:hover { color: #fff; }
.orw-sp-bc i { font-size: 9px; opacity: .6; }
.orw-sp-bc span { color: #fff; }
.orw-sp-badge { display: inline-block; background: var(--sp-bl); color: #fff; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; padding: 6px 13px; border-radius: 30px; margin-bottom: 16px; }
.orw-sp .orw-sp-title { color: #fff; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.1; font-weight: 800; margin: 0 0 20px; }
.orw-sp-title .orw-hlt { color: #3AA0FF; }
.orw-sp-excerpt { font-size: 17px; line-height: 1.65; color: rgba(255,255,255,.78); max-width: 580px; margin: 0 0 28px; }
.orw-sp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; font-size: 14px; }
.orw-sp-author { display: flex; align-items: center; gap: 12px; }
.orw-sp-author img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); }
.orw-sp-author strong { display: block; color: #fff; font-size: 14px; }
.orw-sp-author span { font-size: 13px; color: rgba(255,255,255,.65); }
.orw-sp-mi { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.85); }
.orw-sp-mi i { color: #3AA0FF; }
.orw-sp-share { display: flex; gap: 8px; }
.orw-sp-share a, .orw-sp-share button { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff; font-size: 13px; cursor: pointer; transition: .25s; padding: 0; }
.orw-sp-share a:hover, .orw-sp-share button:hover, .orw-sp-share .is-copied { background: var(--sp-bl); border-color: var(--sp-bl); }
.orw-sp-hero-r { position: relative; }
.orw-sp-hero-r img { width: 100%; height: auto; display: block; border-radius: var(--sp-r);
  -webkit-mask-image: linear-gradient(to left, #000 70%, transparent); mask-image: linear-gradient(to left, #000 70%, transparent); }
.orw-sp-note { position: absolute; top: -6px; left: -10px; z-index: 2; font: 400 21px/1.35 'Caveat', 'Segoe Print', cursive;
  color: #fff; transform: rotate(-6deg); }
.orw-sp-note svg { display: block; width: 60px; margin: 6px 0 0 60px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; }

/* ---------- LAYOUT ---------- */
.orw-sp-body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; padding-top: 28px; padding-bottom: 80px; align-items: start; }
.orw-sp-side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 22px; }
.admin-bar .orw-sp-side { top: 132px; }

.orw-sp-feat { margin: 0 0 24px; }
.orw-sp-feat img { width: 100%; height: auto; aspect-ratio: 16/7; object-fit: cover; border-radius: var(--sp-r); display: block; }

/* ---------- TOC ---------- */
.orw-sp-toc { background: var(--sp-soft); border: 1px solid var(--sp-bd); border-radius: var(--sp-r); padding: 20px 26px; margin-bottom: 36px; }
.orw-sp-toc-h { all: unset; cursor: pointer; display: flex; align-items: center; gap: 12px; width: 100%;
  font: 700 17px 'Bricolage Grotesque', sans-serif; color: var(--sp-ink); }
.orw-sp-toc-caret { margin-left: auto; font-size: 12px; transition: .25s; }
.orw-sp-toc.is-closed .orw-sp-toc-caret { transform: rotate(-90deg); }
.orw-sp-toc.is-closed ol { display: none; }
.orw-sp-toc ol { columns: 2; column-gap: 40px; margin: 16px 0 0; padding-left: 46px; font-size: 15px; }
.orw-sp-toc li { margin: 0 0 9px; break-inside: avoid; color: var(--sp-bl); }
.orw-sp-toc a { color: #334155; transition: .2s; }
.orw-sp-toc a:hover, .orw-sp-toc a.is-active { color: var(--sp-bl); }

/* ---------- CONTENT TYPOGRAPHY ---------- */
.orw-sp-content { counter-reset: orwh2; font-size: 17px; line-height: 1.75; }
.orw-sp-content > *:first-child { margin-top: 0; }
.orw-sp-content p { margin: 0 0 18px; }
.orw-sp-content h2 { counter-increment: orwh2; font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; line-height: 1.25; margin: 44px 0 14px; scroll-margin-top: 110px; }
.orw-sp-content h2::before { content: counter(orwh2) ". "; }
.orw-sp-content h3 { font-size: 21px; font-weight: 700; margin: 30px 0 10px; scroll-margin-top: 110px; }
.orw-sp-content h4 { font-size: 18px; margin: 24px 0 8px; }
.orw-sp-content strong, .orw-sp-content b { color: var(--sp-bl); font-weight: 700; }
.orw-sp-content a { color: var(--sp-bl); text-decoration: underline; text-underline-offset: 3px; }
.orw-sp-content ul:not([class]) { list-style: none; padding: 0; margin: 0 0 22px; }
.orw-sp-content ul:not([class]) > li { position: relative; padding-left: 30px; margin-bottom: 9px; }
.orw-sp-content ul:not([class]) > li::before { content: "\f00c"; font-family: "Font Awesome 6 Free", "Font Awesome 5 Free"; font-weight: 900;
  position: absolute; left: 0; top: 5px; width: 19px; height: 19px; border-radius: 50%; background: var(--sp-soft); color: var(--sp-bl);
  font-size: 10px; display: grid; place-items: center; line-height: 1; }
.orw-sp-content ol:not([class]) { padding-left: 22px; margin: 0 0 22px; }
.orw-sp-content ol:not([class]) li { margin-bottom: 8px; }
.orw-sp-content img { max-width: 100%; height: auto; border-radius: 12px; }
.orw-sp-content blockquote { margin: 26px 0; padding: 18px 24px; border-left: 4px solid var(--sp-bl); background: var(--sp-soft); border-radius: 0 12px 12px 0; font-style: italic; color: var(--sp-ink); }
.orw-sp-content table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--sp-bd); border-radius: 12px; overflow: hidden; margin: 18px 0 28px; font-size: 15px; }
.orw-sp-content th { background: var(--sp-soft); color: var(--sp-ink); font-weight: 700; text-align: left; }
.orw-sp-content th, .orw-sp-content td { padding: 13px 18px; border-bottom: 1px solid var(--sp-bd); border-right: 1px solid var(--sp-bd); }
.orw-sp-content tr > *:last-child { border-right: 0; }
.orw-sp-content tbody tr:last-child td { border-bottom: 0; }
.orw-sp-content td:first-child { font-weight: 600; color: var(--sp-ink); }
.orw-sp-content .wp-block-table { overflow-x: auto; margin: 0; }

/* ---------- CONTENT BLOCKS (shortcodes) ---------- */
.orw-sp-callout { display: flex; gap: 18px; align-items: center; background: var(--sp-soft); border: 1px solid var(--sp-bd);
  border-radius: 12px; padding: 18px 22px; margin: 22px 0 28px; }
.orw-sp-callout-ico { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--sp-bl); color: #fff; display: grid; place-items: center; }
.orw-sp-callout p:last-child { margin: 0; }

.orw-sp-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 22px 0 30px; }
.orw-sp-feat-c { border: 1px solid var(--sp-bd); border-radius: 12px; padding: 18px; background: #fff; transition: .25s; }
.orw-sp-feat-c:hover { border-color: var(--sp-bl); box-shadow: 0 10px 28px rgba(21,101,255,.1); transform: translateY(-3px); }
.orw-sp-feat-c .orw-sp-ico { background: var(--sp-soft); box-shadow: none; margin-bottom: 12px; }
.orw-sp-content .orw-sp-feat-c strong { display: block; color: var(--sp-ink); font-size: 15px; margin-bottom: 6px; font-family: 'Bricolage Grotesque', sans-serif; }
.orw-sp-feat-c p { font-size: 14px; line-height: 1.55; margin: 0; }

.orw-sp-steps { display: grid; gap: 26px; margin: 18px 0 30px; align-items: center; }
.orw-sp-steps.has-cta { grid-template-columns: 1.2fr 1fr; }
.orw-sp-content .orw-sp-steps ol { list-style: none; counter-reset: orwst; padding: 0; margin: 0; }
.orw-sp-steps li { counter-increment: orwst; position: relative; padding-left: 38px; margin-bottom: 13px; }
.orw-sp-steps li::before { content: counter(orwst); position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--sp-bl); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.orw-sp-mini-cta { background: var(--sp-soft); border: 1px solid var(--sp-bd); border-radius: 12px; padding: 22px; }
.orw-sp-content .orw-sp-mini-cta strong { display: flex; align-items: center; gap: 10px; color: var(--sp-ink); font-size: 17px; margin-bottom: 8px; font-family: 'Bricolage Grotesque', sans-serif; }
.orw-sp-mini-cta p { font-size: 14px; line-height: 1.6; margin: 0 0 14px; }
.orw-sp-content .orw-sp-mini-cta a { text-decoration: none; }

.orw-sp-mistakes { list-style: none; padding: 0; margin: 14px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 30px; }
.orw-sp-mistakes li { display: flex; gap: 12px; align-items: baseline; }
.orw-sp-mistakes i { color: #E5484D; font-size: 16px; }

/* ---------- FAQ ---------- */
.orw-sp-nonum { font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; margin: 48px 0 18px; scroll-margin-top: 110px; }
.orw-sp-faq { scroll-margin-top: 110px; }
.orw-sp-faq-i { border: 1px solid var(--sp-bd); border-radius: 12px; margin-bottom: 12px; background: #fff; transition: .25s; }
.orw-sp-faq-i[open] { background: var(--sp-soft); border-color: rgba(21,101,255,.35); }
.orw-sp-faq-i summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center;
  padding: 17px 22px; font: 700 16px 'Bricolage Grotesque', sans-serif; color: var(--sp-ink); }
.orw-sp-faq-i summary::-webkit-details-marker { display: none; }
.orw-sp-faq-i summary i { color: var(--sp-bl); transition: .25s; font-size: 13px; }
.orw-sp-faq-i[open] summary i { transform: rotate(45deg); }
.orw-sp-faq-i > div { padding: 0 22px 16px; font-size: 15.5px; line-height: 1.7; }
.orw-sp-faq-i > div p { margin: 0 0 10px; }

/* ---------- Bottom CTA bar ---------- */
.orw-sp-ctabar { display: flex; align-items: center; gap: 18px; background: var(--sp-soft); border: 1px solid var(--sp-bd);
  border-radius: var(--sp-r); padding: 22px 26px; margin: 40px 0; }
.orw-sp-ctabar-ico { width: 54px; height: 54px; flex: none; border-radius: 12px; background: #fff; color: var(--sp-bl); display: grid; place-items: center; font-size: 22px; box-shadow: 0 4px 14px rgba(21,101,255,.12); }
.orw-sp-ctabar > div { flex: 1; }
.orw-sp-ctabar strong { display: block; font: 700 18px 'Bricolage Grotesque', sans-serif; color: var(--sp-ink); margin-bottom: 3px; }
.orw-sp-ctabar span { font-size: 14.5px; }

/* ---------- Related ---------- */
.orw-sp-related { scroll-margin-top: 110px; }
.orw-sp-rel-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.orw-sp-rel { display: flex; flex-direction: column; border: 1px solid var(--sp-bd); border-radius: 12px; overflow: hidden; background: #fff; transition: .25s; }
.orw-sp-rel:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(10,27,47,.1); }
.orw-sp-rel-img { aspect-ratio: 16/10; background: var(--orw-nv2, #0D2240); overflow: hidden; }
.orw-sp-rel-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.orw-sp-rel-b { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.orw-sp-rel-b small { font-size: 12.5px; color: #6B7280; }
.orw-sp-rel-b strong { font: 700 16px/1.35 'Bricolage Grotesque', sans-serif; color: var(--sp-ink); }
.orw-sp-rel-b em { margin-top: auto; font-style: normal; font-size: 13.5px; font-weight: 700; color: var(--sp-bl); }

.orw-sp-comments { margin-top: 48px; }
.orw-sp-comments .comments-area { margin: 0; padding: 26px; border: 1px solid var(--sp-bd); border-radius: var(--sp-r); background: #fff; }
.orw-sp-comments input[type=submit] { background: var(--sp-bl); border-radius: 8px; font-family: 'DM Sans', sans-serif; }

/* ---------- SIDEBAR CARDS ---------- */
.orw-sp-card { background: #fff; border: 1px solid var(--sp-bd); border-radius: var(--sp-r); padding: 22px; }
.orw-sp-side-h { font-size: 18px; font-weight: 800; margin: 0 0 16px; }

/* Form card (homepage orw-hcform reused) */
.orw-sp-form { background: linear-gradient(160deg, var(--orw-nv4, #0C1E35), var(--orw-nv2, #0D2240) 55%, var(--orw-nv3, #112950)); border: 0; color: #fff; }
.orw-sp-form-h { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.orw-sp .orw-sp-form h3 { color: #fff; font-size: 19px; font-weight: 800; margin: 0; }
.orw-sp-form-sub { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.72); margin: 0 0 16px; }
.orw-sp-form .orw-hcform { padding: 0; margin: 0; background: none; border: 0; box-shadow: none; }
.orw-sp-form .orw-hcf-form { display: flex; flex-direction: column; gap: 12px; }
.orw-sp-form .orw-hcf-hp { position: absolute !important; left: -9999px !important; }
.orw-sp-form .orw-hcf-field label { display: block; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85); margin-bottom: 6px; }
.orw-sp-form .orw-hcf-field input, .orw-sp-form .orw-hcf-field select, .orw-sp-form .orw-hcf-field textarea {
  width: 100%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 8px; color: #fff;
  font: 400 14px 'DM Sans', sans-serif; padding: 11px 13px; outline: none; transition: .2s; }
.orw-sp-form .orw-hcf-field select option { color: #0A1B2F; }
.orw-sp-form .orw-hcf-field ::placeholder { color: rgba(255,255,255,.45); }
.orw-sp-form .orw-hcf-field input:focus, .orw-sp-form .orw-hcf-field select:focus, .orw-sp-form .orw-hcf-field textarea:focus { border-color: #3AA0FF; background: rgba(255,255,255,.1); }
.orw-sp-form .orw-hcf-submit { width: 100%; justify-content: center; background: var(--sp-bl); color: #fff; border: 0; border-radius: 8px;
  padding: 14px; font: 700 15px 'DM Sans', sans-serif; cursor: pointer; margin-top: 4px; transition: .25s; }
.orw-sp-form .orw-hcf-submit:hover { background: var(--orw-bl2, #0E52D6); }
.orw-sp-form .orw-hcf-msg { font-size: 13.5px; }
.orw-sp-form .orw-hcf-note { text-align: center; font-size: 12.5px; color: rgba(255,255,255,.6); }

/* Latest */
.orw-sp-latest { border-left: 3px solid var(--sp-bl); }
.orw-sp-latest ul, .orw-sp-cats ul { list-style: none; margin: 0; padding: 0; }
.orw-sp-latest li + li { margin-top: 14px; }
.orw-sp-latest a { display: flex; gap: 13px; align-items: center; }
.orw-sp-lt-img { width: 64px; height: 56px; flex: none; border-radius: 8px; overflow: hidden; background: var(--orw-nv2, #0D2240); }
.orw-sp-lt-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.orw-sp-latest strong { display: block; font-size: 14px; line-height: 1.4; color: var(--sp-ink); transition: .2s; }
.orw-sp-latest a:hover strong { color: var(--sp-bl); }
.orw-sp-latest small { font-size: 12.5px; color: #6B7280; }

/* Categories */
.orw-sp-cats li a { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--sp-bd); font-size: 14.5px; color: #334155; transition: .2s; }
.orw-sp-cats li:last-child a { border: 0; }
.orw-sp-cats a:hover { color: var(--sp-bl); padding-left: 4px; }
.orw-sp-cats em { font-style: normal; font-size: 13px; color: #6B7280; }

/* Tags */
.orw-sp-tags div { display: flex; flex-wrap: wrap; gap: 8px; }
.orw-sp-tags a { font-size: 13px; padding: 7px 13px; border: 1px solid var(--sp-bd); border-radius: 30px; color: #334155; transition: .2s; }
.orw-sp-tags a:hover { background: var(--sp-bl); border-color: var(--sp-bl); color: #fff; }

/* Help CTA */
.orw-sp-help { background: linear-gradient(160deg, var(--orw-nv4, #0C1E35), var(--orw-nv3, #112950)); border: 0; color: rgba(255,255,255,.75); padding: 28px 24px; }
.orw-sp .orw-sp-help h3 { color: #fff; font-size: 23px; line-height: 1.25; font-weight: 800; margin: 16px 0 10px; }
.orw-sp-help p { font-size: 14.5px; line-height: 1.6; margin: 0 0 18px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .orw-sp-body { grid-template-columns: minmax(0, 1fr) 310px; }
  .orw-sp-feats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .orw-sp-hero-grid { grid-template-columns: 1fr; }
  .orw-sp-hero-r { display: none; }
  .orw-sp-body { grid-template-columns: 1fr; }
  .orw-sp-side { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .orw-sp-form { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .orw-sp-wrap { padding: 0 16px; }
  .orw-sp-hero { padding: 36px 0 44px; }
  .orw-sp-excerpt { font-size: 15.5px; }
  .orw-sp-content { font-size: 16px; }
  .orw-sp-toc { padding: 16px 18px; }
  .orw-sp-toc ol { columns: 1; padding-left: 20px; }
  .orw-sp-feats, .orw-sp-mistakes, .orw-sp-steps.has-cta, .orw-sp-rel-g, .orw-sp-side { grid-template-columns: 1fr; }
  .orw-sp-ctabar { flex-direction: column; align-items: flex-start; }
  .orw-sp-content table { display: block; overflow-x: auto; white-space: nowrap; }
}

/* ---------- Live fixes ---------- */
.orw-sp .orw-sp-hero {
  --orw-ink-rgb: 255, 255, 255;
  background:
    radial-gradient(ellipse 60% 55% at 84% 10%, rgba(58, 160, 255, .25), transparent 60%),
    radial-gradient(ellipse 45% 45% at 8% 95%, rgba(21, 101, 255, .2), transparent 60%),
    linear-gradient(160deg, var(--orw-nv4, #0C1E35) 0%, var(--orw-nv2, #0D2240) 48%, var(--orw-nv3, #112950) 100%);
}
.orw-sp-content h2 strong, .orw-sp-content h2 b, .orw-sp-content h3 strong, .orw-sp-content h3 b { color: inherit; }

/* .orw-sp class collision with optiranked-widgets.css — reset */
.orw-single .orw-sp, .orw-single .orw-sp:hover { background: none; border: 0; border-radius: 0; padding: 0; transition: none; }

/* Categories + post tags */
.orw-sp-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.orw-sp-badges .orw-sp-badge { margin: 0; color: #fff; transition: .2s; }
.orw-sp-badges .orw-sp-badge:hover { background: #fff; color: var(--sp-bl); }
.orw-sp-posttags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 30px 0 0; padding-top: 22px; border-top: 1px solid var(--sp-bd); }
.orw-sp-posttags strong { color: var(--sp-ink); font-size: 15px; margin-right: 4px; }
.orw-sp-posttags strong i { color: var(--sp-bl); }
.orw-sp-posttags a { font-size: 13px; padding: 7px 13px; border: 1px solid var(--sp-bd); border-radius: 30px; color: #334155; transition: .2s; }
.orw-sp-posttags a:hover { background: var(--sp-bl); border-color: var(--sp-bl); color: #fff; }

/* ================= v2: banner image, form fix, Astra reset ================= */
/* Hero banner image */
.orw-sp .orw-sp-hero {
  background-color: #0A1F4D;
  background-image: linear-gradient(90deg, rgba(8, 24, 60, .96) 0%, rgba(8, 24, 60, .85) 38%, rgba(8, 24, 60, .15) 70%, rgba(8, 24, 60, 0) 100%), var(--sp-hero-bg, none);
  background-size: cover; background-position: right center; background-repeat: no-repeat;
  min-height: 440px; display: flex; align-items: center;
}
.orw-sp .orw-sp-hero > .orw-sp-wrap { width: 100%; }
.orw-sp-note { top: -80px; left: 10%; }
@media (max-width: 1024px) {
  .orw-sp .orw-sp-hero { background-image: linear-gradient(180deg, rgba(8, 24, 60, .9), rgba(8, 24, 60, .92)), var(--sp-hero-bg, none); min-height: 0; }
}

/* Form: remove homepage glass line/dots + label clipping */
.orw-sp-form .orw-hcform { overflow: visible; }
.orw-sp-form .orw-hcform::before, .orw-sp-form .orw-hcform::after { display: none !important; content: none !important; }
.orw-sp-form .orw-hcf-field { margin: 0; }
.orw-sp-form .orw-hcf-field label { text-transform: uppercase; letter-spacing: .4px; font-size: 12px; padding: 0; }

/* Astra defaults reset inside template */
.orw-single .orw-sp a:focus, .orw-single .orw-sp button:focus { outline: none; }
.orw-single .orw-sp a:focus-visible, .orw-single .orw-sp button:focus-visible { outline: 2px solid #3AA0FF; outline-offset: 2px; }
.orw-single .orw-sp h1, .orw-single .orw-sp h2, .orw-single .orw-sp h3, .orw-single .orw-sp h4 { text-transform: none; letter-spacing: normal; }
.orw-single .orw-sp-hero a, .orw-single .orw-sp-side a, .orw-single .orw-sp-rel, .orw-single .orw-sp-posttags a { text-decoration: none; }
.orw-single .orw-sp-form input[type=text], .orw-single .orw-sp-form input[type=email], .orw-single .orw-sp-form select, .orw-single .orw-sp-form textarea {
  background: rgba(255,255,255,.06) !important; border: 1px solid rgba(255,255,255,.16) !important; color: #fff !important;
  border-radius: 8px !important; box-shadow: none !important; padding: 11px 13px !important; font: 400 14px 'DM Sans', sans-serif !important; height: auto; }
.orw-single .orw-sp-form input:focus, .orw-single .orw-sp-form select:focus, .orw-single .orw-sp-form textarea:focus { border-color: #3AA0FF !important; background: rgba(255,255,255,.1) !important; }
.orw-single .orw-sp-form select option { color: #0A1B2F; background: #fff; }
.orw-single .orw-sp-form .orw-hcf-submit, .orw-single .orw-sp-form .orw-hcf-submit:hover, .orw-single .orw-sp-form .orw-hcf-submit:focus {
  color: #fff !important; border: 0 !important; border-radius: 8px !important; box-shadow: none; text-transform: none; letter-spacing: normal; }
.orw-single .orw-sp-form .orw-hcf-submit { background: var(--orw-bl, #1565FF) !important; }
.orw-single .orw-sp-form .orw-hcf-submit:hover { background: var(--orw-bl2, #0E52D6) !important; }
.orw-single .orw-sp-share button, .orw-single .orw-sp-share button:hover, .orw-single .orw-sp-toc-h, .orw-single .orw-sp-toc-h:hover { box-shadow: none; text-transform: none; }
.orw-single .orw-sp-share a, .orw-single .orw-sp-share button { color: #fff !important; }
.orw-single .orw-sp-toc-h, .orw-single .orw-sp-toc-h:hover, .orw-single .orw-sp-toc-h:focus { background: none !important; color: #0A1B2F !important; border: 0 !important; padding: 0 !important; }
.orw-single .orw-sp-comments input[type=text], .orw-single .orw-sp-comments input[type=email], .orw-single .orw-sp-comments input[type=url], .orw-single .orw-sp-comments textarea {
  border: 1px solid #DCE6F7; border-radius: 8px; background: #fff; font-family: 'DM Sans', sans-serif; }
.orw-single .orw-sp-comments .comment-reply-title, .orw-single .orw-sp-comments .comments-title { font-family: 'Bricolage Grotesque', sans-serif; color: #0A1B2F; }
.orw-single .orw-sp-content .orw-sp-btn, .orw-single .orw-sp-btn:hover { text-decoration: none; color: #fff !important; }
.orw-single .orw-sp-toc .orw-sp-ico { box-shadow: none; }

/* v3: note position + TOC icon glyph */
.orw-sp-note { top: -70px; left: -14%; }
.orw-sp-toc .orw-sp-ico i::before { content: "\f0ca"; font-family: "Font Awesome 6 Free", "Font Awesome 5 Free"; font-weight: 900; font-style: normal; }

/* ================= v4: brand byline, TOC list, related slider ================= */
.orw-sp-brand-logo { width: 44px; height: 44px; flex: none; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; border: 2px solid rgba(255,255,255,.3); }
.orw-sp-brand-logo img { width: 100%; height: 100%; object-fit: contain; border: 0 !important; border-radius: 0 !important; padding: 5px; }
.orw-sp-brand-logo b { color: var(--sp-bl); font: 800 20px 'Bricolage Grotesque', sans-serif; }

/* TOC: no default ol padding, custom number badges */
.orw-single .orw-sp-toc ol { list-style: none; padding: 0 !important; margin: 18px 0 0 !important; counter-reset: orwtoc; }
.orw-single .orw-sp-toc li { counter-increment: orwtoc; display: flex; gap: 10px; align-items: flex-start; margin: 0 0 10px; padding: 0; }
.orw-single .orw-sp-toc li::before { content: counter(orwtoc); flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 6px; background: #fff; color: var(--sp-bl); font: 700 11.5px/22px 'DM Sans', sans-serif; text-align: center; box-shadow: 0 1px 4px rgba(21,101,255,.15); }
.orw-single .orw-sp-toc .orw-sp-ico { background: var(--sp-bl); color: #fff; width: 32px; height: 32px; border-radius: 8px; }
.orw-single .orw-sp-toc .orw-sp-ico i { font-size: 13px; line-height: 1; }

/* Related slider */
.orw-sp-rel-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 48px 0 18px; }
.orw-sp-rel-top .orw-sp-nonum { margin: 0; }
.orw-sp-rel-nav { display: flex; gap: 8px; }
.orw-single .orw-sp-rel-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--sp-bd) !important; background: #fff !important; color: var(--sp-ink) !important; padding: 0 !important; cursor: pointer; display: grid; place-items: center; transition: .2s; box-shadow: none; }
.orw-single .orw-sp-rel-nav button:hover { background: var(--sp-bl) !important; border-color: var(--sp-bl) !important; color: #fff !important; }
.orw-single .orw-sp-rel-nav button:disabled { opacity: .35; cursor: default; }
.orw-sp-rel-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 3); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 14px; }
.orw-sp-rel-track::-webkit-scrollbar { display: none; }
.orw-sp-rel-track .orw-sp-rel { scroll-snap-align: start; }
.orw-sp-rel-img { position: relative; }
.orw-sp-rel-cat { position: absolute; left: 12px; top: 12px; background: var(--sp-bl); color: #fff; font: 700 11px 'DM Sans', sans-serif; font-style: normal; text-transform: uppercase; letter-spacing: .05em; padding: 5px 10px; border-radius: 30px; }
@media (max-width: 1024px) { .orw-sp-rel-track { grid-auto-columns: calc((100% - 18px) / 2); } }
@media (max-width: 767px) { .orw-sp-rel-track { grid-auto-columns: 85%; } }

/* ================= v5: typography = homepage scale ================= */
.orw-single .orw-sp h1, .orw-single .orw-sp h2, .orw-single .orw-sp h3, .orw-single .orw-sp h4, .orw-single .orw-sp h5 { font-family: 'Bricolage Grotesque', sans-serif !important; color: #0A1B2F; }
.orw-single .orw-sp .orw-sp-title { font-size: clamp(36px, 4.6vw, 58px) !important; font-weight: 800 !important; line-height: 1.04 !important; letter-spacing: -2px !important; color: #fff !important; }
.orw-single .orw-sp-content h2, .orw-single .orw-sp .orw-sp-nonum { font-size: clamp(26px, 2.6vw, 34px) !important; font-weight: 800 !important; line-height: 1.15 !important; letter-spacing: -1px !important; }
.orw-single .orw-sp-content h2 * { font-weight: inherit !important; }
.orw-single .orw-sp-content h3 { font-size: 24px !important; font-weight: 800 !important; line-height: 1.3 !important; letter-spacing: -.3px !important; }
.orw-single .orw-sp-content h4 { font-size: 18px !important; font-weight: 700 !important; line-height: 1.3 !important; }
.orw-single .orw-sp-content, .orw-single .orw-sp-content p, .orw-single .orw-sp-content li, .orw-single .orw-sp-content td { font-family: 'DM Sans', sans-serif !important; font-size: 16.5px; line-height: 1.76; color: rgba(10, 27, 47, .71); font-weight: 400; }
.orw-single .orw-sp-content li { margin-bottom: 8px; }
.orw-single .orw-sp-content strong, .orw-single .orw-sp-content b { font-weight: 700; }
.orw-single .orw-sp-toc-h, .orw-single .orw-sp-side-h, .orw-single .orw-sp-ctabar strong, .orw-single .orw-sp-faq-i summary { font-weight: 800 !important; letter-spacing: -.3px; }
.orw-single .orw-sp-toc a { font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 500; }
.orw-single .orw-sp-badge { font-family: 'DM Sans', sans-serif; font-size: 10.5px; font-weight: 700; letter-spacing: 2px; }
.orw-single .orw-sp-excerpt, .orw-single .orw-sp-form-sub, .orw-single .orw-sp-help p { font-family: 'DM Sans', sans-serif; }
@media (max-width: 767px) {
  .orw-single .orw-sp .orw-sp-title { letter-spacing: -1px !important; }
  .orw-single .orw-sp-content h2, .orw-single .orw-sp .orw-sp-nonum { font-size: 25px !important; letter-spacing: -.5px !important; }
  .orw-single .orw-sp-content h3 { font-size: 20px !important; }
  .orw-single .orw-sp-content p, .orw-single .orw-sp-content li { font-size: 16px; }
}

/* v5.1: dark cards heading color */
.orw-single .orw-sp .orw-sp-form h3, .orw-single .orw-sp .orw-sp-help h3 { color: #fff !important; }

/* v5.2: Bricolage variable font - force wght axis */
.orw-single .orw-sp h1, .orw-single .orw-sp h2, .orw-single .orw-sp h3, .orw-single .orw-sp-content h2, .orw-single .orw-sp-content h3, .orw-single .orw-sp-title, .orw-single .orw-sp-side-h, .orw-single .orw-sp-toc-h, .orw-single .orw-sp-ctabar strong, .orw-single .orw-sp-faq-i summary, .orw-single .orw-sp-rel-b strong { font-variation-settings: "wght" 800; }
.orw-single .orw-sp-content h4, .orw-single .orw-sp-feat-c strong, .orw-single .orw-sp-mini-cta strong { font-variation-settings: "wght" 700; }

/* ================= v6: responsive polish ================= */
@media (max-width: 1024px) {
  .orw-sp .orw-sp-hero { padding: 48px 0 52px; }
  .orw-sp-body { gap: 28px; padding-bottom: 56px; }
  .orw-sp-side { gap: 18px; }
}
@media (max-width: 767px) {
  .orw-sp .orw-sp-hero { padding: 32px 0 36px; }
  .orw-sp-bc { font-size: 13px; margin-bottom: 16px; }
  .orw-sp-meta { gap: 12px 18px; }
  .orw-sp-share { width: 100%; }
  .orw-sp-body { gap: 24px; padding-top: 20px; padding-bottom: 44px; }
  .orw-sp-feat img { aspect-ratio: 16/9; border-radius: 10px; }
  .orw-sp-toc { margin-bottom: 26px; }
  .orw-sp-ctabar { padding: 20px; margin: 30px 0; }
  .orw-sp-ctabar .orw-sp-btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
  .orw-sp-faq-i summary { font-size: 15px; padding: 15px 16px; }
  .orw-sp-faq-i > div { padding: 0 16px 14px; font-size: 15px; }
  .orw-sp-rel-top { margin: 36px 0 14px; }
  .orw-single .orw-sp-rel-nav button { width: 36px; height: 36px; }
  .orw-sp-card { padding: 20px 18px; }
  .orw-sp-posttags { gap: 6px; }
}

/* ================= v7: FAQ styling ================= */
.orw-sp-faq { margin-top: 12px; }
.orw-sp-faq-i { border-radius: 14px; margin-bottom: 12px; box-shadow: 0 2px 10px rgba(10,27,47,.04); transition: border-color .25s, box-shadow .25s, background .25s; }
.orw-sp-faq-i:hover { border-color: rgba(21,101,255,.35); box-shadow: 0 8px 24px rgba(21,101,255,.08); }
.orw-sp-faq-i[open] { background: #fff; border-color: var(--sp-bl); box-shadow: 0 10px 30px rgba(21,101,255,.12); }
.orw-single .orw-sp-faq-i summary { padding: 18px 22px; font-size: 16.5px; line-height: 1.4; gap: 18px; }
.orw-sp-faq-i summary i { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--sp-soft); display: grid; place-items: center; font-size: 12px; transition: transform .25s, background .25s, color .25s; }
.orw-sp-faq-i[open] summary i { background: var(--sp-bl); color: #fff; transform: rotate(45deg); }
.orw-single .orw-sp-faq-i > div { padding: 0 22px 20px; margin: 0 22px 0 22px; padding-left: 0; padding-right: 0; border-top: 1px solid var(--sp-bd); padding-top: 14px; font-family: 'DM Sans', sans-serif; font-size: 15.5px; line-height: 1.75; color: rgba(10,27,47,.71); }
.orw-sp-faq-i > div p:last-child { margin-bottom: 0; }
@media (max-width: 767px) {
  .orw-single .orw-sp-faq-i summary { padding: 15px 16px; font-size: 15px; gap: 12px; }
  .orw-sp-faq-i summary i { width: 26px; height: 26px; font-size: 11px; }
  .orw-single .orw-sp-faq-i > div { margin: 0 16px; padding-bottom: 16px; font-size: 15px; }
}

/* v8: FAQ animation states */
.orw-sp-faq-i summary { user-select: none; }
.orw-sp-faq-i summary i { transition: transform .35s cubic-bezier(.4,0,.2,1), background .25s, color .25s; }
.orw-sp-faq-i[open] summary i { transform: none; background: var(--sp-soft); color: var(--sp-bl); }
.orw-sp-faq-i.is-open summary i { transform: rotate(45deg); background: var(--sp-bl); color: #fff; }
.orw-sp-faq-i[open] { border-color: var(--sp-bd); box-shadow: 0 2px 10px rgba(10,27,47,.04); }
.orw-sp-faq-i.is-open { border-color: var(--sp-bl); box-shadow: 0 10px 30px rgba(21,101,255,.12); }
.orw-sp-faq-i summary { transition: color .25s; }
.orw-sp-faq-i.is-open summary { color: var(--sp-bl); }

/* v9: featured image natural height + long titles */
.orw-single .orw-sp-feat img { aspect-ratio: auto !important; height: auto !important; object-fit: contain; }
.orw-single .orw-sp .orw-sp-title.is-long { font-size: clamp(32px, 3.6vw, 46px) !important; line-height: 1.1 !important; letter-spacing: -1.2px !important; }
