/* ============================================================
   BTT FULL WIDTH ARTICLE — Responsive, consistent, tighter end spacing
   ============================================================ */

/* CSS Variables */
:root {
  --btt-bg: #f8fafc;
  --btt-white: #ffffff;
  --btt-border: #e2e8f0;
  --btt-radius: 8px;
  --btt-radius-lg: 12px;
  --btt-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  --btt-slate: #0f172a;
  --btt-blue: #2563eb;
  --btt-blue-lt: #3b82f6;
  --btt-muted: #64748b;
  --btt-green: #10b981;
  --btt-sky: #0ea5e9;
  --btt-header-h: 80px;
  --btt-content-max: 1000px;
}

/* Base */
.btt-single {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: var(--btt-bg);
  min-height: 60vh;
}

.btt-single *,
.btt-single *::before,
.btt-single *::after {
  box-sizing: border-box;
}

.btt-single :not(code):not(pre) {
  font-family: inherit;
}

.btt-content code,
.btt-content pre {
  font-family: 'Courier New', Courier, monospace;
}

/* ── Layout ────────────────────────────────────────────────── */
.btt-single__layout {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
}

.btt-single__main {
  min-width: 0;
  width: 100%;
}

/* Sidebar */
.btt-sidebar {
  position: sticky;
  top: calc(var(--btt-header-h) + 20px);
  align-self: start;
  width: 100%;
  min-width: 0;
}

/* ── Breadcrumb ────────────────────────────────────────────── */
.btt-breadcrumb {
  background: #0f172a;
  padding: 11px 24px;
}

.btt-breadcrumb__list {
  max-width: 1280px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.btt-breadcrumb__list li {
  color: #fff;
}

.btt-breadcrumb__list li + li::before {
  content: '›';
  margin-right: 6px;
  color: #fff;
}

.btt-breadcrumb__list a {
  color: #fff;
  text-decoration: none;
  transition: opacity .2s;
}

.btt-breadcrumb__list [aria-current] {
  color: #fff;
  text-decoration: none;
}

.btt-breadcrumb__list a:hover {
  opacity: .75;
}

/* ── Hero — title + action button ─────────────────────────── */
.btt-hero {
  display: grid;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
  background: var(--btt-white);
  border: 1px solid var(--btt-border);
  border-radius: var(--btt-radius-lg);
  box-shadow: var(--btt-shadow);
  overflow: hidden;
  margin: 20px 0 0;
  width: 100%;
}

.btt-hero__img {
  background: linear-gradient(160deg, #e8f4fd 0%, #dbeafe 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 12px;
  flex-shrink: 0;
}

.btt-hero__img img {
  width: 100%;
  height: 100%;
  max-height: 280px;
  object-fit: contain;
  object-position: center center;
  display: block;
}

.btt-hero__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  min-width: 0;
}

.btt-hero__title {
  font-size: clamp(16px, 1.9vw, 24px);
  font-weight: 800;
  color: var(--btt-slate);
  line-height: 1.3;
  margin: 0;
  word-break: break-word;
}

.btt-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btt-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--btt-radius);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform .15s, background .2s, box-shadow .15s, opacity .2s;
}

.btt-btn:hover {
  transform: translateY(-1px);
}

.btt-btn--primary {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, .28);
}

.btt-btn--primary:hover {
  background: #1d4ed8;
}

/* ── Key sections dropdown ────────────────────────────────── */
.btt-key-sections {
  margin: 14px 0 18px;
  background: var(--btt-white);
  border: 1px solid var(--btt-border);
  border-left: 4px solid #2563eb;
  border-radius: var(--btt-radius);
  box-shadow: 0 1px 4px rgba(15,23,42,.05);
  overflow: hidden;
  width: 100%;
}

.btt-key-sections__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: #f8fafc;
  border-bottom: 1px solid var(--btt-border);
  color: var(--btt-slate);
  font-weight: 800;
  font-size: 14px;
}

.btt-key-sections__icon {
  color: #2563eb;
  font-size: 16px;
}

.btt-key-sections__body {
  padding: 4px 18px 14px;
}

.btt-key-sections__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.btt-key-sections__item {
  border-top: 1px solid var(--btt-border);
}

.btt-key-sections__item:first-child {
  border-top: none;
}

.btt-key-sections__item a {
  display: block;
  padding: 10px 6px;
  text-decoration: none;
  color: var(--btt-blue);
  font-size: 14px;
  font-weight: 600;
  transition: color .15s, padding-left .15s;
  word-break: break-word;
}

.btt-key-sections__item a:hover {
  color: var(--btt-blue-lt);
  padding-left: 9px;
}

/* ── Meta bar ──────────────────────────────────────────────── */
.btt-meta-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  padding: 14px 0;
  margin-bottom: 14px;
  width: 100%;
}

.btt-meta-bar__item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: var(--btt-white);
  border: 1px solid var(--btt-border);
  border-radius: var(--btt-radius);
  padding: 10px 14px;
  box-shadow: 0 1px 4px rgba(15,23,42,.05);
  transition: box-shadow .2s, transform .2s;
}

.btt-meta-bar__item:hover {
  box-shadow: var(--btt-shadow);
  transform: translateY(-1px);
}

.btt-meta-bar__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--btt-muted);
}

.btt-meta-bar__value {
  font-size: 14px;
  font-weight: 700;
  color: var(--btt-slate);
  text-decoration: none;
  word-break: break-word;
}

.btt-meta-bar__value--brand,
.btt-meta-bar__value--author {
  color: var(--btt-blue);
}

.btt-meta-bar__value--brand:hover,
.btt-meta-bar__value--author:hover {
  text-decoration: underline;
}

/* ── TOC ───────────────────────────────────────────────────── */
.btt-toc {
  background: var(--btt-white);
  border: 1px solid var(--btt-border);
  border-left: 4px solid var(--btt-blue);
  border-radius: var(--btt-radius);
  margin-bottom: 18px;
  width: 100%;
  overflow: hidden;
}

.btt-toc__toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 700;
  color: var(--btt-slate);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.btt-toc__toggle::-webkit-details-marker {
  display: none;
}

.btt-toc__toggle:hover {
  background: #f8fafc;
}

.btt-toc__icon {
  font-size: 16px;
  color: var(--btt-blue);
}

.btt-toc__chevron {
  margin-left: auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--btt-muted);
  border-bottom: 2px solid var(--btt-muted);
  transform: rotate(45deg);
  transition: transform .22s;
  flex-shrink: 0;
}

details[open].btt-toc .btt-toc__chevron {
  transform: rotate(-135deg);
}

.btt-toc__body {
  padding: 4px 18px 14px;
}

.btt-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.btt-toc__item {
  border-top: 1px solid var(--btt-border);
}

.btt-toc__item:first-child {
  border-top: none;
}

.btt-toc__item a {
  display: block;
  padding: 9px 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--btt-blue);
  text-decoration: none;
  transition: color .15s, padding-left .15s;
  word-break: break-word;
}

.btt-toc__item a:hover {
  color: var(--btt-blue-lt);
  padding-left: 8px;
}

.btt-toc__item--h3 a {
  padding-left: 18px;
  font-size: 13px;
  color: var(--btt-muted);
  font-weight: 500;
}

.btt-toc__item--h3 a:hover {
  color: var(--btt-blue);
  padding-left: 24px;
}

/* ── Post content wrapper ──────────────────────────────────── */
.btt-content {
  background: var(--btt-white);
  border: 1px solid var(--btt-border);
  border-radius: var(--btt-radius-lg);
  padding: 32px 36px;
  margin-bottom: 14px;
  box-shadow: var(--btt-shadow);
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--btt-slate);
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.btt-content h2,
.btt-content h3,
.btt-content h4 {
  font-weight: 800;
  color: var(--btt-slate);
  line-height: 1.35;
  margin: 1.8em 0 .6em;
  scroll-margin-top: calc(var(--btt-header-h) + 16px);
  overflow-wrap: anywhere;
}

.btt-content h2 {
  font-size: 23px;
  border-bottom: 2px solid var(--btt-border);
  padding-bottom: 10px;
}

.btt-content h3 {
  font-size: 19px;
  margin-top: 1.4em;
}

.btt-content p {
  margin: 0 0 1em;
  overflow-wrap: anywhere;
}

.btt-content a {
  color: var(--btt-blue);
  overflow-wrap: anywhere;
}

.btt-content a:hover {
  color: var(--btt-blue-lt);
}

.btt-content code {
  font-family: 'Courier New', monospace;
  font-size: 12.5px;
  background: #f1f5f9;
  border: 1px solid var(--btt-border);
  border-radius: 4px;
  padding: 2px 6px;
}

.btt-content pre {
  background: #1e293b;
  color: #e2e8f0;
  border-radius: var(--btt-radius);
  padding: 18px;
  overflow-x: auto;
  font-size: 13px;
  margin: 1em 0;
  max-width: 100%;
}

.btt-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--btt-radius);
  margin: .8em 0;
}

/* ── Resource / comparison card grid ───────────────────────── */
.btt-fw-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 1.4em 0;
  width: 100%;
}

.btt-fw-card {
  background: var(--btt-white);
  border: 1px solid var(--btt-border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 4px rgba(15,23,42,.06);
  transition: box-shadow .22s, transform .22s;
  min-width: 0;
}

.btt-fw-card:hover {
  box-shadow: 0 8px 28px rgba(15,23,42,.12);
  transform: translateY(-3px);
}

.btt-fw-card__accent {
  height: 4px;
  width: 100%;
  flex-shrink: 0;
}

.btt-fw-card__body {
  padding: 14px 16px 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.btt-fw-card__model {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--btt-slate);
  line-height: 1.3;
  word-break: break-word;
}

.btt-fw-card__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.btt-fw-spec {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #f8fafc;
  border: 1px solid var(--btt-border);
  border-radius: 6px;
  padding: 6px 9px;
  min-width: 0;
}

.btt-fw-spec__k {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--btt-muted);
}

.btt-fw-spec__v {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--btt-slate);
  word-break: break-word;
}

.btt-fw-card__footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 12px;
  border-top: 1px solid var(--btt-border);
  margin-top: auto;
  min-width: 0;
}

.btt-fw-card__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: -.3px;
}

.btt-fw-card__service {
  font-size: 13px;
  font-weight: 600;
  color: var(--btt-muted);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btt-fw-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 18px;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity .15s, transform .15s;
  min-height: 40px;
}

.btt-fw-card__btn:hover {
  opacity: .88;
  transform: scale(1.03);
}

/* ── Definition List ───────────────────────────────────────── */
.btt-content dl {
  display: grid;
  grid-template-columns: minmax(150px,200px) 1fr;
  border: 1px solid var(--btt-border);
  border-radius: var(--btt-radius);
  overflow: hidden;
  font-size: 13.5px;
  margin: 1em 0;
  width: 100%;
  max-width: 100%;
}

.btt-content dt {
  background: #f1f5f9;
  font-weight: 700;
  color: var(--btt-slate);
  padding: 10px 14px;
  border-top: 1px solid var(--btt-border);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .4px;
}

.btt-content dd {
  padding: 10px 14px;
  border-top: 1px solid var(--btt-border);
  margin: 0;
  color: var(--btt-slate);
}

.btt-content dt:first-of-type,
.btt-content dd:first-of-type {
  border-top: none;
}

/* ── Details / summary ─────────────────────────────────────── */
.btt-content details {
  border: 1px solid var(--btt-border);
  border-left: 4px solid var(--btt-sky);
  border-radius: var(--btt-radius);
  margin: 1.2em 0;
  background: var(--btt-white);
  width: 100%;
}

.btt-content summary {
  padding: 13px 16px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  color: var(--btt-slate);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  user-select: none;
}

.btt-content summary::-webkit-details-marker {
  display: none;
}

.btt-content summary::after {
  content: '▸';
  margin-left: auto;
  color: var(--btt-muted);
  font-size: 14px;
  transition: transform .2s;
}

.btt-content details[open] > summary::after {
  transform: rotate(90deg);
}

.btt-content summary:hover {
  background: #f8fafc;
}

.btt-content details > :not(summary) {
  padding: 0 16px 16px;
}

/* ── FAQ items ─────────────────────────────────────────────── */
.btt-faq-item {
  border: 1px solid var(--btt-border);
  border-radius: var(--btt-radius);
  margin: 8px 0;
  background: var(--btt-white);
  overflow: hidden;
  transition: box-shadow .2s;
  width: 100%;
}

.btt-faq-item[open] {
  box-shadow: 0 2px 12px rgba(15,23,42,.08);
  border-color: #bfdbfe;
}

.btt-faq-q {
  padding: 15px 18px;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--btt-slate);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  user-select: none;
}

.btt-faq-q::-webkit-details-marker {
  display: none;
}

.btt-faq-q::before {
  content: '❓';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--btt-blue);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.btt-faq-q::after {
  content: '+';
  margin-left: auto;
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 300;
  color: var(--btt-muted);
  transition: transform .22s;
}

.btt-faq-item[open] .btt-faq-q::after {
  transform: rotate(45deg);
  color: var(--btt-blue);
}

.btt-faq-q:hover {
  background: #f8fafc;
}

.btt-faq-a {
  padding: 0 18px 18px 54px;
  font-size: 15px;
  color: var(--btt-slate);
  border-top: 1px solid var(--btt-border);
}

.btt-faq-a p {
  margin: .8em 0;
}

/* ── Step list ─────────────────────────────────────────────── */
.btt-content ol.btt-steps {
  list-style: none;
  padding: 0;
  margin: 1em 0;
  counter-reset: step-counter;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btt-content ol.btt-steps > li {
  counter-increment: step-counter;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--btt-white);
  border: 1px solid var(--btt-border);
  border-radius: var(--btt-radius);
  padding: 14px 16px;
  box-shadow: 0 1px 4px rgba(15,23,42,.05);
  transition: box-shadow .2s;
}

.btt-content ol.btt-steps > li:hover {
  box-shadow: 0 3px 12px rgba(15,23,42,.10);
}

.btt-content ol.btt-steps > li::before {
  content: counter(step-counter);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--btt-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

/* ── Checklist ─────────────────────────────────────────────── */
.btt-content ul.btt-checklist {
  list-style: none;
  padding: 0;
  margin: 1em 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btt-content ul.btt-checklist > li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 14px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--btt-radius);
  font-size: 14px;
}

.btt-content ul.btt-checklist > li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--btt-green);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Regular lists ────────────────────────────────────────── */
.btt-content ol:not(.btt-steps) {
  padding-left: 0;
  margin: .8em 0;
  list-style: none;
  counter-reset: ol-counter;
}

.btt-content ol:not(.btt-steps) > li {
  counter-increment: ol-counter;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
}

.btt-content ol:not(.btt-steps) > li::before {
  content: counter(ol-counter) ".";
  flex-shrink: 0;
  font-weight: 700;
  color: var(--btt-blue);
  font-size: 13px;
}

.btt-content ol:not(.btt-steps) > li > * {
  flex: 1;
}

.btt-content ul:not(.btt-checklist) {
  list-style: none;
  padding: 0;
  margin: .8em 0;
}

.btt-content ul:not(.btt-checklist) > li {
  padding: 5px 0 5px 20px;
  position: relative;
  border-bottom: 1px solid #f1f5f9;
}

.btt-content ul:not(.btt-checklist) > li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--btt-blue);
  font-size: 12px;
}

/* ── Author box ────────────────────────────────────────────── */
.btt-author-box {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--btt-border);
  border-radius: var(--btt-radius-lg);
  padding: 20px;
  margin: 0 0 14px;
  box-shadow: var(--btt-shadow);
  width: 100%;
  min-width: 0;
}

.btt-author-box__avatar {
  flex: 0 0 auto;
  width: 88px;
  height: 88px;
}

.btt-author-box__avatar img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  border: 3px solid #e2e8f0;
}

.btt-author-box__body {
  min-width: 0;
  flex: 1;
}

.btt-author-box__title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--btt-muted);
  margin: 0 0 8px;
}

.btt-author-box__name {
  font-size: 18px;
  font-weight: 800;
  color: var(--btt-slate);
  margin: 0 0 8px;
}

.btt-author-box__bio {
  margin: 0 0 10px;
  font-size: 14px;
  color: #475569;
  overflow-wrap: anywhere;
}

.btt-author-box__link {
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  color: var(--btt-blue);
}

.btt-author-box__link:hover {
  text-decoration: underline;
}

/* ── Post meta footer strip ────────────────────────────────── */
.btt-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  padding: 12px 18px;
  background: var(--btt-white);
  border: 1px solid var(--btt-border);
  border-radius: var(--btt-radius);
  font-size: 12px;
  color: var(--btt-muted);
  font-weight: 600;
  margin-bottom: 14px;
  width: 100%;
  min-width: 0;
}

.btt-post-meta__cat {
  color: var(--btt-blue);
  text-decoration: none;
  font-weight: 700;
}

.btt-post-meta__cat:hover {
  text-decoration: underline;
}

/* ── Comments collapsible wrapper ──────────────────────────── */
.btt-comments-wrap {
  background: var(--btt-white);
  border: 1px solid var(--btt-border);
  border-radius: var(--btt-radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
  width: 100%;
}

.btt-comments-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  font-size: 15px;
  font-weight: 700;
  color: var(--btt-slate);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.btt-comments-toggle::-webkit-details-marker {
  display: none;
}

.btt-comments-toggle:hover {
  background: #f8fafc;
}

.btt-comments-toggle__icon {
  font-size: 18px;
}

.btt-comments-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: #2563eb;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  border-radius: 99px;
}

.btt-comments-toggle__chevron::after {
  content: '▾';
  font-size: 12px;
  color: var(--btt-muted);
  margin-left: auto;
}

details[open] .btt-comments-toggle__chevron::after {
  content: '▴';
}

.btt-comments-body {
  padding: 0 22px 22px;
  border-top: 1px solid var(--btt-border);
}

/* ── Comment list ─────────────────────────────────────────── */
.btt-comments {
  padding-top: 4px;
}

.btt-comments__header {
  padding: 16px 0 4px;
}

.btt-comments__title {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.btt-comments__title span {
  color: #2563eb;
}

.btt-comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.btt-comment {
  border-bottom: 1px solid #f1f5f9;
  padding: 16px 0;
}

.btt-comment:last-child {
  border-bottom: none;
}

.btt-comment.depth-2 { margin-left: 32px; }
.btt-comment.depth-3 { margin-left: 56px; }
.btt-comment.depth-4 { margin-left: 72px; }

.btt-comment__inner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.btt-comment__avatar-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid #f1f5f9;
}

.btt-comment__body {
  flex: 1;
  min-width: 0;
}

.btt-comment__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.btt-comment__author {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
}

.btt-comment__time {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 11.5px;
  color: #94a3b8;
}

.btt-comment__pending {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  color: #d97706;
  background: #fef3c7;
  padding: 2px 7px;
  border-radius: 99px;
}

.btt-comment__text {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 13.5px;
  color: #334155;
  overflow-wrap: anywhere;
}

.btt-comment__text p {
  margin: 0 0 8px;
}

.btt-comment__text p:last-child {
  margin: 0;
}

.btt-comment__text a {
  color: #2563eb;
}

.btt-comment__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.btt-comment__reply-link {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
  transition: color .15s;
}

.btt-comment__reply-link:hover {
  color: #1d4ed8;
}

.btt-comment__edit a {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  text-decoration: none;
}

.btt-comment__pingback {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 12.5px;
  color: #64748b;
  padding: 8px 0;
}

/* ── Comment form ─────────────────────────────────────────── */
.btt-comment-form-wrap {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1.5px solid #f1f5f9;
}

.btt-cf-title {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 16px;
}

#cancel-comment-reply-link {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  text-decoration: none;
  margin-left: 10px;
}

#cancel-comment-reply-link:hover {
  color: #ef4444;
}

.btt-cf-logged-in {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 12.5px;
  color: #64748b;
  margin: 0 0 16px;
  padding: 10px 14px;
  background: #f8f9fb;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.btt-cf-logged-in strong {
  color: #0f172a;
}

.btt-cf-logged-in a {
  color: #2563eb;
}

.btt-cf {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.btt-cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.btt-cf-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.btt-cf-field--full {
  grid-column: 1 / -1;
}

.btt-cf-label {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: .4px;
}

.btt-cf-required {
  color: #ef4444;
}

.btt-cf-input,
.btt-cf-textarea {
  width: 100%;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 13.5px;
  color: #0f172a;
  background: #f8f9fb;
  border: 1.5px solid #e2e8f0;
  border-radius: 9px;
  padding: 10px 13px;
  outline: none;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}

.btt-cf-input:focus,
.btt-cf-textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
  background: #fff;
}

.btt-cf-textarea {
  resize: vertical;
  min-height: 120px;
}

.btt-cf-field--cookie {
  flex-direction: row;
  align-items: center;
}

.btt-cf-cookie-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 12.5px;
  color: #64748b;
  cursor: pointer;
}

.btt-cf-cookie-label input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: #2563eb;
  flex-shrink: 0;
}

.btt-cf-submit-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btt-cf-submit {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 11px 24px;
  background: #0f172a;
  color: #fff;
  border: none;
  border-radius: 99px;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  transition: background .18s, box-shadow .18s;
}

.btt-cf-submit:hover {
  background: #1e40af;
  box-shadow: 0 4px 14px rgba(15,23,42,.2);
}

/* ── Comments closed ───────────────────────────────────────── */
.btt-comments-closed {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 0;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 13.5px;
  color: #94a3b8;
}

.btt-comments-closed span {
  font-size: 18px;
}

.btt-comments-closed p {
  margin: 0;
}

/* ── Comment pagination ─────────────────────────────────────── */
.btt-comments-pagination {
  margin: 16px 0;
}

.btt-comments-pagination .page-numbers {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.btt-comments-pagination .page-numbers a,
.btt-comments-pagination .page-numbers span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border-radius: 7px;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  transition: border-color .15s, background .15s;
}

.btt-comments-pagination .page-numbers a:hover {
  border-color: #2563eb;
  color: #2563eb;
  background: #eff6ff;
}

.btt-comments-pagination .page-numbers .current {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}

/* ── Protected post ─────────────────────────────────────────── */
.btt-comments-protected {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 13.5px;
  color: #64748b;
  padding: 16px 0;
}

/* ── Related posts below comments ──────────────────────────── */
.btt-related-below {
  margin: 14px 0 0;
  background: var(--btt-white);
  border: 1px solid var(--btt-border);
  border-radius: var(--btt-radius-lg);
  box-shadow: var(--btt-shadow);
  padding: 20px;
  width: 100%;
}

.btt-related-below__title {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 800;
  color: var(--btt-slate);
  letter-spacing: -.2px;
}

.btt-related-below__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.btt-related-below__card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  transition: transform .18s, box-shadow .18s, border-color .18s;
  min-width: 0;
}

.btt-related-below__card:hover {
  transform: translateY(-3px);
  border-color: #bfdbfe;
  box-shadow: 0 10px 28px rgba(37,99,235,.14);
}

.btt-related-below__thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(160deg, #dbeafe 0%, #e0f2fe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.btt-related-below__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.btt-related-below__thumb span {
  font-size: 28px;
  color: #2563eb;
}

.btt-related-below__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  min-width: 0;
}

.btt-related-below__date {
  display: inline-flex;
  width: fit-content;
  padding: 3px 8px;
  border-radius: 99px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.btt-related-below__headline {
  font-size: 14px;
  font-weight: 800;
  color: var(--btt-slate);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

/* ── Full width article mode overrides ─────────────────────── */
.btt-single--full {
  background: var(--btt-bg);
}

.btt-single__layout--full {
  max-width: var(--btt-content-max);
  margin: 0 auto;
  padding: 0 24px 30px;
  display: block;
}

.btt-single__main--full {
  width: 100%;
  margin: 0 auto;
}

.btt-single--full .btt-hero,
.btt-single--full .btt-meta-bar,
.btt-single--full .btt-toc,
.btt-single--full .btt-content,
.btt-single--full .btt-post-meta,
.btt-single--full .btt-author-box,
.btt-single--full .btt-comments-wrap,
.btt-single--full .btt-related-below {
  width: 100%;
  max-width: 100%;
}

.btt-single--full .btt-content,
.btt-single--full .btt-author-box,
.btt-single--full .btt-post-meta,
.btt-single--full .btt-comments-wrap,
.btt-single--full .btt-related-below {
  margin-left: auto;
  margin-right: auto;
}

.btt-single--full .btt-hero {
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
}

.btt-single--full .btt-meta-bar {
  justify-content: flex-start;
}

.btt-single--full .btt-author-box {
  margin-top: 0;
}

/* Better spacing at the bottom before footer */
.btt-single--full .btt-related-below,
.btt-single--full .btt-comments-wrap,
.btt-single--full .btt-author-box,
.btt-single--full .btt-post-meta {
  margin-bottom: 12px;
}

.btt-single__layout--full > *:last-child {
  margin-bottom: 0;
}

/* ── Responsive Design ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .btt-single__layout {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 0 20px 34px;
  }

  .btt-sidebar {
    display: none;
  }

  .btt-single__layout--full {
    max-width: 920px;
    padding: 0 20px 26px;
  }

  .btt-single--full .btt-hero {
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  }

  .btt-related-below__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .btt-meta-bar {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

@media (max-width: 680px) {
  .btt-single__layout,
  .btt-single__layout--full {
    padding-left: 14px;
    padding-right: 14px;
    padding-bottom: 26px;
  }

  .btt-hero {
    grid-template-columns: 1fr;
    margin-top: 16px;
  }

  .btt-single--full .btt-hero {
    grid-template-columns: 1fr;
  }

  .btt-hero__img {
    min-height: 180px;
    max-height: 220px;
    padding: 10px;
  }

  .btt-hero__body {
    padding: 18px;
  }

  .btt-hero__title {
    font-size: 17px;
  }

  .btt-content {
    padding: 18px 16px;
    font-size: 15px;
    line-height: 1.75;
  }

  .btt-content h2 {
    font-size: 18px;
  }

  .btt-content h3 {
    font-size: 16px;
  }

  .btt-content dl {
    grid-template-columns: 1fr;
  }

  .btt-content dt {
    border-top: 1px solid var(--btt-border);
    padding-bottom: 2px;
  }

  .btt-content dd {
    border-top: none;
    padding-top: 4px;
  }

  .btt-meta-bar {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .btt-meta-bar__item {
    padding: 10px 12px;
  }

  .btt-fw-grid {
    grid-template-columns: 1fr;
  }

  .btt-fw-card__specs {
    grid-template-columns: 1fr;
  }

  .btt-fw-card__footer {
    flex-wrap: wrap;
  }

  .btt-fw-card__service {
    white-space: normal;
  }

  .btt-author-box {
    flex-direction: column;
    gap: 14px;
    padding: 16px;
  }

  .btt-author-box__avatar,
  .btt-author-box__avatar img {
    width: 72px;
    height: 72px;
  }

  .btt-author-box__name {
    font-size: 16px;
  }

  .btt-post-meta {
    padding: 10px 14px;
    gap: 10px;
  }

  .btt-comments-body {
    padding: 0 14px 16px;
  }

  .btt-comment.depth-2,
  .btt-comment.depth-3,
  .btt-comment.depth-4 {
    margin-left: 0;
  }

  .btt-comment__inner {
    gap: 10px;
  }

  .btt-comment__avatar-img {
    width: 38px;
    height: 38px;
  }

  .btt-comment__text {
    font-size: 13px;
  }

  .btt-cf-row {
    grid-template-columns: 1fr;
  }

  .btt-cf-field--cookie {
    align-items: flex-start;
  }

  .btt-related-below {
    padding: 16px;
    margin-top: 12px;
  }

  .btt-related-below__grid {
    grid-template-columns: 1fr;
  }

  .btt-related-below__title {
    font-size: 16px;
  }

  .btt-single--full .btt-related-below,
  .btt-single--full .btt-comments-wrap,
  .btt-single--full .btt-author-box,
  .btt-single--full .btt-post-meta {
    margin-bottom: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btt-btn,
  .btt-fw-card,
  .btt-related-below__card,
  .btt-cf-submit,
  .btt-comments-pagination .page-numbers a,
  .btt-comment__reply-link,
  .btt-content summary::after {
    transition: none;
  }
}

/* Print */
@media print {
  .btt-single {
    background: #fff;
  }

  .btt-sidebar,
  .btt-comments-wrap,
  .btt-related-below,
  .btt-cf-submit,
  .btt-comments-pagination {
    display: none;
  }
}