/* ================================================================
   BD WEB TEK — Single Post Stylesheet
   Enqueued only on single post pages (is_single).
   Header and footer styles are already in the global stylesheet.
   ================================================================ */

/* ── CSS VARIABLES ── */
:root {
  --sp-bg:         #FAFAF8;
  --sp-bg-card:    #FFFFFF;
  --sp-bg-subtle:  #F3F2EF;
  --sp-bg-dark:    #0D1621;
  --sp-bg-dark2:   #111E2E;
  --sp-line:       #E6E4DF;
  --sp-line2:      #D0CEC9;
  --sp-ink:        #0D1621;
  --sp-ink2:       #2C3A4A;
  --sp-muted:      #6C7A89;
  --sp-ghost:      #A8B2BC;
  --sp-blue:       #1060D4;
  --sp-blue-bg:    #EEF3FD;
  --sp-teal:       #007A65;
  --sp-teal-bg:    #E8F5F2;
  --sp-purple:     #5B3FBF;
  --sp-purple-bg:  #F0ECFB;
  --sp-amber:      #9A5A00;
  --sp-amber-bg:   #FDF3E4;
  --sp-red:        #C0222A;
  --sp-red-bg:     #FDECEA;
  --sp-wp:         #3858E9;
  --sp-wp-bg:      #EEF0FE;
  --sp-seo:        #0F766E;
  --sp-seo-bg:     #CCFBF1;
  --sp-geo:        #7C3AED;
  --sp-geo-bg:     #EDE9FE;
}

/* ── PAGE BODY ── */
body.bdwt-single-post {
  background: var(--sp-bg);
  color: var(--sp-ink);
  font-family: 'Noto Sans SC', sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── TAG PILLS ── */
.bdwt-sp-tag {
  display: inline-flex;
  align-items: center;
  font-family: 'DM Mono', monospace;
  font-size: .58rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  font-weight: 500;
  white-space: nowrap;
}
.bdwt-sp-t-elementor { color: #92003B; background: #FDE8F0; }
.bdwt-sp-t-wp        { color: var(--sp-wp);     background: var(--sp-wp-bg); }
.bdwt-sp-t-blue      { color: var(--sp-blue);   background: var(--sp-blue-bg); }
.bdwt-sp-t-teal      { color: var(--sp-teal);   background: var(--sp-teal-bg); }
.bdwt-sp-t-red       { color: var(--sp-red);    background: var(--sp-red-bg); }
.bdwt-sp-t-amber     { color: var(--sp-amber);  background: var(--sp-amber-bg); }
.bdwt-sp-t-purple    { color: var(--sp-purple); background: var(--sp-purple-bg); }
.bdwt-sp-t-seo       { color: var(--sp-seo);    background: var(--sp-seo-bg); }
.bdwt-sp-t-geo       { color: var(--sp-geo);    background: var(--sp-geo-bg); }

/* Tags render on dark hero background — boost brightness slightly */
.bdwt-sp-tags .bdwt-sp-tag { filter: brightness(1.12); }

/* ── TEXT SELECTION — dark sections ── */
.bdwt-sp-hero ::selection,
.bdwt-sp-subscribe ::selection,
.bdwt-sp-toc-head ::selection,
.bdwt-sp-related-head ::selection,
.bdwt-sp-article pre ::selection {
  background: rgba(56, 88, 233, .45);
  color: #F0F4FF;
}

/* ── HERO ── */
.bdwt-sp-hero {
  background: var(--sp-bg-dark);
  padding: 2.5rem 2rem 2.8rem;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--sp-wp);
}
.bdwt-sp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(56,88,233,.06) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}
.bdwt-sp-hero-glow {
  position: absolute;
  top: -120px;
  right: -60px;
  width: 500px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(56,88,233,.1) 0%, transparent 65%);
  pointer-events: none;
}
.bdwt-sp-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.bdwt-sp-tags {
  display: flex;
  gap: .45rem;
  flex-wrap: wrap;
  margin-bottom: .9rem;
}
.bdwt-sp-title {
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  letter-spacing: -.025em;
  line-height: 1.18;
  color: #F0F4FF;
  margin: 0 0 .9rem;
  max-width: 860px;
}
.bdwt-sp-excerpt {
  font-size: .9rem;
  color: #6B7FA8;
  line-height: 1.75;
  max-width: 700px;
  margin: 0 0 1.1rem;
}
.bdwt-sp-meta {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-wrap: wrap;
  font-family: 'DM Mono', monospace;
  font-size: .62rem;
  color: #4A5A78;
}
.bdwt-sp-author  { color: #94A3B8; font-weight: 500; }
.bdwt-sp-sep     { color: #2A3A50; }
.bdwt-sp-readtime {
  background: rgba(56,88,233,.12);
  color: #93C5FD;
  border: 1px solid rgba(56,88,233,.2);
  padding: 2px 8px;
  border-radius: 6px;
}

/* ── PAGE LAYOUT ── */
#bdwt-single-wrap { background: var(--sp-bg); }

.bdwt-sp-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.bdwt-sp-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3.5rem;
  padding: 3rem 0 5rem;
  align-items: start;
}

/* ── ARTICLE BODY ── */
.bdwt-sp-article { min-width: 0; }

.bdwt-sp-article h2 {
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -.02em;
  color: var(--sp-ink);
  margin: 2.5rem 0 .9rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--sp-line);
  scroll-margin-top: 80px;
}
.bdwt-sp-article h2:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}
.bdwt-sp-article h3 {
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -.015em;
  color: var(--sp-ink);
  margin: 1.8rem 0 .7rem;
  scroll-margin-top: 80px;
}
.bdwt-sp-article h4 {
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  color: var(--sp-ink2);
  margin: 1.4rem 0 .5rem;
  scroll-margin-top: 80px;
}
.bdwt-sp-article p {
  font-size: .93rem;
  color: var(--sp-ink2);
  line-height: 1.85;
  margin-bottom: 1rem;
}
.bdwt-sp-article p:last-child { margin-bottom: 0; }

.bdwt-sp-article a {
  color: var(--sp-blue);
  border-bottom: 1px solid rgba(16,96,212,.25);
  text-decoration: none;
  transition: border-color .15s;
}
.bdwt-sp-article a:hover { border-color: var(--sp-blue); }

.bdwt-sp-article strong { color: var(--sp-ink); font-weight: 600; }
.bdwt-sp-article em     { font-style: italic; }

.bdwt-sp-article ul {
  list-style: none;
  padding-left: .2rem;
  margin: 1rem 0 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.bdwt-sp-article ul li {
  font-size: .92rem;
  color: var(--sp-ink2);
  line-height: 1.72;
  padding-left: 1.3rem;
  position: relative;
}
.bdwt-sp-article ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sp-ink2);
}
.bdwt-sp-article ol {
  padding-left: 1.6rem;
  margin: 1rem 0 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.bdwt-sp-article ol li {
  font-size: .92rem;
  color: var(--sp-ink2);
  line-height: 1.72;
  padding-left: .3rem;
}

.bdwt-sp-article code {
  font-family: 'DM Mono', monospace;
  font-size: .82rem;
  background: var(--sp-bg-subtle);
  color: var(--sp-ink2);
  border: 1px solid var(--sp-line2);
  border-radius: 4px;
  padding: 1px 5px;
}
.bdwt-sp-article pre {
  background: var(--sp-bg-dark);
  border-radius: 8px;
  padding: 1.2rem 1.4rem;
  margin: 1.5rem 0;
  overflow-x: auto;
}
.bdwt-sp-article pre code {
  background: none;
  border: none;
  padding: 0;
  color: #C8D4E8;
  font-size: .83rem;
  line-height: 1.7;
}

.bdwt-sp-article img {
  display: block;
  max-width: 100%;
  height: auto;
}
.bdwt-sp-article figure {
  max-width: 100%;
  margin: 1.4rem 0;
  overflow: hidden;
}
.bdwt-sp-article .article-image img {
  border-radius: 8px;
}

.bdwt-sp-article .code-copy-wrap {
  position: relative;
  max-width: 100%;
  margin: 1.5rem 0;
  overflow: hidden;
}
.bdwt-sp-article .code-copy-wrap pre {
  margin: 0;
  padding-right: 4.2rem;
}
.bdwt-sp-article .code-copy-btn {
  position: absolute;
  top: .55rem;
  right: .55rem;
  z-index: 2;
  padding: .32rem .55rem;
  border-radius: 5px;
  background: var(--sp-bg-dark2);
  color: #C8D4E8;
  border: 1px solid #1E2F40;
  font-family: 'DM Mono', monospace;
  font-size: .62rem;
  letter-spacing: .06em;
  cursor: pointer;
  transition: color .15s, border-color .15s, background .15s;
}
.bdwt-sp-article .code-copy-btn:hover {
  color: #F0F4FF;
  border-color: #60A5FA;
}

.bdwt-sp-article hr {
  border: none;
  height: 1px;
  background: var(--sp-line);
  margin: 2.5rem 0;
}

/* ── CONTENT COMPONENTS (author can use these class names in editor) ── */

/* Highlight / key-takeaway box */
.bdwt-sp-article .highlight-box {
  background: var(--sp-blue-bg);
  border-left: 3px solid var(--sp-blue);
  border-radius: 0 8px 8px 0;
  padding: 1.1rem 1.4rem;
  margin: 1.5rem 0;
}
.bdwt-sp-article .highlight-box p {
  font-size: .88rem;
  color: #1E3A70;
  margin-bottom: 0;
  line-height: 1.72;
}
.bdwt-sp-article .highlight-box strong { color: #0D2A5E; }

/* Warning / note box */
.bdwt-sp-article .note-box {
  background: var(--sp-amber-bg);
  border-left: 3px solid var(--sp-amber);
  border-radius: 0 8px 8px 0;
  padding: 1.1rem 1.4rem;
  margin: 1.5rem 0;
}
.bdwt-sp-article .note-box p {
  font-size: .88rem;
  color: #5A3A00;
  margin-bottom: 0;
  line-height: 1.72;
}
.bdwt-sp-article .note-box strong { color: #3A2000; }

/* Tip box */
.bdwt-sp-article .tip-box {
  background: var(--sp-teal-bg);
  border-left: 3px solid var(--sp-teal);
  border-radius: 0 8px 8px 0;
  padding: 1.1rem 1.4rem;
  margin: 1.5rem 0;
}
.bdwt-sp-article .tip-box p {
  font-size: .88rem;
  color: #004A3A;
  margin-bottom: 0;
  line-height: 1.72;
}
.bdwt-sp-article .tip-box strong { color: #003028; }

/* Box label (used inside highlight/note/tip boxes) */
.bdwt-sp-article .box-label {
  font-family: 'DM Mono', monospace;
  font-size: .58rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  display: block;
  margin-bottom: .4rem;
}
.bdwt-sp-article .lbl-blue  { color: var(--sp-blue); }
.bdwt-sp-article .lbl-amber { color: var(--sp-amber); }
.bdwt-sp-article .lbl-teal  { color: var(--sp-teal); }

/* Pull quote / blockquote */
.bdwt-sp-article .pull-quote,
.bdwt-sp-article blockquote {
  margin: 2rem 0;
  padding: 1.6rem 2rem;
  border-left: 4px solid var(--sp-ink);
  background: var(--sp-bg-subtle);
  border-radius: 0 8px 8px 0;
}
.bdwt-sp-article .pull-quote p,
.bdwt-sp-article blockquote p {
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--sp-ink);
  line-height: 1.55;
  margin-bottom: .4rem;
  font-style: italic;
}
.bdwt-sp-article .pull-quote cite,
.bdwt-sp-article blockquote cite {
  font-family: 'DM Mono', monospace;
  font-size: .62rem;
  color: var(--sp-ghost);
  font-style: normal;
}

/* VS comparison table */
.bdwt-sp-article table,
.bdwt-sp-article .vs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: .86rem;
}
.bdwt-sp-article table thead tr { background: var(--sp-ink); color: #F0F4FF; }
.bdwt-sp-article table thead th {
  padding: .75rem 1rem;
  text-align: left;
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .04em;
}
.bdwt-sp-article table thead th:first-child { border-radius: 6px 0 0 0; }
.bdwt-sp-article table thead th:last-child  { border-radius: 0 6px 0 0; }
.bdwt-sp-article .col-highlight             { background: var(--sp-wp) !important; }
.bdwt-sp-article table tbody tr             { border-bottom: 1px solid var(--sp-line); }
.bdwt-sp-article table tbody tr:last-child  { border-bottom: none; }
.bdwt-sp-article table tbody tr:nth-child(even) { background: var(--sp-bg-subtle); }
.bdwt-sp-article table tbody tr:hover td   { background: var(--sp-wp-bg); }
.bdwt-sp-article table tbody td {
  padding: .7rem 1rem;
  color: var(--sp-ink2);
  vertical-align: top;
  line-height: 1.55;
}
.bdwt-sp-article table tbody td:first-child {
  color: var(--sp-ink);
  font-weight: 500;
  font-size: .84rem;
}

/* Value badges inside tables */
.val-yes  { color: var(--sp-teal); font-weight: 600; }
.val-no   { color: var(--sp-red); }
.val-part { color: var(--sp-amber); }
.val-best {
  display: inline-block;
  background: var(--sp-teal-bg);
  color: var(--sp-teal);
  font-family: 'DM Mono', monospace;
  font-size: .58rem;
  letter-spacing: .08em;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 500;
}

/* ── SUBSCRIBE CTA ── */
.bdwt-sp-subscribe {
  background: var(--sp-ink);
  border-radius: 12px;
  padding: 2.5rem;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}
.bdwt-sp-subscribe::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 0% 50%, rgba(56,88,233,.12) 0%, transparent 55%);
  pointer-events: none;
}
.bdwt-sp-sub-title {
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -.02em;
  line-height: 1.15;
  color: #F0F4FF;
  margin: 0 0 .5rem;
  position: relative;
  z-index: 1;
}
.bdwt-sp-subscribe .bdwt-sp-sub-body {
  font-size: .83rem;
  color: #6B7FA8;
  line-height: 1.7;
  margin: 0 0 1.4rem;
  position: relative;
  z-index: 1;
  max-width: 480px;
}
.bdwt-sp-sub-form {
  display: flex;
  gap: 0;
  position: relative;
  z-index: 1;
  max-width: 480px;
}
.bdwt-sp-sub-form input {
  flex: 1;
  background: #111E2E;
  border: 1px solid #1E2F40;
  border-right: none;
  border-radius: 7px 0 0 7px;
  padding: .8rem 1rem;
  font-size: .85rem;
  color: #F0F4FF;
  font-family: 'Noto Sans SC', sans-serif;
  outline: none;
  transition: border-color .15s;
}
.bdwt-sp-sub-form input:focus       { border-color: #60A5FA; }
.bdwt-sp-sub-form input::placeholder { color: #4A5A78; }
.bdwt-sp-sub-form button {
  background: #60A5FA;
  color: #0D1621;
  padding: 0 1.4rem;
  font-size: .78rem;
  font-weight: 700;
  font-family: 'Noto Sans SC', sans-serif;
  letter-spacing: .05em;
  border-radius: 0 7px 7px 0;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  transition: background .15s;
}
.bdwt-sp-sub-form button:hover { background: #93C5FD; }
.bdwt-sp-sub-fine {
  font-size: .65rem;
  color: #374151;
  margin-top: .6rem;
  position: relative;
  z-index: 1;
}

/* ── SIDEBAR ── */
.bdwt-sp-sidebar {
  min-width: 0;
  position: sticky;
  top: 80px;
  align-self: start;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  scrollbar-width: none;
}
.bdwt-sp-sidebar::-webkit-scrollbar { display: none; }
.bdwt-sp-sticky { display: flex; flex-direction: column; gap: 1.5rem; }

/* ── TABLE OF CONTENTS ── */
.bdwt-sp-toc {
  background: var(--sp-bg-card);
  border: 1px solid var(--sp-line);
  border-radius: 10px;
  overflow: hidden;
}
.bdwt-sp-toc-head {
  background: var(--sp-bg-dark);
  padding: .65rem 1rem;
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #C8D4E8;
}
.bdwt-sp-toc-body { padding: .8rem 1rem; }

.bdwt-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.bdwt-toc-item { display: flex; flex-direction: column; }
.bdwt-toc-item > a {
  font-size: .8rem;
  color: var(--sp-ink2);
  font-weight: 500;
  padding: .38rem 0;
  border-bottom: 1px solid var(--sp-line);
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  transition: color .15s;
  line-height: 1.35;
}
.bdwt-toc-item:last-child > a { border-bottom: none; }
.bdwt-toc-item > a:hover  { color: var(--sp-wp); }
.bdwt-toc-item > a.active { color: var(--sp-wp); font-weight: 600; }
.bdwt-toc-num {
  font-family: 'DM Mono', monospace;
  font-size: .6rem;
  color: var(--sp-ghost);
  flex-shrink: 0;
}

.bdwt-toc-sub {
  list-style: none;
  padding: 0 0 0 1.1rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.bdwt-toc-sub a {
  font-size: .75rem;
  color: var(--sp-muted);
  padding: .3rem 0;
  border-bottom: 1px solid rgba(230,228,223,.5);
  display: block;
  text-decoration: none;
  transition: color .15s;
  line-height: 1.35;
}
.bdwt-toc-sub li:last-child a { border-bottom: none; }
.bdwt-toc-sub a:hover,
.bdwt-toc-sub a.active       { color: var(--sp-wp); }

.bdwt-sp-toc-progress {
  height: 2px;
  background: var(--sp-line);
  margin-top: .8rem;
  border-radius: 2px;
  overflow: hidden;
}
.bdwt-sp-progress-fill {
  height: 100%;
  background: var(--sp-wp);
  border-radius: 2px;
  width: 0%;
  transition: width .2s ease;
}

/* ── RELATED ARTICLES ── */
.bdwt-sp-related {
  background: var(--sp-bg-card);
  border: 1px solid var(--sp-line);
  border-radius: 10px;
  overflow: hidden;
}
.bdwt-sp-related-head {
  background: var(--sp-bg-dark);
  padding: .65rem 1rem;
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #C8D4E8;
}
.bdwt-sp-ri {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  padding: .82rem 1rem;
  border-bottom: 1px solid var(--sp-line);
  text-decoration: none;
  color: inherit;
  transition: background .12s;
}
.bdwt-sp-ri:last-child { border-bottom: none; }
.bdwt-sp-ri:hover { background: var(--sp-bg-subtle); }
.bdwt-sp-ri:hover .bdwt-sp-ri-title { color: var(--sp-wp); }
.bdwt-sp-ri-thumb {
  width: 56px;
  height: 44px;
  border-radius: 5px;
  flex-shrink: 0;
  background-color: var(--sp-wp-bg);
  border: 1px solid var(--sp-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 700;
  color: var(--sp-wp);
  overflow: hidden;
}
.bdwt-sp-ri-title {
  font-size: .79rem;
  font-weight: 600;
  color: var(--sp-ink2);
  line-height: 1.35;
  transition: color .15s;
}
.bdwt-sp-ri-meta {
  font-family: 'DM Mono', monospace;
  font-size: .58rem;
  color: var(--sp-ghost);
  margin-top: 3px;
}

/* ── SHARE BOX ── */
.bdwt-sp-share {
  background: var(--sp-bg-card);
  border: 1px solid var(--sp-line);
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.bdwt-sp-share-label {
  font-family: 'DM Mono', monospace;
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sp-ghost);
}
.bdwt-sp-share-btns { display: flex; gap: .5rem; }
.bdwt-sp-share-btn {
  flex: 1;
  padding: .5rem .3rem;
  border-radius: 6px;
  font-family: 'DM Mono', monospace;
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-align: center;
  border: 1px solid var(--sp-line);
  color: var(--sp-muted);
  background: var(--sp-bg-subtle);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .15s;
  line-height: 1.3;
  white-space: nowrap;
}
.bdwt-sp-share-btn:hover {
  border-color: var(--sp-wp);
  color: var(--sp-wp);
  background: var(--sp-wp-bg);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .bdwt-sp-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .bdwt-sp-sidebar {
    position: static;
    margin-top: 3rem;
    max-height: none;
    overflow-y: visible;
  }
  .bdwt-sp-sticky {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }
  .bdwt-sp-toc { grid-column: 1 / -1; }
  .bdwt-sp-page { padding: 0 1.5rem; }
  .bdwt-sp-hero { padding: 2.2rem 1.5rem 2.5rem; }
}

@media (max-width: 768px) {
  .bdwt-sp-page    { padding: 0 1rem; }
  .bdwt-sp-hero    { padding: 1.8rem 1rem 2.2rem; }
  .bdwt-sp-title   { font-size: 1.3rem; }
  .bdwt-sp-excerpt { font-size: .84rem; }
  .bdwt-sp-layout  { padding: 2rem 0 4rem; }
  .bdwt-sp-sticky  { grid-template-columns: 1fr; margin-top: 1.5rem; }

  .bdwt-sp-article h2 { font-size: 1.2rem; margin-top: 2rem; padding-top: 2rem; }
  .bdwt-sp-article h3 { font-size: 1rem; }
  .bdwt-sp-article table { display: block; overflow-x: auto; }

  .bdwt-sp-sub-form { flex-direction: column; }
  .bdwt-sp-sub-form input {
    border-right: 1px solid #1E2F40;
    border-radius: 7px;
  }
  .bdwt-sp-sub-form button { border-radius: 7px; padding: .8rem; }
}

@media (max-width: 420px) {
  .bdwt-sp-page { padding: 0 .9rem; }
  .bdwt-sp-hero { padding: 1.5rem .9rem 2rem; }
}
