/*
Theme Name: BlogTechnika
Theme URI: http://141.253.104.120
Description: Premium tech publication theme for BlogTechnika — child of Astra
Author: BlogTechnika
Template: astra
Version: 1.0.0
*/

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
  /* Colors */
  --bt-bg: #F9FAFB;
  --bt-bg-alt: #FFFFFF;
  --bt-surface: #FFFFFF;
  --bt-border: #E5E7EB;
  --bt-border-light: #F3F4F6;
  --bt-text-primary: #1E293B;
  --bt-text-secondary: #64748B;
  --bt-text-tertiary: #94A3B8;
  --bt-accent: #4F46E5;
  --bt-accent-hover: #4338CA;
  --bt-accent-light: #EEF2FF;
  --bt-accent-subtle: #E0E7FF;
  --bt-gradient-start: #4F46E5;
  --bt-gradient-end: #7C3AED;
  --bt-success: #10B981;
  --bt-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --bt-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --bt-shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --bt-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --bt-radius: 12px;
  --bt-radius-sm: 8px;
  --bt-radius-pill: 100px;
  --bt-transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --bt-max-width: 1200px;
  --bt-content-width: 720px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
body.flavor-flavor,
body.flavor {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--bt-text-primary);
  background-color: var(--bt-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

/* Override ALL Astra styles */
body .site-content,
body #page,
body .ast-container,
.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-single,
.ast-separate-container .comment-respond,
.ast-separate-container .ast-comment-list li,
.ast-separate-container .ast-woocommerce-container {
  background-color: transparent;
  padding: 0;
}

.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-single {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
}

/* Hide Astra's default header and footer */
.ast-above-header-wrap,
.ast-below-header-wrap,
.main-header-bar-wrap,
.site-header,
#masthead,
.ast-above-header,
.ast-below-header,
.ast-primary-header-bar,
.ast-footer-overlay,
.site-footer,
.ast-small-footer,
.ast-footer-copyright,
footer.site-footer,
.ast-footer-width {
  display: none !important;
}

/* Hide default Astra title area */
.ast-archive-description,
.entry-header .entry-title,
.ast-single-post .entry-header {
  display: none !important;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--bt-text-primary);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
  margin: 0 0 1.5em;
  color: var(--bt-text-primary);
  line-height: 1.75;
}

a {
  color: var(--bt-accent);
  text-decoration: none;
  transition: color var(--bt-transition);
}

a:hover {
  color: var(--bt-accent-hover);
}

/* ============================================
   CUSTOM HEADER / NAVBAR
   ============================================ */
.bt-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bt-border-light);
  transition: box-shadow var(--bt-transition);
}

.bt-header.scrolled {
  box-shadow: var(--bt-shadow-sm);
}

.bt-header-inner {
  max-width: var(--bt-max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bt-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--bt-text-primary);
  text-decoration: none;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bt-logo:hover {
  color: var(--bt-text-primary);
}

.bt-logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--bt-gradient-start), var(--bt-gradient-end));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 0.875rem;
}

.bt-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.bt-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--bt-text-secondary);
  text-decoration: none;
  transition: color var(--bt-transition);
  position: relative;
}

.bt-nav a:hover {
  color: var(--bt-text-primary);
}

.bt-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--bt-accent);
  border-radius: 1px;
  transition: width var(--bt-transition);
}

.bt-nav a:hover::after {
  width: 100%;
}

.bt-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bt-search-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--bt-text-secondary);
  border-radius: var(--bt-radius-sm);
  cursor: pointer;
  transition: all var(--bt-transition);
}

.bt-search-btn:hover {
  background: var(--bt-border-light);
  color: var(--bt-text-primary);
}

.bt-subscribe-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  background: var(--bt-text-primary);
  border: none;
  border-radius: var(--bt-radius-pill);
  cursor: pointer;
  transition: all var(--bt-transition);
  text-decoration: none;
}

.bt-subscribe-btn:hover {
  background: #000;
  color: #fff;
  transform: translateY(-1px);
}

/* Mobile hamburger */
.bt-mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.bt-mobile-toggle span {
  width: 20px;
  height: 2px;
  background: var(--bt-text-primary);
  border-radius: 1px;
  transition: all var(--bt-transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.bt-hero {
  max-width: var(--bt-max-width);
  margin: 0 auto;
  padding: 48px 24px 0;
}

.bt-hero-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--bt-surface);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--bt-border);
  transition: box-shadow var(--bt-transition);
}

.bt-hero-card:hover {
  box-shadow: var(--bt-shadow-md);
}

.bt-hero-content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bt-hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.bt-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--bt-accent);
  background: var(--bt-accent-light);
  border-radius: var(--bt-radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bt-tag-featured {
  color: #D97706;
  background: #FFFBEB;
}

.bt-hero-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  color: var(--bt-text-primary);
}

.bt-hero-title a {
  color: inherit;
  text-decoration: none;
}

.bt-hero-title a:hover {
  color: var(--bt-accent);
}

.bt-hero-excerpt {
  font-size: 1.0625rem;
  color: var(--bt-text-secondary);
  line-height: 1.7;
  margin: 0 0 24px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bt-hero-footer {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bt-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bt-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bt-gradient-start), var(--bt-gradient-end));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.8125rem;
  flex-shrink: 0;
}

.bt-author-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bt-text-primary);
}

.bt-post-date {
  font-size: 0.8125rem;
  color: var(--bt-text-tertiary);
}

.bt-read-time {
  font-size: 0.8125rem;
  color: var(--bt-text-tertiary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.bt-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--bt-text-tertiary);
}

.bt-hero-visual {
  background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 50%, #C7D2FE 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  position: relative;
  overflow: hidden;
}

.bt-hero-visual::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.bt-hero-visual::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border: 2px solid rgba(79, 70, 229, 0.1);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: bt-pulse 4s ease-in-out infinite;
}

@keyframes bt-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.2; }
}

.bt-abstract-graphic {
  position: relative;
  z-index: 1;
}

.bt-abstract-graphic svg {
  width: 180px;
  height: 180px;
  opacity: 0.6;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.bt-section {
  max-width: var(--bt-max-width);
  margin: 0 auto;
  padding: 56px 24px 0;
}

.bt-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--bt-border);
}

.bt-section-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--bt-text-primary);
  margin: 0;
  letter-spacing: -0.01em;
}

.bt-section-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--bt-accent);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.bt-section-link:hover {
  color: var(--bt-accent-hover);
}

/* ============================================
   POST CARDS GRID
   ============================================ */
.bt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bt-card {
  background: var(--bt-surface);
  border: 1px solid var(--bt-border);
  border-radius: var(--bt-radius);
  overflow: hidden;
  transition: all var(--bt-transition);
  display: flex;
  flex-direction: column;
}

.bt-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--bt-shadow-lg);
  border-color: transparent;
}

.bt-card-image {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #F3F4F6, #E5E7EB);
  position: relative;
  overflow: hidden;
}

.bt-card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(79, 70, 229, 0.05) 0%,
    rgba(124, 58, 237, 0.08) 100%
  );
}

.bt-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Abstract pattern for cards without images */
.bt-card-pattern {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
}

.bt-card-pattern-1 {
  background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
}

.bt-card-pattern-2 {
  background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
}

.bt-card-pattern-3 {
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
}

.bt-card-pattern-4 {
  background: linear-gradient(135deg, #FCE7F3 0%, #FBCFE8 100%);
}

.bt-card-pattern-5 {
  background: linear-gradient(135deg, #ECFEFF 0%, #CFFAFE 100%);
}

.bt-card-pattern::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border: 2px solid rgba(0, 0, 0, 0.04);
  border-radius: 50%;
  bottom: -40px;
  right: -20px;
}

.bt-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.bt-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.bt-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  color: var(--bt-text-primary);
}

.bt-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--bt-transition);
}

.bt-card-title a:hover {
  color: var(--bt-accent);
}

.bt-card-excerpt {
  font-size: 0.9375rem;
  color: var(--bt-text-secondary);
  line-height: 1.6;
  margin: 0 0 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bt-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--bt-border-light);
  margin-top: auto;
}

.bt-card-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bt-card-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bt-gradient-start), var(--bt-gradient-end));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.6875rem;
  flex-shrink: 0;
}

.bt-card-author-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bt-text-primary);
}

.bt-card-time {
  font-size: 0.75rem;
  color: var(--bt-text-tertiary);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ============================================
   READING PROGRESS BAR
   ============================================ */
.bt-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--bt-gradient-start), var(--bt-gradient-end));
  z-index: 9999;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* ============================================
   SINGLE POST
   ============================================ */
:root {
  --bt-content-width: 780px;
}

.bt-single-header {
  max-width: var(--bt-content-width);
  margin: 0 auto;
  padding: 56px 24px 0;
  text-align: center;
}

.bt-single-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.bt-single-title {
  font-size: clamp(2rem, 4.5vw, 2.875rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
}

.bt-single-subtitle {
  font-size: 1.25rem;
  color: var(--bt-text-secondary);
  line-height: 1.6;
  margin: 0 0 32px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.bt-single-author-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-bottom: 40px;
}

/* Decorative divider replacing the border */
.bt-single-divider {
  max-width: var(--bt-content-width);
  margin: 0 auto;
  padding: 0 24px 40px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.bt-single-divider::before,
.bt-single-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bt-border), transparent);
}

.bt-single-divider-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bt-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bt-single-divider-icon svg {
  width: 14px;
  height: 14px;
  color: var(--bt-accent);
}

.bt-single-content {
  max-width: var(--bt-content-width);
  margin: 0 auto;
  padding: 0 24px 80px;
}

.bt-single-content .entry-content,
.bt-single-content .entry-content p {
  font-size: 1.125rem;
  line-height: 1.85;
  color: #374151;
}

.bt-single-content .entry-content p {
  margin-bottom: 1.75em;
}

/* H2 — prominent section breaks */
.bt-single-content .entry-content h2 {
  font-size: 1.625rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--bt-text-primary);
  margin: 56px 0 16px;
  padding-top: 0;
  position: relative;
}

.bt-single-content .entry-content h2::before {
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  background: linear-gradient(90deg, var(--bt-gradient-start), var(--bt-gradient-end));
  border-radius: 2px;
  margin-bottom: 16px;
}

/* H3 — subsection */
.bt-single-content .entry-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--bt-text-primary);
  margin: 40px 0 12px;
}

.bt-single-content .entry-content blockquote {
  border-left: 3px solid var(--bt-accent);
  margin: 40px 0;
  padding: 20px 28px;
  background: var(--bt-accent-light);
  border-radius: 0 var(--bt-radius-sm) var(--bt-radius-sm) 0;
  font-style: italic;
  font-size: 1.125rem;
  color: var(--bt-text-secondary);
}

.bt-single-content .entry-content code {
  background: var(--bt-border-light);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.875em;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  color: #6D28D9;
}

.bt-single-content .entry-content pre {
  background: #0F172A;
  color: #E2E8F0;
  padding: 28px;
  border-radius: var(--bt-radius);
  overflow-x: auto;
  font-size: 0.875rem;
  line-height: 1.75;
  margin: 32px 0;
}

.bt-single-content .entry-content pre code {
  background: transparent;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

.bt-single-content .entry-content a {
  color: var(--bt-accent);
  text-decoration: underline;
  text-decoration-color: rgba(79, 70, 229, 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--bt-transition);
}

.bt-single-content .entry-content a:hover {
  text-decoration-color: var(--bt-accent);
}

.bt-single-content .entry-content ul,
.bt-single-content .entry-content ol {
  padding-left: 28px;
  margin: 16px 0 24px;
}

.bt-single-content .entry-content li {
  margin-bottom: 10px;
  line-height: 1.75;
  color: #374151;
}

.bt-single-content .entry-content strong,
.bt-single-content .entry-content b {
  font-weight: 700;
  color: var(--bt-text-primary);
}

.bt-single-content .entry-content em {
  font-style: italic;
}

.bt-single-content .entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--bt-radius);
  margin: 40px 0;
  box-shadow: var(--bt-shadow-md);
}

/* First paragraph drop cap style */
.bt-single-content .entry-content > p:first-of-type {
  font-size: 1.1875rem;
  color: #1E293B;
}

/* ============================================
   FOOTER
   ============================================ */
.bt-footer {
  margin-top: 80px;
  border-top: 1px solid var(--bt-border);
  background: var(--bt-surface);
}

.bt-footer-newsletter {
  max-width: var(--bt-max-width);
  margin: 0 auto;
  padding: 64px 24px;
  text-align: center;
}

.bt-footer-newsletter h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.bt-footer-newsletter p {
  color: var(--bt-text-secondary);
  margin: 0 0 24px;
  font-size: 1rem;
}

.bt-newsletter-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 440px;
  margin: 0 auto;
}

.bt-newsletter-input {
  flex: 1;
  padding: 12px 16px;
  font-size: 0.9375rem;
  font-family: 'Inter', sans-serif;
  border: 1px solid var(--bt-border);
  border-radius: var(--bt-radius-sm);
  background: var(--bt-bg);
  color: var(--bt-text-primary);
  outline: none;
  transition: border-color var(--bt-transition);
}

.bt-newsletter-input:focus {
  border-color: var(--bt-accent);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.bt-newsletter-submit {
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: #fff;
  background: var(--bt-text-primary);
  border: none;
  border-radius: var(--bt-radius-sm);
  cursor: pointer;
  transition: all var(--bt-transition);
  white-space: nowrap;
}

.bt-newsletter-submit:hover {
  background: #000;
  transform: translateY(-1px);
}

.bt-footer-bottom {
  border-top: 1px solid var(--bt-border);
  padding: 24px;
}

.bt-footer-bottom-inner {
  max-width: var(--bt-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bt-copyright {
  font-size: 0.8125rem;
  color: var(--bt-text-tertiary);
}

.bt-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bt-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bt-text-tertiary);
  border-radius: var(--bt-radius-sm);
  transition: all var(--bt-transition);
}

.bt-social a:hover {
  color: var(--bt-text-primary);
  background: var(--bt-border-light);
}

.bt-social svg {
  width: 18px;
  height: 18px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .bt-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .bt-hero-card {
    grid-template-columns: 1fr;
  }

  .bt-hero-visual {
    min-height: 200px;
    order: -1;
  }

  .bt-hero-content {
    padding: 28px;
  }

  .bt-grid {
    grid-template-columns: 1fr;
  }

  .bt-nav {
    display: none;
  }

  .bt-mobile-toggle {
    display: flex;
  }

  .bt-newsletter-form {
    flex-direction: column;
  }

  .bt-newsletter-input,
  .bt-newsletter-submit {
    width: 100%;
  }

  .bt-footer-bottom-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .bt-section {
    padding: 40px 16px 0;
  }

  .bt-hero {
    padding: 24px 16px 0;
  }

  .bt-subscribe-btn {
    display: none;
  }
}

@media (max-width: 480px) {
  .bt-header-inner {
    padding: 0 16px;
  }

  .bt-hero-content {
    padding: 20px;
  }

  .bt-card-body {
    padding: 16px;
  }
}

/* ============================================
   OVERRIDE ASTRA CONTENT AREA
   ============================================ */
#primary,
.ast-container,
.site-content .ast-container {
  max-width: 100% !important;
  padding: 0 !important;
}

.ast-separate-container #primary {
  padding: 0 !important;
  margin: 0 !important;
}

/* Hide default Astra post meta */
.ast-blog-single-element,
.post-navigation,
.ast-single-post-order {
  display: none;
}

/* Pagination */
.bt-pagination {
  max-width: var(--bt-max-width);
  margin: 48px auto 0;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.bt-pagination a,
.bt-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--bt-radius-sm);
  border: 1px solid var(--bt-border);
  background: var(--bt-surface);
  color: var(--bt-text-secondary);
  text-decoration: none;
  transition: all var(--bt-transition);
}

.bt-pagination a:hover {
  border-color: var(--bt-accent);
  color: var(--bt-accent);
}

.bt-pagination .current {
  background: var(--bt-text-primary);
  color: #fff;
  border-color: var(--bt-text-primary);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.bt-container {
  max-width: var(--bt-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.bt-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
