/* NextEvent Blog Experience — every rule is scoped to plugin-owned blog markup. */
body.nxb-blog-view { --nxb-ink:#171923; --nxb-muted:#626879; --nxb-border:#e7e8ec; --nxb-soft:#f7f8fa; --nxb-accent:#E61E4D; }
.nxb-shell, .nxb-shell * { box-sizing:border-box; }
.nxb-shell { color:var(--nxb-ink); font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size:16px; line-height:1.6; -webkit-font-smoothing:antialiased; }
body.nxb-font-system .nxb-shell { font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.nxb-shell a { color:inherit; text-decoration:none; }
.nxb-shell a:focus-visible, .nxb-shell button:focus-visible { outline:3px solid color-mix(in srgb, var(--nxb-accent) 40%, transparent); outline-offset:3px; border-radius:4px; }
.nxb-container { width:min(1200px, calc(100% - 48px)); margin-inline:auto; }
.nxb-archive { padding:76px 0 96px; }
.nxb-archive-header { max-width:760px; margin:0 auto 42px; text-align:center; }
.nxb-eyebrow { margin:0 0 14px; color:var(--nxb-accent); font-size:12px; line-height:1.4; font-weight:700; letter-spacing:.12em; text-transform:uppercase; }
.nxb-archive-header h1 { margin:0; color:var(--nxb-ink); font-size:clamp(34px,4.4vw,52px); font-weight:650; letter-spacing:-.045em; line-height:1.1; text-wrap:balance; }
.nxb-intro { max-width:660px; margin:20px auto 0; color:var(--nxb-muted); font-size:18px; line-height:1.7; }
.nxb-filter-row { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:9px; margin:0 auto 34px; }
.nxb-filter { display:inline-flex; align-items:center; min-height:38px; padding:8px 15px; border:1px solid var(--nxb-border); border-radius:999px; color:#454a58!important; background:#fff; font-size:13px; line-height:1.3; transition:background .18s ease,border-color .18s ease,color .18s ease; }
.nxb-filter:hover,.nxb-filter.is-active { background:var(--nxb-ink); border-color:var(--nxb-ink); color:#fff!important; }
.nxb-post-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:26px 22px; align-items:stretch; }
.nxb-featured-card { grid-column:1/-1; display:grid; grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr); min-height:340px; overflow:hidden; margin-bottom:8px; border:1px solid var(--nxb-border); border-radius:18px; background:#fff; }
.nxb-featured-media,.nxb-card-media { display:block; overflow:hidden; background:var(--nxb-soft); aspect-ratio:16/9; }
.nxb-featured-media { height:100%; min-height:340px; aspect-ratio:auto; }
.nxb-featured-media img,.nxb-card-media img,.nxb-article-featured img { display:block; width:100%; height:100%; object-fit:cover; margin:0; transition:transform .35s ease; }
.nxb-featured-card:hover .nxb-featured-media img,.nxb-post-card:hover .nxb-card-media img { transform:scale(1.025); }
.nxb-featured-copy { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; padding:clamp(26px,4vw,52px); }
.nxb-featured-copy h2 { margin:12px 0 14px; font-size:clamp(25px,2.7vw,36px); font-weight:650; letter-spacing:-.035em; line-height:1.2; text-wrap:balance; }
.nxb-featured-copy>p { margin:17px 0 20px; color:var(--nxb-muted); font-size:16px; line-height:1.7; }
.nxb-post-card { display:flex; min-width:0; flex-direction:column; overflow:hidden; border:1px solid var(--nxb-border); border-radius:15px; background:#fff; transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease; }
.nxb-post-card:hover { transform:translateY(-3px); border-color:#d8dae1; box-shadow:0 12px 32px rgba(18,24,40,.055); }
.nxb-card-media { flex:none; }
.nxb-card-media img { aspect-ratio:16/9; }
.nxb-card-body { display:flex; flex:1; flex-direction:column; align-items:flex-start; padding:22px 22px 23px; }
.nxb-categories { display:flex; flex-wrap:wrap; gap:7px; margin:0 0 12px; }
.nxb-category { display:inline-flex; align-items:center; max-width:100%; padding:5px 10px; border-radius:999px; background:#fff0f3; color:#a31335!important; font-size:11px; line-height:1.4; font-weight:600; }
.nxb-card-body h2,.nxb-card-body h3 { margin:0 0 10px; font-size:20px; line-height:1.38; font-weight:600; letter-spacing:-.025em; text-wrap:pretty; }
.nxb-card-body h2 a:hover,.nxb-card-body h3 a:hover,.nxb-featured-copy h2 a:hover { color:var(--nxb-accent); }
.nxb-meta { display:flex; flex-wrap:wrap; align-items:center; gap:7px 13px; color:#777d8c; font-size:12px; line-height:1.5; }
.nxb-meta span+span:before { content:""; display:inline-block; width:3px; height:3px; margin:0 10px 3px -3px; border-radius:50%; background:#b7bbc4; }
.nxb-card-excerpt { margin:13px 0 18px; color:var(--nxb-muted); font-size:14px; line-height:1.7; }
.nxb-read-link { display:inline-flex; align-items:center; gap:7px; margin-top:auto; color:var(--nxb-accent)!important; font-size:14px; font-weight:600; }
.nxb-read-link span { transition:transform .18s ease; }
.nxb-read-link:hover span { transform:translateX(3px); }
.nxb-image-placeholder { display:block; width:100%; height:100%; min-height:180px; background:linear-gradient(135deg,#f8f8fa,#f0f1f4); }
.nxb-pagination { margin:46px 0 0; }
.nxb-pagination ul { display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:8px; margin:0; padding:0; list-style:none; }
.nxb-pagination li { margin:0; }
.nxb-pagination a,.nxb-pagination span { display:inline-flex; min-width:40px; min-height:40px; align-items:center; justify-content:center; padding:8px 12px; border:1px solid var(--nxb-border); border-radius:9px; font-size:13px; }
.nxb-pagination .current { background:var(--nxb-ink); border-color:var(--nxb-ink); color:#fff; }
.nxb-empty { padding:70px 20px; text-align:center; border:1px solid var(--nxb-border); border-radius:16px; }
.nxb-empty h2 { margin:0 0 8px; font-size:26px; }
.nxb-empty p { margin:0; color:var(--nxb-muted); }
.nxb-single { padding:58px 0 90px; }
.nxb-reading-progress { position:fixed; z-index:9999; top:0; left:0; width:100%; height:3px; background:transparent; pointer-events:none; }
.nxb-reading-progress span { display:block; width:0; height:100%; background:var(--nxb-accent); }
.nxb-article { max-width:100%; }
.nxb-article-header { width:min(820px,calc(100% - 40px)); margin:0 auto 34px; }
.nxb-article-header h1 { margin:14px 0 20px; color:var(--nxb-ink); font-size:clamp(36px,5vw,54px); line-height:1.09; letter-spacing:-.05em; font-weight:650; text-wrap:balance; }
.nxb-article-header .nxb-meta { font-size:13px; }
.nxb-article-deck { margin:22px 0 0; color:#535b6b; font-size:20px; line-height:1.65; }
.nxb-article-featured { width:min(1120px,calc(100% - 40px)); margin:0 auto 52px; overflow:hidden; border-radius:16px; background:var(--nxb-soft); }
.nxb-article-featured img { max-height:590px; object-fit:cover; }
.nxb-reading-layout { display:grid; grid-template-columns:minmax(0,220px) minmax(0,760px); justify-content:center; align-items:start; gap:54px; padding:0 24px; }
.nxb-toc-rail { position:sticky; top:32px; min-width:0; }
.nxb-toc { padding:18px 0 18px 17px; border-left:2px solid var(--nxb-border); }
.nxb-toc-toggle { display:flex; width:100%; align-items:center; justify-content:space-between; gap:10px; padding:0 0 13px; border:0; background:transparent; color:var(--nxb-ink); font:600 13px/1.4 inherit; text-align:left; cursor:pointer; }
.nxb-toc-chevron { transition:transform .2s ease; }
.nxb-toc.is-collapsed .nxb-toc-chevron { transform:rotate(-90deg); }
.nxb-toc-list { display:grid; gap:9px; margin:0; padding:0; list-style:none; }
.nxb-toc-list li { margin:0; padding:0; }
.nxb-toc-list a { display:block; color:#6c7280; font-size:12px; line-height:1.55; transition:color .15s ease; }
.nxb-toc-list a:hover,.nxb-toc-list a.is-active { color:var(--nxb-accent); }
.nxb-toc-level-3 { padding-left:12px!important; }
.nxb-toc.is-collapsed .nxb-toc-list { display:none; }
.nxb-prose { min-width:0; color:#343946; font-size:18px; line-height:1.78; overflow-wrap:anywhere; }
.nxb-prose>*:first-child { margin-top:0; }
.nxb-prose p { margin:0 0 1.45em; color:inherit; font-size:inherit; line-height:inherit; }
.nxb-prose h2 { margin:2.15em 0 .72em; color:#11131a; font-size:32px; line-height:1.25; font-weight:650; letter-spacing:-.035em; scroll-margin-top:28px; text-wrap:balance; }
.nxb-prose h3 { margin:1.8em 0 .65em; color:#171923; font-size:24px; line-height:1.35; font-weight:600; letter-spacing:-.025em; scroll-margin-top:28px; }
.nxb-prose h4 { margin:1.5em 0 .6em; color:#171923; font-size:20px; line-height:1.4; font-weight:600; }
.nxb-prose ul,.nxb-prose ol { margin:0 0 1.6em; padding-left:1.45em; }
.nxb-prose li { margin:.42em 0; padding-left:.15em; }
.nxb-prose li::marker { color:var(--nxb-accent); }
.nxb-prose a { color:var(--nxb-accent); text-decoration:underline; text-decoration-color:color-mix(in srgb,var(--nxb-accent) 35%,transparent); text-underline-offset:3px; }
.nxb-prose a:hover { text-decoration-color:currentColor; }
.nxb-prose strong { color:#171923; font-weight:650; }
.nxb-prose blockquote { margin:2em 0; padding:7px 0 7px 22px; border-left:3px solid var(--nxb-accent); color:#454b59; font-size:21px; line-height:1.6; }
.nxb-prose blockquote p:last-child { margin-bottom:0; }
.nxb-prose img,.nxb-prose video,.nxb-prose iframe { max-width:100%; }
.nxb-prose img { height:auto; border-radius:10px; }
.nxb-prose figure { margin:2em 0; }
.nxb-prose figcaption { margin-top:9px; color:#777d8b; font-size:13px; text-align:center; }
.nxb-prose table { width:100%; margin:1.8em 0; border-collapse:collapse; font-size:15px; line-height:1.55; }
.nxb-prose th,.nxb-prose td { padding:12px 14px; border:1px solid var(--nxb-border); text-align:left; vertical-align:top; }
.nxb-prose th { background:var(--nxb-soft); color:var(--nxb-ink); font-weight:600; }
.nxb-prose pre { max-width:100%; overflow:auto; padding:20px; border:1px solid var(--nxb-border); border-radius:12px; background:#f7f8fa; font-size:14px; }
.nxb-prose code { padding:.15em .35em; border-radius:4px; background:#f2f3f6; font-size:.88em; }
.nxb-prose hr { margin:2.6em 0; border:0; border-top:1px solid var(--nxb-border); }
.nxb-page-links { margin:30px 0; }
.nxb-article-footer { width:min(760px,calc(100% - 40px)); margin:52px auto 0; }
.nxb-tag-list { margin-bottom:28px; }
.nxb-tag-list a { display:inline-block; margin:0 6px 6px 0; padding:6px 10px; border:1px solid var(--nxb-border); border-radius:999px; color:#555d6b; font-size:12px; }
.nxb-author-box { display:flex; align-items:center; gap:15px; padding:22px; border:1px solid var(--nxb-border); border-radius:14px; }
.nxb-avatar { flex:none; border-radius:50%; }
.nxb-author-box strong { font-size:14px; }
.nxb-author-box p { margin:3px 0 0; color:var(--nxb-muted); font-size:13px; }
.nxb-related { width:min(1200px,calc(100% - 48px)); margin:82px auto 0; padding-top:42px; border-top:1px solid var(--nxb-border); }
.nxb-related-heading { margin-bottom:26px; }
.nxb-related-heading h2 { margin:0; font-size:32px; line-height:1.2; font-weight:650; letter-spacing:-.035em; }
.nxb-related .nxb-post-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.nxb-related .nxb-card-body h3 { font-size:19px; }
@media (max-width: 900px) {
 .nxb-post-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
 .nxb-featured-card { grid-template-columns:1fr; }
 .nxb-featured-media { min-height:0; aspect-ratio:16/9; }
 .nxb-featured-copy { padding:28px; }
 .nxb-reading-layout { grid-template-columns:minmax(0,1fr); gap:24px; max-width:800px; margin-inline:auto; padding-inline:24px; }
 .nxb-toc-rail { position:static; }
 .nxb-toc { padding:15px 17px; border:1px solid var(--nxb-border); border-radius:12px; }
 .nxb-toc-toggle { padding-bottom:0; }
 .nxb-toc:not(.is-collapsed) .nxb-toc-toggle { padding-bottom:12px; }
 .nxb-toc-list { gap:8px; }
 .nxb-toc-list a { font-size:13px; }
 .nxb-article-featured { margin-bottom:36px; }
}
@media (max-width: 600px) {
 .nxb-container { width:calc(100% - 36px); }
 .nxb-archive { padding:48px 0 64px; }
 .nxb-archive-header { margin-bottom:28px; text-align:left; }
 .nxb-archive-header h1 { font-size:36px; line-height:1.12; letter-spacing:-.04em; }
 .nxb-intro { margin-top:14px; font-size:16px; line-height:1.65; }
 .nxb-filter-row { justify-content:flex-start; flex-wrap:nowrap; overflow-x:auto; margin:0 -18px 24px; padding:0 18px 8px; scrollbar-width:none; }
 .nxb-filter-row::-webkit-scrollbar { display:none; }
 .nxb-filter { flex:none; }
 .nxb-post-grid,.nxb-related .nxb-post-grid { grid-template-columns:minmax(0,1fr); gap:17px; }
 .nxb-featured-card { margin-bottom:2px; border-radius:14px; }
 .nxb-featured-copy { padding:22px; }
 .nxb-featured-copy h2 { font-size:27px; }
 .nxb-featured-copy>p { font-size:15px; }
 .nxb-post-card { border-radius:13px; }
 .nxb-card-body { padding:18px; }
 .nxb-card-body h2,.nxb-card-body h3 { font-size:19px; }
 .nxb-single { padding:40px 0 60px; }
 .nxb-article-header { width:calc(100% - 36px); margin-bottom:25px; }
 .nxb-article-header h1 { margin:12px 0 16px; font-size:35px; line-height:1.13; letter-spacing:-.04em; }
 .nxb-article-deck { font-size:17px; line-height:1.65; }
 .nxb-article-featured { width:calc(100% - 36px); margin-bottom:28px; border-radius:11px; }
 .nxb-reading-layout { padding-inline:18px; gap:22px; }
 .nxb-prose { font-size:17px; line-height:1.76; }
 .nxb-prose h2 { margin-top:1.9em; font-size:27px; line-height:1.3; }
 .nxb-prose h3 { font-size:21px; line-height:1.35; }
 .nxb-prose h4 { font-size:18px; }
 .nxb-prose blockquote { padding-left:16px; font-size:19px; }
 .nxb-prose table { display:block; overflow-x:auto; white-space:normal; }
 .nxb-article-footer { width:calc(100% - 36px); margin-top:38px; }
 .nxb-author-box { padding:17px; }
 .nxb-related { width:calc(100% - 36px); margin-top:55px; padding-top:30px; }
 .nxb-related-heading h2 { font-size:27px; }
}
@media (prefers-reduced-motion: reduce) {
 .nxb-shell *, .nxb-shell *::before, .nxb-shell *::after { scroll-behavior:auto!important; transition:none!important; animation:none!important; }
}

/* v1.1 refinements: discovery, navigation, and reading comfort */
.nxb-search { position:relative; display:flex; align-items:center; gap:10px; width:min(540px,100%); margin:0 auto 26px; padding:6px 7px 6px 16px; border:1px solid var(--nxb-border); border-radius:12px; background:#fff; box-shadow:0 2px 7px rgba(17,24,39,.025); }
.nxb-search:focus-within { border-color:#c8cbd4; box-shadow:0 0 0 4px color-mix(in srgb,var(--nxb-accent) 9%,transparent); }
.nxb-search-icon { color:#8b91a0; font-size:24px; line-height:1; }
.nxb-search input[type="search"] { width:100%; min-width:0; padding:8px 0; border:0!important; outline:0!important; box-shadow:none!important; background:transparent!important; color:var(--nxb-ink); font:400 14px/1.5 Inter,ui-sans-serif,system-ui,sans-serif; }
.nxb-search input[type="search"]::placeholder { color:#9297a3; }
.nxb-search button { flex:none; min-height:38px; padding:0 16px; border:0; border-radius:8px; background:var(--nxb-ink); color:#fff; font:600 13px/1 Inter,ui-sans-serif,system-ui,sans-serif; cursor:pointer; transition:background .18s ease; }
.nxb-search button:hover { background:var(--nxb-accent); }
.nxb-article-topline { display:flex; align-items:center; justify-content:space-between; gap:16px; width:min(820px,calc(100% - 40px)); margin:0 auto 34px; }
.nxb-back-link { display:inline-flex; align-items:center; gap:8px; color:#626879!important; font-size:13px; font-weight:550; }
.nxb-back-link:hover { color:var(--nxb-accent)!important; }
.nxb-back-link span { font-size:17px; }
.nxb-topline-label { color:#9a9eaa; font-size:10px; font-weight:700; letter-spacing:.13em; }
.nxb-article-actions { display:flex; justify-content:flex-end; margin:0 0 22px; }
.nxb-copy-link { display:inline-flex; align-items:center; gap:8px; padding:9px 13px; border:1px solid var(--nxb-border); border-radius:8px; background:#fff; color:#515766; font:500 12px/1.4 Inter,ui-sans-serif,system-ui,sans-serif; cursor:pointer; transition:border-color .18s ease,color .18s ease,background .18s ease; }
.nxb-copy-link:hover { border-color:#d3d5dc; background:#fafafb; color:var(--nxb-ink); }
.nxb-copy-link span { color:var(--nxb-accent); font-size:15px; }
.nxb-toc-toggle { font-family:inherit; }
@media(max-width:600px) {
 .nxb-search { gap:8px; margin-bottom:22px; padding-left:12px; }
 .nxb-search button { min-height:36px; padding-inline:12px; }
 .nxb-article-topline { width:calc(100% - 36px); margin-bottom:25px; }
 .nxb-topline-label { display:none; }
 .nxb-article-actions { margin-bottom:18px; }
}


/* v1.2.0 compatibility layer: shortcode archive + Elementor/theme isolation */
body.nxb-blog-view .nxb-shell {
  --nxb-accent: #E61E4D;
  color: #252936;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}
body.nxb-blog-view .nxb-shell h1,
body.nxb-blog-view .nxb-shell h2,
body.nxb-blog-view .nxb-shell h3,
body.nxb-blog-view .nxb-shell p,
body.nxb-blog-view .nxb-shell a,
body.nxb-blog-view .nxb-shell button,
body.nxb-blog-view .nxb-shell input {
  font-family: inherit !important;
}
body.nxb-blog-view .nxb-shell .nxb-archive-header h1 {
  font-size: clamp(34px, 4.2vw, 48px) !important;
  line-height: 1.12 !important;
  letter-spacing: -.045em !important;
  font-weight: 650 !important;
  color: #171923 !important;
}
body.nxb-blog-view .nxb-shell .nxb-card-body h2,
body.nxb-blog-view .nxb-shell .nxb-card-body h3 {
  font-size: 20px !important;
  line-height: 1.38 !important;
  letter-spacing: -.025em !important;
  font-weight: 600 !important;
  margin: 0 0 10px !important;
  color: #171923 !important;
}
body.nxb-blog-view .nxb-shell .nxb-card-body h2 a,
body.nxb-blog-view .nxb-shell .nxb-card-body h3 a {
  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: inherit !important;
}
body.nxb-blog-view .nxb-shell .nxb-featured-copy h2 {
  font-size: clamp(25px, 2.7vw, 34px) !important;
  line-height: 1.2 !important;
  letter-spacing: -.035em !important;
  font-weight: 650 !important;
  color: #171923 !important;
}
body.nxb-blog-view .nxb-shell .nxb-category {
  display: inline-flex !important;
  width: auto !important;
  background: #fff0f3 !important;
  color: #a31335 !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
  padding: 5px 10px !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}
body.nxb-blog-view .nxb-shell .nxb-filter {
  font-size: 13px !important;
  line-height: 1.3 !important;
  padding: 8px 15px !important;
  min-height: 38px !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}
body.nxb-blog-view .nxb-shell .nxb-filter.is-active {
  background: #171923 !important;
  border-color: #171923 !important;
  color: #fff !important;
}
body.nxb-blog-view .nxb-shell .nxb-read-link {
  color: var(--nxb-accent) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}
.nxb-shortcode-archive { width: 100%; max-width: 100%; }
.nxb-shortcode-archive .nxb-container { width: min(1200px, calc(100% - 48px)); }
.nxb-archive-tools { display:flex; flex-direction:column; gap:18px; margin:0 auto 30px; }
.nxb-search-form { display:flex; align-items:center; gap:10px; width:min(560px,100%); min-height:48px; margin:0 auto; padding:5px 6px 5px 14px; border:1px solid #e4e6eb; border-radius:12px; background:#fff; box-shadow:0 2px 8px rgba(18,24,40,.025); }
.nxb-search-icon { color:#7a8090; font-size:23px; line-height:1; transform:rotate(-20deg); }
.nxb-search-form input[type="search"] { flex:1; width:100%; min-width:0; min-height:34px; padding:5px 0; border:0!important; outline:0; background:transparent!important; box-shadow:none!important; color:#171923!important; font:400 14px/1.5 Inter,system-ui,sans-serif!important; }
.nxb-search-form button { flex:none; min-height:36px; padding:8px 15px!important; border:0!important; border-radius:8px!important; background:#E61E4D!important; color:#fff!important; font:600 13px/1.2 Inter,system-ui,sans-serif!important; cursor:pointer; box-shadow:none!important; }
.nxb-search-form button:hover { background:#c9163e!important; }
.nxb-shortcode-archive .nxb-filter-row { margin-bottom:0; }
.nxb-shortcode-archive .nxb-featured-card { min-height:0; }
.nxb-shortcode-archive .nxb-featured-media { min-height:0; aspect-ratio:16/9; }
.nxb-shortcode-archive .nxb-featured-media img { width:100%; height:100%; max-height:430px; object-fit:cover; }
.nxb-shortcode-archive .nxb-post-card { min-width:0; }
.nxb-shortcode-archive .nxb-card-media img { width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; }
.nxb-shortcode-archive .nxb-card-body { min-width:0; }
.nxb-shortcode-archive .nxb-card-excerpt { font-size:14px!important; line-height:1.7!important; }
.nxb-shortcode-archive .nxb-meta { font-size:12px!important; line-height:1.5!important; }
.nxb-shortcode-archive .nxb-empty .nxb-read-link { display:inline-flex; margin-top:16px; }
.nxb-shortcode-archive .nxb-pagination { margin-top:34px; }
.nxb-shortcode-archive .nxb-pagination a,
.nxb-shortcode-archive .nxb-pagination span { box-shadow:none!important; }
.nxb-single .nxb-toc-rail { width:100%; max-width:205px; }
.nxb-single .nxb-toc {
  padding:0 !important;
  overflow:hidden;
  border:1px solid #e5e7ec !important;
  border-left:1px solid #e5e7ec !important;
  border-radius:12px !important;
  background:#fff !important;
  box-shadow:0 4px 16px rgba(20,24,35,.035) !important;
}
.nxb-single .nxb-toc-toggle {
  display:flex !important;
  width:100% !important;
  min-height:44px !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:10px !important;
  padding:12px 14px !important;
  border:0 !important;
  border-radius:0 !important;
  background:#fff !important;
  color:#202431 !important;
  font-family:Inter,system-ui,sans-serif !important;
  font-size:13px !important;
  font-weight:600 !important;
  line-height:1.4 !important;
  text-align:left !important;
  box-shadow:none !important;
  text-transform:none !important;
}
.nxb-single .nxb-toc-toggle:hover,
.nxb-single .nxb-toc-toggle:focus { background:#f8f8fa !important; color:#202431 !important; }
.nxb-single .nxb-toc-chevron { color:#777d8b; font-size:16px; }
.nxb-single .nxb-toc-list { display:grid; gap:0; margin:0 !important; padding:0 14px 12px !important; list-style:none !important; }
.nxb-single .nxb-toc-list li { margin:0 !important; padding:0 !important; list-style:none !important; }
.nxb-single .nxb-toc-list a {
  display:block !important;
  padding:6px 0 !important;
  color:#646b79 !important;
  font-family:Inter,system-ui,sans-serif !important;
  font-size:12px !important;
  font-weight:400 !important;
  line-height:1.5 !important;
  text-decoration:none !important;
  overflow-wrap:anywhere;
}
.nxb-single .nxb-toc-list a:hover,
.nxb-single .nxb-toc-list a.is-active { color:#E61E4D !important; }
.nxb-single .nxb-toc-level-3 { padding-left:10px !important; }
.nxb-single .nxb-toc.is-collapsed .nxb-toc-list { display:none !important; }
@media(max-width:900px) {
  .nxb-single .nxb-toc-rail { max-width:none; }
}
@media(max-width:600px) {
  .nxb-shortcode-archive .nxb-container { width:calc(100% - 36px); }
  .nxb-shortcode-archive .nxb-archive-header { text-align:left; }
  .nxb-shortcode-archive .nxb-archive-header h1 { font-size:36px!important; line-height:1.12!important; }
  .nxb-search-form { gap:7px; }
  .nxb-search-form button { padding-inline:12px!important; }
  .nxb-shortcode-archive .nxb-featured-copy h2 { font-size:26px!important; }
  .nxb-shortcode-archive .nxb-card-body h2,
  .nxb-shortcode-archive .nxb-card-body h3 { font-size:19px!important; line-height:1.38!important; }
}


/* v1.3.0: article title width, TOC readability, and reliable archive navigation */
body.nxb-blog-view .nxb-single .nxb-article-nav {
  width:min(1120px,calc(100% - 48px)); margin:0 auto 34px;
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  font:500 14px/1.5 Inter,system-ui,sans-serif; color:#50596a;
}
body.nxb-blog-view .nxb-single .nxb-article-nav a {
  color:#394150!important; text-decoration:none!important; font-weight:600!important;
}
body.nxb-blog-view .nxb-single .nxb-article-nav a:hover { color:#E61E4D!important; }
body.nxb-blog-view .nxb-single .nxb-article-nav-label {
  color:#7b8290; font-size:11px; font-weight:700; letter-spacing:.12em;
}
body.nxb-blog-view .nxb-single .nxb-article-header {
  width:min(1120px,calc(100% - 48px))!important; max-width:1120px!important;
  margin:0 auto 34px!important;
}
body.nxb-blog-view .nxb-single .nxb-article-header h1 {
  max-width:1080px!important; width:100%!important;
  font-size:clamp(38px,4.1vw,58px)!important; line-height:1.12!important;
  letter-spacing:-.045em!important; font-weight:650!important;
  text-wrap:balance; overflow-wrap:normal!important; word-break:normal!important;
}
body.nxb-blog-view .nxb-single .nxb-toc-rail { width:100%!important; max-width:235px!important; }
body.nxb-blog-view .nxb-single .nxb-toc {
  border:1px solid #dfe2e8!important; border-left:1px solid #dfe2e8!important;
  border-radius:12px!important; background:#fff!important;
  box-shadow:0 4px 16px rgba(20,24,35,.04)!important; padding:0!important; overflow:hidden;
}
body.nxb-blog-view .nxb-single .nxb-toc-toggle {
  color:#252936!important; font-size:14px!important; font-weight:650!important;
  padding:14px 15px!important; background:#fff!important;
}
body.nxb-blog-view .nxb-single .nxb-toc-list { padding:0 15px 15px!important; gap:2px!important; }
body.nxb-blog-view .nxb-single .nxb-toc-list a {
  padding:7px 0!important; color:#4b5363!important; font-size:13px!important;
  line-height:1.55!important; font-weight:450!important;
}
body.nxb-blog-view .nxb-single .nxb-toc-list a:hover,
body.nxb-blog-view .nxb-single .nxb-toc-list a.is-active {
  color:#E61E4D!important; font-weight:600!important;
}
body.nxb-blog-view .nxb-single .nxb-reading-layout {
  grid-template-columns:minmax(0,235px) minmax(0,760px)!important; gap:44px!important;
}
body.nxb-blog-view .nxb-single .nxb-prose { color:#353b49!important; font-size:18px!important; line-height:1.82!important; }
body.nxb-blog-view .nxb-single .nxb-prose p { color:#353b49!important; margin-bottom:1.5em!important; }
body.nxb-blog-view .nxb-single .nxb-prose h2,
body.nxb-blog-view .nxb-single .nxb-prose h3,
body.nxb-blog-view .nxb-single .nxb-prose h4 { color:#171923!important; }
@media(min-width:1500px) {
  body.nxb-blog-view .nxb-single .nxb-article-header h1 { max-width:1120px!important; font-size:60px!important; }
}
@media(max-width:900px) {
  body.nxb-blog-view .nxb-single .nxb-article-nav,
  body.nxb-blog-view .nxb-single .nxb-article-header { width:calc(100% - 40px)!important; }
  body.nxb-blog-view .nxb-single .nxb-article-header h1 { font-size:clamp(34px,5.2vw,46px)!important; }
  body.nxb-blog-view .nxb-single .nxb-reading-layout { grid-template-columns:minmax(0,1fr)!important; gap:24px!important; }
  body.nxb-blog-view .nxb-single .nxb-toc-rail { max-width:none!important; }
}
@media(max-width:600px) {
  body.nxb-blog-view .nxb-single .nxb-article-nav,
  body.nxb-blog-view .nxb-single .nxb-article-header { width:calc(100% - 36px)!important; }
  body.nxb-blog-view .nxb-single .nxb-article-header h1 { font-size:35px!important; line-height:1.15!important; }
  body.nxb-blog-view .nxb-single .nxb-toc-list a { font-size:14px!important; }
}


/* v1.4.0 — responsive card geometry and blog conversion components */
body.nxb-blog-view .nxb-shell .nxb-featured-card {
  display:grid !important;
  grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr) !important;
  align-items:stretch !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  min-height:0 !important;
  overflow:hidden !important;
  isolation:isolate;
}
body.nxb-blog-view .nxb-shell .nxb-featured-media {
  display:block !important;
  position:relative !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  min-height:0 !important;
  height:100% !important;
  aspect-ratio:auto !important;
  overflow:hidden !important;
}
body.nxb-blog-view .nxb-shell .nxb-featured-media img {
  display:block !important;
  position:static !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  height:100% !important;
  min-height:340px !important;
  max-height:480px !important;
  object-fit:cover !important;
  object-position:center !important;
  transform:none;
}
body.nxb-blog-view .nxb-shell .nxb-featured-copy {
  min-width:0 !important;
  width:100% !important;
  max-width:100% !important;
  padding:clamp(24px,3vw,42px) !important;
  overflow-wrap:anywhere;
}
body.nxb-blog-view .nxb-shell .nxb-featured-copy h2 {
  font-size:clamp(25px,2.4vw,34px) !important;
  line-height:1.18 !important;
  letter-spacing:-.035em !important;
  overflow-wrap:normal !important;
  word-break:normal !important;
}
body.nxb-blog-view .nxb-shell .nxb-featured-copy > p {
  font-size:15px !important;
  line-height:1.7 !important;
}
body.nxb-blog-view .nxb-shell .nxb-shortcode-archive .nxb-filter-row { display:none !important; }
body.nxb-blog-view .nxb-shell .nxb-archive-tools { margin-bottom:28px !important; }
body.nxb-blog-view .nxb-shell .nxb-post-card,
body.nxb-blog-view .nxb-shell .nxb-featured-card { box-shadow:none; }
body.nxb-blog-view .nxb-shell .nxb-post-card:hover { box-shadow:0 10px 28px rgba(18,24,40,.06); }
body.nxb-blog-view .nxb-single .nxb-article-header h1 {
  font-size:clamp(34px,4.2vw,54px) !important;
  line-height:1.13 !important;
}
body.nxb-blog-view .nxb-single .nxb-article-featured {
  width:min(1120px,calc(100% - 48px)) !important;
  max-width:1120px !important;
  margin:0 auto 22px !important;
}
body.nxb-blog-view .nxb-single .nxb-article-featured img {
  display:block !important; width:100% !important; max-width:100% !important;
  height:auto !important; max-height:560px !important; object-fit:cover !important;
}
.nxb-product-cta {
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  width:min(1000px,calc(100% - 48px)); margin:0 auto 56px; padding:24px 28px;
  border:1px solid #f5c8d3; border-radius:16px;
  background:linear-gradient(115deg,#fff4f6 0%,#fff 78%);
}
.nxb-product-cta-copy { min-width:0; }
.nxb-product-cta-eyebrow { display:block; margin:0 0 7px; color:#b9163d; font-size:10px; line-height:1.4; font-weight:750; letter-spacing:.12em; }
.nxb-product-cta h2 { margin:0 0 6px; color:#191b24; font-size:21px; line-height:1.3; font-weight:650; letter-spacing:-.025em; }
.nxb-product-cta p { margin:0; color:#626879; font-size:14px; line-height:1.6; }
.nxb-product-cta-link { flex:none; display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:44px; padding:11px 16px; border-radius:9px; background:#E61E4D; color:#fff!important; font-size:13px; font-weight:650; text-decoration:none!important; transition:background .18s ease,transform .18s ease; }
.nxb-product-cta-link:hover { background:#c9163e; transform:translateY(-1px); }
.nxb-sticky-conversion {
  position:fixed; z-index:9998; right:22px; bottom:18px;
  display:flex; align-items:center; gap:18px; max-width:calc(100vw - 32px);
  padding:10px 11px 10px 18px; border:1px solid rgba(224,226,232,.95);
  border-radius:14px; background:rgba(255,255,255,.96);
  box-shadow:0 12px 40px rgba(20,24,35,.14); backdrop-filter:blur(16px);
}
.nxb-sticky-conversion-label { color:#353b49; font-size:12px; font-weight:600; line-height:1.35; }
.nxb-sticky-conversion-actions { display:flex; align-items:center; gap:8px; }
.nxb-sticky-conversion-actions a { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:40px; padding:10px 14px; border-radius:9px; font-size:12px; font-weight:650; line-height:1.2; text-decoration:none!important; white-space:nowrap; }
.nxb-sticky-whatsapp { background:#E61E4D; color:#fff!important; }
.nxb-sticky-whatsapp:hover { background:#c9163e; }
.nxb-sticky-website { border:1px solid #e1e3e9; background:#fff; color:#272b36!important; }
.nxb-sticky-website:hover { background:#f7f8fa; }
body.nxb-blog-view { padding-bottom:0; }
@media (max-width: 1050px) {
  body.nxb-blog-view .nxb-shell .nxb-featured-card { grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important; }
  body.nxb-blog-view .nxb-shell .nxb-featured-media img { min-height:300px !important; }
  .nxb-sticky-conversion-label { display:none; }
}
@media (max-width: 760px) {
  body.nxb-blog-view .nxb-shell .nxb-featured-card { grid-template-columns:minmax(0,1fr) !important; }
  body.nxb-blog-view .nxb-shell .nxb-featured-media { aspect-ratio:16/9 !important; height:auto !important; }
  body.nxb-blog-view .nxb-shell .nxb-featured-media img { height:auto !important; min-height:0 !important; max-height:none !important; aspect-ratio:16/9; }
  body.nxb-blog-view .nxb-shell .nxb-featured-copy { padding:22px !important; }
  body.nxb-blog-view .nxb-shell .nxb-featured-copy h2 { font-size:25px !important; line-height:1.22 !important; }
  body.nxb-blog-view .nxb-shell .nxb-card-body h2,
  body.nxb-blog-view .nxb-shell .nxb-card-body h3 { font-size:19px !important; line-height:1.38 !important; }
  body.nxb-blog-view .nxb-single .nxb-article-header h1 { font-size:32px !important; line-height:1.16 !important; letter-spacing:-.035em !important; }
  body.nxb-blog-view .nxb-single .nxb-article-featured { width:calc(100% - 36px) !important; margin-bottom:18px !important; }
  .nxb-product-cta { flex-direction:column; align-items:stretch; gap:16px; width:calc(100% - 36px); margin-bottom:34px; padding:20px; border-radius:13px; }
  .nxb-product-cta h2 { font-size:19px; }
  .nxb-product-cta-link { width:100%; }
  .nxb-sticky-conversion {
    right:10px; bottom:10px; left:10px; max-width:none; justify-content:stretch; gap:8px;
    padding:8px; border-radius:13px;
    box-shadow:0 6px 28px rgba(20,24,35,.18);
  }
  .nxb-sticky-conversion-actions { width:100%; display:grid; grid-template-columns:1fr 1fr; gap:8px; }
  .nxb-sticky-conversion-actions a { min-height:44px; padding:11px 8px; font-size:13px; }
  body.nxb-blog-view .nxb-single { padding-bottom:90px; }
}
@media (prefers-reduced-motion: reduce) {
  .nxb-product-cta-link, .nxb-sticky-conversion-actions a { transition:none !important; }
}


/* v1.5.0 — simplify conversion controls and keep them anchored on mobile */
body.nxb-blog-view .nxb-shell .nxb-categories { display:none !important; }
body.nxb-blog-view .nxb-shell .nxb-tag-list { display:none !important; }
.nxb-product-cta {
  align-items:center !important;
  min-height:0 !important;
  padding:22px 28px !important;
}
.nxb-product-cta h2 {
  max-width:620px;
  margin:0 0 7px !important;
  font-size:clamp(25px,2.4vw,34px) !important;
  line-height:1.18 !important;
  letter-spacing:-.035em !important;
  font-weight:600 !important;
}
.nxb-product-cta p {
  max-width:760px;
  font-size:15px !important;
  line-height:1.55 !important;
}
.nxb-product-cta-eyebrow { display:none !important; }
.nxb-product-cta-link { gap:0 !important; }
.nxb-sticky-conversion { gap:0 !important; padding:10px !important; }
.nxb-sticky-conversion-label { display:none !important; }
.nxb-sticky-conversion-actions { display:flex !important; gap:8px !important; }
.nxb-sticky-conversion-actions a { gap:0 !important; }
@media (min-width:761px) {
  .nxb-sticky-conversion {
    right:22px !important; bottom:18px !important; left:auto !important;
    width:auto !important; max-width:calc(100vw - 44px) !important;
  }
}
@media (max-width:760px) {
  .nxb-sticky-conversion {
    position:fixed !important; z-index:99999 !important;
    right:0 !important; bottom:0 !important; left:0 !important;
    width:100% !important; max-width:none !important;
    margin:0 !important; padding:8px 12px calc(8px + env(safe-area-inset-bottom, 0px)) !important;
    border:0 !important; border-top:1px solid #e4e5eb !important;
    border-radius:0 !important;
    background:rgba(255,255,255,.98) !important;
    box-shadow:0 -6px 24px rgba(20,24,35,.10) !important;
    backdrop-filter:blur(14px);
  }
  .nxb-sticky-conversion-actions {
    width:100% !important;
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:9px !important;
  }
  .nxb-sticky-conversion-actions a {
    min-height:46px !important;
    width:100% !important;
    padding:12px 10px !important;
    border-radius:9px !important;
    font-size:13px !important;
    line-height:1.2 !important;
  }
  body.nxb-blog-view .nxb-single { padding-bottom:94px !important; }
  .nxb-product-cta {
    flex-direction:column !important;
    align-items:flex-start !important;
    gap:15px !important;
    padding:20px !important;
    margin-bottom:28px !important;
  }
  .nxb-product-cta h2 { font-size:25px !important; line-height:1.22 !important; }
  .nxb-product-cta p { font-size:14px !important; line-height:1.6 !important; }
  .nxb-product-cta-link { width:100% !important; min-height:44px !important; }
}
