/* ============================================================
   Blog The Tech — Generic Static Pages
   assets/page.css
   ============================================================ */

.btt-page-wrap {
  background: #f8fafc;
  color: #0f172a;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

.btt-page-hero {
  background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
  padding: 48px 24px 44px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  position: relative;
  overflow: hidden;
}

.btt-page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,.4) 40%, rgba(37,99,235,.6) 50%, rgba(37,99,235,.4) 60%, transparent);
}

.btt-page-hero__inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}

.btt-page-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #60a5fa;
  margin: 0 0 12px;
}

.btt-page-hero__badge::before {
  content: '';
  width: 18px;
  height: 2px;
  background: #60a5fa;
  border-radius: 2px;
  display: block;
}

.btt-page-hero__title {
  margin: 0 0 14px;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -.5px;
  color: #f8fafc;
}

.btt-page-hero__desc {
  max-width: 760px;
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,.62);
}

.btt-page-body {
  padding: 40px 24px 80px;
}

.btt-page-body__inner {
  max-width: 860px;
  margin: 0 auto;
}

.btt-page-content {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 40px 44px;
  box-shadow: 0 10px 28px rgba(15,23,42,.05);
  font-size: 15.5px;
  line-height: 1.85;
  color: #334155;
  overflow-wrap: anywhere;
  word-break: normal;
}

.btt-page-content > * {
  max-width: none;
}

.btt-page-content h2 {
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
  margin: 2.1em 0 .7em;
  padding-bottom: 10px;
  border-bottom: 1.5px solid #e2e8f0;
  letter-spacing: -.2px;
}

.btt-page-content h2:first-child {
  margin-top: 0;
}

.btt-page-content h3 {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin: 1.6em 0 .5em;
}

.btt-page-content h4 {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin: 1.4em 0 .4em;
  text-transform: uppercase;
  letter-spacing: .6px;
}

.btt-page-content p {
  margin: 0 0 1em;
}

.btt-page-content a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.btt-page-content a:hover {
  color: #1e40af;
}

.btt-page-content ul,
.btt-page-content ol {
  padding-left: 20px;
  margin: .8em 0 1.2em;
}

.btt-page-content li {
  margin-bottom: 6px;
}

.btt-page-content blockquote {
  margin: 1.4em 0;
  padding: 16px 20px;
  background: #eff6ff;
  border-left: 4px solid #3b82f6;
  border-radius: 0 10px 10px 0;
  font-size: 14.5px;
  color: #475569;
}

.btt-page-content code {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 1px 6px;
  color: #0f172a;
}

.btt-page-content hr {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 2em 0;
}

.btt-page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0 1.2em;
  font-size: 14px;
}

.btt-page-content th,
.btt-page-content td {
  border: 1px solid #e2e8f0;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.btt-page-content th {
  background: #f8fafc;
  color: #0f172a;
  font-weight: 800;
}

.btt-page-content img,
.btt-page-content iframe,
.btt-page-content video,
.btt-page-content figure {
  max-width: 100%;
  height: auto;
}

@media (max-width: 600px) {
  .btt-page-hero {
    padding: 36px 16px 32px;
  }

  .btt-page-body {
    padding: 24px 14px 56px;
  }

  .btt-page-content {
    padding: 24px 20px;
    font-size: 15px;
    border-radius: 18px;
  }

  .btt-page-hero__title {
    font-size: clamp(24px, 7vw, 34px);
  }
}