/* ==========================================================================
   TopBlogTech.com - Cool Modern Light Tech Magazine Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --tbt-primary: #2563eb;
  --tbt-primary-dark: #1d4ed8;
  --tbt-primary-light: #eff6ff;
  --tbt-accent-cyan: #06b6d4;
  --tbt-accent-gold: #f59e0b;
  --tbt-accent-emerald: #10b981;
  --tbt-accent-rose: #f43f5e;
  
  --tbt-bg-body: #f8fafc;
  --tbt-bg-card: #ffffff;
  --tbt-border-light: #e2e8f0;
  --tbt-border-hover: #93c5fd;
  
  --tbt-text-dark: #0f172a;
  --tbt-text-body: #334155;
  --tbt-text-muted: #64748b;
  --tbt-text-subtle: #94a3b8;
  
  --tbt-font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --tbt-font-body: 'Inter', system-ui, -apple-system, sans-serif;
  
  --tbt-radius-card: 20px;
  --tbt-radius-pill: 9999px;
  
  --tbt-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --tbt-shadow-md: 0 10px 30px -5px rgba(15, 23, 42, 0.06), 0 4px 10px -2px rgba(15, 23, 42, 0.03);
  --tbt-shadow-hover: 0 22px 40px -12px rgba(37, 99, 235, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--tbt-font-body);
  color: var(--tbt-text-body);
  background-color: var(--tbt-bg-body);
  line-height: 1.7;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Cool Light Tech Navbar
   ========================================================================== */
.tbt-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--tbt-border-light);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  width: 100%;
}

.tbt-header-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 10px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.tbt-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tbt-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.tbt-logo-link:hover {
  transform: scale(1.02);
}

.tbt-logo-img {
  height: 66px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(37, 99, 235, 0.35));
}

.tbt-nav {
  display: flex;
  align-items: center;
}

.tbt-nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tbt-nav-item {
  color: #334155;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--tbt-radius-pill);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.tbt-nav-item:hover {
  color: var(--tbt-primary);
  background: #f1f5f9;
}

.tbt-nav-item.active {
  background: #eff6ff;
  color: var(--tbt-primary);
  font-weight: 700;
}

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

.tbt-btn-cta {
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 9px 20px;
  border-radius: var(--tbt-radius-pill);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: all 0.25s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tbt-btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
  filter: brightness(1.05);
}

/* ==========================================================================
   Cool Light Tech Hero Section
   ========================================================================== */
.tbt-hero-cool {
  background: linear-gradient(180deg, #f0f7ff 0%, #f8fafc 60%, #ffffff 100%);
  padding: 56px 24px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--tbt-border-light);
}

.tbt-hero-glow {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 750px;
  height: 350px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, rgba(6, 182, 212, 0.06) 45%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}

.tbt-hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
}

.tbt-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--tbt-radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  color: #2563eb;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 22px;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.tbt-hero-title {
  font-family: var(--tbt-font-heading);
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
  font-weight: 800;
  line-height: 1.18;
  margin: 0 auto 20px;
  color: var(--tbt-text-dark);
  letter-spacing: -0.03em;
}

.tbt-text-gradient {
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tbt-hero-subtitle {
  font-size: 1.15rem;
  color: var(--tbt-text-muted);
  max-width: 720px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

.tbt-hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.tbt-pill {
  font-size: 0.84rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: var(--tbt-radius-pill);
  background: #ffffff;
  border: 1px solid var(--tbt-border-light);
  color: #475569;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.tbt-pill:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: var(--tbt-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

/* ==========================================================================
   Section Title & Count Badge
   ========================================================================== */
.tbt-section-header {
  max-width: 1240px;
  margin: 48px auto 20px;
  padding: 0 24px;
}

.tbt-section-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tbt-section-bar {
  display: inline-block;
  width: 5px;
  height: 26px;
  background: linear-gradient(180deg, #2563eb, #06b6d4);
  border-radius: 4px;
}

.tbt-section-title {
  font-family: var(--tbt-font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--tbt-text-dark);
  margin: 0;
  letter-spacing: -0.01em;
}

.tbt-badge-count {
  background: #eff6ff;
  color: var(--tbt-primary);
  border: 1px solid #bfdbfe;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--tbt-radius-pill);
}

/* ==========================================================================
   Post Card Grid (Modern Magazine Layout)
   ========================================================================== */
.wp-block-query {
  max-width: 1240px !important;
  margin: 0 auto 72px !important;
  padding: 0 24px;
}

.wp-block-post-template {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)) !important;
  gap: 32px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 24px 0 48px !important;
}

.wp-block-post-template > li {
  background: var(--tbt-bg-card);
  border-radius: var(--tbt-radius-card);
  border: 1px solid var(--tbt-border-light);
  box-shadow: var(--tbt-shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.wp-block-post-template > li:hover {
  transform: translateY(-8px);
  box-shadow: var(--tbt-shadow-hover);
  border-color: var(--tbt-border-hover);
}

/* Featured Image inside Card */
.wp-block-post-featured-image {
  margin: 0 !important;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background-color: #0b0f19;
}

.wp-block-post-featured-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.5s ease;
  display: block;
}

.wp-block-post-template > li:hover .wp-block-post-featured-image img {
  transform: scale(1.05);
}

/* Card Body */
.tbt-card-body,
.wp-block-post-template > li .wp-block-group {
  padding: 24px 24px 20px !important;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Category Terms */
.tbt-post-category,
.wp-block-post-terms {
  margin-bottom: 10px !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
}

.wp-block-post-terms a {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--tbt-radius-pill);
  background: #eff6ff;
  color: var(--tbt-primary) !important;
  border: 1px solid #bfdbfe;
  text-decoration: none !important;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}

.wp-block-post-terms a:hover {
  background: var(--tbt-primary);
  color: #ffffff !important;
}

/* Card Post Title */
.wp-block-post-title {
  font-family: var(--tbt-font-heading) !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  margin: 8px 0 12px !important;
}

.wp-block-post-title a {
  color: var(--tbt-text-dark) !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.wp-block-post-title a:hover {
  color: var(--tbt-primary) !important;
}

/* Card Excerpt */
.wp-block-post-excerpt {
  color: var(--tbt-text-muted) !important;
  font-size: 0.94rem !important;
  line-height: 1.6 !important;
  margin-bottom: 20px !important;
  flex-grow: 1;
}

.wp-block-post-excerpt__more-link {
  color: var(--tbt-primary) !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  transition: transform 0.2s ease;
}

.wp-block-post-excerpt__more-link:hover {
  transform: translateX(4px);
}

/* Date & Meta */
.wp-block-post-date {
  color: var(--tbt-text-subtle) !important;
  font-size: 0.82rem !important;
  font-weight: 500;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
  margin-top: auto;
}

.wp-block-post-date a {
  color: var(--tbt-text-subtle) !important;
  text-decoration: none !important;
}

/* ==========================================================================
   Single Post Layout
   ========================================================================== */
.single .entry-content,
.single main > div {
  max-width: 860px !important;
  margin: 0 auto !important;
  padding: 40px 24px 80px !important;
}

.single .wp-block-post-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem) !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em;
  margin-bottom: 24px !important;
}

.single .wp-block-post-featured-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--tbt-shadow-md);
  margin-bottom: 40px !important;
  aspect-ratio: 16 / 9;
}

.single h2 {
  font-family: var(--tbt-font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--tbt-text-dark);
  margin-top: 48px;
  margin-bottom: 18px;
  padding-left: 14px;
  border-left: 4px solid var(--tbt-primary);
  line-height: 1.35;
}

.single h3 {
  font-family: var(--tbt-font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: #1e293b;
  margin-top: 32px;
  margin-bottom: 12px;
}

.single p {
  font-size: 1.08rem;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 22px;
}

.single p.lead {
  font-size: 1.22rem;
  line-height: 1.75;
  color: #1e293b;
  border-left: 3px solid #cbd5e1;
  padding-left: 18px;
  margin-bottom: 32px;
}

.single ul, .single ol {
  padding-left: 24px;
  margin-bottom: 28px;
}

.single li {
  font-size: 1.04rem;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 10px;
}

.single blockquote {
  background: #eff6ff;
  border-left: 4px solid var(--tbt-primary);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 32px 0;
  font-size: 1.1rem;
  color: #1e293b;
  font-style: italic;
  box-shadow: var(--tbt-shadow-sm);
}

.tbt-inline-image,
.wp-block-image.tbt-inline-image {
  margin: 36px 0 !important;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.12);
  border: 1px solid #e2e8f0;
}

.tbt-inline-image img {
  border-radius: 16px;
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Ultra-Modern Premium Footer
   ========================================================================== */
.tbt-footer {
  background: linear-gradient(180deg, #0f172a 0%, #090d16 100%);
  color: #94a3b8;
  position: relative;
  margin-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Newsletter Floating Box */
.tbt-footer-newsletter-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  transform: translateY(-40px);
}

.tbt-footer-newsletter-box {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 40px 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: center;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
}

.tbt-newsletter-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.3);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--tbt-radius-pill);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.tbt-footer-newsletter-box h3,
.tbt-newsletter-title {
  font-family: var(--tbt-font-heading) !important;
  font-size: 1.6rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 0 10px !important;
  line-height: 1.3 !important;
}

.tbt-footer-newsletter-box p,
.tbt-newsletter-desc {
  font-size: 0.95rem !important;
  color: #cbd5e1 !important;
  margin: 0 !important;
  line-height: 1.6 !important;
}

.tbt-form-inline {
  display: flex;
  gap: 10px;
}

.tbt-input-email {
  flex: 1;
  padding: 13px 18px;
  border-radius: var(--tbt-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s ease;
}

.tbt-input-email:focus {
  border-color: #38bdf8;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.tbt-btn-subscribe {
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  color: #ffffff;
  border: none;
  padding: 13px 24px;
  border-radius: var(--tbt-radius-pill);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.tbt-btn-subscribe:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
  filter: brightness(1.1);
}

.tbt-form-subtext {
  font-size: 0.78rem;
  color: #64748b;
  margin: 10px 0 0 4px;
}

/* Footer Grid */
.tbt-footer-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 24px 40px;
}

.tbt-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tbt-footer-logo-link {
  display: inline-block;
  margin-bottom: 16px;
}

.tbt-footer-logo {
  height: 54px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(37, 99, 235, 0.4));
}

.tbt-footer-tagline {
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.65;
  margin: 0 0 18px;
}

.tbt-footer-tagline strong {
  color: #ffffff;
}

.tbt-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--tbt-radius-pill);
  color: #34d399;
  font-size: 0.78rem;
  font-weight: 600;
}

.tbt-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: tbtPulse 2s infinite;
}

@keyframes tbtPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.tbt-footer-heading {
  font-family: var(--tbt-font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}

.tbt-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tbt-footer-links li {
  margin-bottom: 12px;
}

.tbt-footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.92rem;
  transition: all 0.2s ease;
}

.tbt-footer-links a:hover {
  color: #38bdf8;
  padding-left: 4px;
}

/* Footer Bottom Bar */
.tbt-footer-bottom {
  padding-top: 28px;
}

.tbt-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.tbt-copyright {
  font-size: 0.86rem;
  color: #64748b;
  margin: 0;
}

.tbt-copyright strong {
  color: #94a3b8;
}

.tbt-footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.86rem;
}

.tbt-footer-bottom-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.tbt-footer-bottom-links a:hover {
  color: #38bdf8;
}

.tbt-footer-bottom-links span {
  color: #475569;
}

/* ==========================================================================
   Mobile Responsive Navigation & Fluid Layout
   ========================================================================== */
.tbt-mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--tbt-border-light);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 42px;
  height: 40px;
  transition: all 0.2s ease;
}

.tbt-mobile-toggle:hover,
.tbt-mobile-toggle:focus {
  background: #f1f5f9;
  border-color: var(--tbt-primary);
}

.tbt-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--tbt-text-dark);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.tbt-header.tbt-mobile-open .tbt-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.tbt-header.tbt-mobile-open .tbt-bar:nth-child(2) {
  opacity: 0;
}

.tbt-header.tbt-mobile-open .tbt-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@keyframes tbtSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .tbt-mobile-toggle {
    display: flex;
  }
  
  .tbt-header-inner {
    padding: 10px 18px;
  }
  
  .tbt-logo-img {
    height: 54px;
    max-width: 220px;
  }

  .tbt-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--tbt-border-light);
    box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.12);
    padding: 16px 20px 24px;
    z-index: 998;
  }

  .tbt-header.tbt-mobile-open .tbt-nav {
    display: block;
    animation: tbtSlideDown 0.25s ease forwards;
  }

  .tbt-nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .tbt-nav-item {
    display: block;
    padding: 12px 18px;
    font-size: 1rem;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
  }

  .tbt-nav-item.active {
    background: #eff6ff;
    border-color: #bfdbfe;
  }

  .tbt-header-actions .tbt-btn-cta {
    display: none;
  }
}

@media (max-width: 768px) {
  .tbt-hero-cool {
    padding: 40px 18px 48px;
  }

  .tbt-hero-title {
    font-size: 2.1rem;
  }

  .tbt-hero-subtitle {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .tbt-hero-tags {
    gap: 8px;
  }

  .tbt-pill {
    font-size: 0.78rem;
    padding: 6px 12px;
  }

  .wp-block-query {
    padding: 0 16px;
    margin-bottom: 48px !important;
  }

  .wp-block-post-template {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .tbt-card-body,
  .wp-block-post-template > li .wp-block-group {
    padding: 18px !important;
  }

  .wp-block-post-title {
    font-size: 1.18rem !important;
  }

  /* Single Post Responsive */
  .single .entry-content,
  .single main > div {
    padding: 24px 18px 60px !important;
  }

  .single .wp-block-post-title {
    font-size: 1.85rem !important;
  }

  .single h2 {
    font-size: 1.4rem;
    margin-top: 36px;
  }

  .single p {
    font-size: 1.02rem;
  }

  /* Tables Scroll on Mobile */
  .wp-block-table {
    overflow-x: auto;
    display: block;
    width: 100%;
    -webkit-overflow-scrolling: touch;
  }

  /* Footer Responsive */
  .tbt-footer-newsletter-wrap {
    transform: translateY(-24px);
    padding: 0 16px;
  }

  .tbt-footer-newsletter-box {
    grid-template-columns: 1fr;
    padding: 28px 20px;
    gap: 24px;
  }

  .tbt-newsletter-title {
    font-size: 1.35rem;
  }

  .tbt-form-inline {
    flex-direction: column;
  }

  .tbt-btn-subscribe {
    width: 100%;
  }

  .tbt-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

/* ==========================================================================
   Single Post Magazine Layout & Rich Article Styling
   ========================================================================== */
.tbt-single-main {
  max-width: 880px !important;
  margin: 40px auto 80px !important;
  padding: 0 24px !important;
}

.tbt-single-category {
  margin-bottom: 16px;
}

.tbt-single-category a {
  display: inline-block;
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb !important;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: all 0.2s ease;
}

.tbt-single-category a:hover {
  background: #2563eb;
  color: #ffffff !important;
}

.tbt-single-title {
  font-family: var(--tbt-font-heading) !important;
  font-size: clamp(2rem, 4vw, 2.75rem) !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  color: var(--tbt-text-dark) !important;
  margin: 0 0 20px 0 !important;
  letter-spacing: -0.02em;
}

.tbt-single-meta {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  margin-bottom: 28px !important;
  padding-bottom: 20px !important;
  border-bottom: 1px solid var(--tbt-border-light) !important;
  font-size: 14px !important;
  color: var(--tbt-text-muted) !important;
}

.tbt-author-badge {
  font-weight: 600 !important;
  color: var(--tbt-text-dark) !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.tbt-author-badge::before {
  content: '✍️';
  font-size: 14px;
}

.tbt-date-badge {
  color: var(--tbt-text-muted) !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.tbt-date-badge::before {
  content: '📅';
  font-size: 13px;
}

.tbt-single-featured-image {
  margin: 0 0 40px 0 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: 0 16px 36px -10px rgba(15, 23, 42, 0.12) !important;
  border: 1px solid var(--tbt-border-light) !important;
}

.tbt-single-featured-image img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
  display: block !important;
}

/* Article Body Typography */
.tbt-single-content {
  font-family: var(--tbt-font-body) !important;
  font-size: 18px !important;
  line-height: 1.85 !important;
  color: var(--tbt-text-body) !important;
}

.tbt-single-content p {
  margin-bottom: 26px !important;
}

.tbt-single-content p.lead-intro {
  font-size: 21px !important;
  line-height: 1.7 !important;
  color: var(--tbt-text-dark) !important;
  font-weight: 500 !important;
}

.tbt-single-content h2 {
  font-family: var(--tbt-font-heading) !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  color: var(--tbt-text-dark) !important;
  margin-top: 50px !important;
  margin-bottom: 20px !important;
  line-height: 1.35 !important;
  position: relative !important;
  padding-left: 18px !important;
}

.tbt-single-content h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 5px;
  background: linear-gradient(180deg, #2563eb 0%, #06b6d4 100%);
  border-radius: 4px;
}

.tbt-single-content h3 {
  font-family: var(--tbt-font-heading) !important;
  font-size: 21px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  margin-top: 36px !important;
  margin-bottom: 16px !important;
  line-height: 1.4 !important;
}

.tbt-single-content ul, 
.tbt-single-content ol {
  margin-bottom: 30px !important;
  padding-left: 24px !important;
}

.tbt-single-content li {
  margin-bottom: 12px !important;
  line-height: 1.75 !important;
}

.tbt-single-content strong {
  color: var(--tbt-text-dark) !important;
}

.tbt-highlight-box {
  background: rgba(37, 99, 235, 0.05) !important;
  border-left: 4px solid #2563eb !important;
  border-radius: 12px !important;
  padding: 24px 28px !important;
  margin: 32px 0 !important;
  font-size: 16.5px !important;
  line-height: 1.7 !important;
  color: #1e293b !important;
}

.table-responsive {
  width: 100% !important;
  overflow-x: auto !important;
  border-radius: 14px !important;
  border: 1px solid var(--tbt-border-light) !important;
  box-shadow: var(--tbt-shadow-sm) !important;
  margin: 36px 0 !important;
}

.table-responsive table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 15px !important;
  background: #ffffff !important;
}

.table-responsive th {
  padding: 14px 18px !important;
  background: #0f172a !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  text-align: left !important;
}

.table-responsive td {
  padding: 14px 18px !important;
  border-top: 1px solid var(--tbt-border-light) !important;
  color: var(--tbt-text-body) !important;
}

.table-responsive tr:nth-child(even) {
  background: #f8fafc !important;
}

/* Post Navigation (Prev/Next) */
.tbt-article-footer {
  margin-top: 60px !important;
  padding-top: 30px !important;
  border-top: 1px solid var(--tbt-border-light) !important;
}

.wp-block-post-navigation-link {
  padding: 16px 20px !important;
  background: #ffffff !important;
  border: 1px solid var(--tbt-border-light) !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
}

.wp-block-post-navigation-link:hover {
  border-color: #2563eb !important;
  box-shadow: var(--tbt-shadow-sm) !important;
  transform: translateY(-2px) !important;
}

