/* ==========================================================================
   Modern Dynamic Blog & Details Styling - Sumit DevTech Signature Theme
   Brand Royal Cyber-Purple (#6b00da, #9333ea, #a855f7) & Cyan (#38bdf8)
   ========================================================================== */

:root {
  --blog-primary: #8b28f7;
  --blog-primary-gradient: linear-gradient(135deg, #6b00da 0%, #9333ea 50%, #a855f7 100%);
  --blog-primary-hover: #7b18e5;
  --blog-primary-light: rgba(107, 0, 218, 0.1);
  --blog-secondary: #38bdf8;
  --blog-accent: #ec4899;
  --blog-text-dark: #090e24;
  --blog-text-muted: #64748b;
  --blog-card-bg: #ffffff;
  --blog-card-border: rgba(226, 232, 240, 0.85);
  --blog-hero-bg: radial-gradient(130% 120% at 50% 0%, #0c102a 0%, #050818 100%);
  --blog-radius: 18px;
  --blog-shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --blog-shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
  --blog-shadow-hover: 0 20px 35px -8px rgba(107, 0, 218, 0.22), 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

/* ================= HERO SECTION ================= */
.sdt-blog-hero {
  position: relative;
  background: var(--blog-hero-bg);
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  padding: 100px 0 90px;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  border-bottom: 1px solid rgba(168, 85, 247, 0.25);
}

.sdt-blog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 11, 32, 0.65) 0%, rgba(4, 7, 22, 0.84) 100%);
  pointer-events: none;
  z-index: 1;
}

.sdt-blog-hero::after {
  content: "";
  position: absolute;
  top: -25%;
  left: 50%;
  transform: translateX(-50%);
  width: 750px;
  height: 440px;
  background: radial-gradient(circle, rgba(107, 0, 218, 0.25) 0%, rgba(56, 189, 248, 0.12) 50%, transparent 75%);
  filter: blur(75px);
  pointer-events: none;
  z-index: 2;
}

.sdt-blog-hero .container {
  position: relative;
  z-index: 3;
}

.sdt-blog-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(107, 0, 218, 0.2);
  border: 1px solid rgba(168, 85, 247, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #e9d5ff;
  padding: 6px 20px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 22px;
  box-shadow: 0 0 20px rgba(107, 0, 218, 0.35);
}

.sdt-blog-hero-title {
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.16;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
}

.sdt-blog-hero-title .highlight-text {
  background: linear-gradient(135deg, #c084fc 0%, #a855f7 40%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 14px rgba(168, 85, 247, 0.4));
}

.sdt-blog-hero-desc {
  max-width: 680px;
  margin: 0 auto 38px;
  font-size: 1.12rem;
  color: #cbd5e1;
  line-height: 1.65;
}

/* Category Filter Pills in Hero */
.sdt-blog-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
}

.sdt-blog-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  color: #cbd5e1;
  padding: 9px 20px;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.sdt-blog-pill:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  transform: translateY(-2px);
  border-color: rgba(168, 85, 247, 0.4);
}

.sdt-blog-pill.active,
a.sdt-blog-pill.active {
  background: linear-gradient(135deg, #6b00da 0%, #9333ea 50%, #a855f7 100%) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(107, 0, 218, 0.45) !important;
}

.sdt-blog-pill-count {
  background: rgba(0, 0, 0, 0.3);
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 9999px;
  font-weight: 700;
  display: inline-block;
}

.sdt-blog-pill.active .sdt-blog-pill-count {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}

/* ================= SEARCH & TOOLBAR ================= */
.sdt-blog-toolbar {
  padding: 35px 0 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.sdt-blog-search-box {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}

.sdt-blog-search-input {
  width: 100%;
  padding: 15px 22px 15px 50px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  font-size: 0.98rem;
  color: var(--blog-text-dark);
  box-shadow: var(--blog-shadow-sm);
  transition: all 0.2s ease;
  outline: none;
}

.sdt-blog-search-input:focus {
  border-color: #a855f7;
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.2);
}

.sdt-blog-search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1.15rem;
}

.sdt-blog-search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #6b00da 0%, #9333ea 50%, #a855f7 100%);
  color: #ffffff;
  border: none;
  padding: 9px 22px;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(107, 0, 218, 0.35);
  transition: all 0.2s ease;
}

.sdt-blog-search-btn:hover {
  transform: translateY(-50%) scale(1.03);
  box-shadow: 0 6px 20px rgba(107, 0, 218, 0.5);
}

/* ================= 3-COLUMN BLOG GRID ================= */
.sdt-blog-section {
  padding: 65px 0 90px;
  background: #f8fafc;
}

.sdt-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 34px;
}

@media (max-width: 768px) {
  .sdt-blog-grid {
    grid-template-columns: 1fr;
  }
}

.sdt-blog-card.sdt-dev-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.02);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
}

.sdt-blog-card.sdt-dev-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px -12px rgba(107, 0, 218, 0.18), 0 0 0 1px rgba(147, 51, 234, 0.35);
  border-color: rgba(147, 51, 234, 0.35);
}

/* Top Tech Accent Line */
.sdt-dev-accent-bar {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #6b00da 0%, #a855f7 50%, #38bdf8 100%);
  opacity: 0.65;
  transition: opacity 0.3s ease;
}

.sdt-blog-card.sdt-dev-card:hover .sdt-dev-accent-bar {
  opacity: 1;
}

/* Modern Inset Media Frame */
.sdt-blog-card-thumb-wrap {
  position: relative;
  margin: 12px 12px 0 12px;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0d1434;
}

.sdt-blog-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.sdt-blog-card.sdt-dev-card:hover .sdt-blog-card-thumb {
  transform: scale(1.06);
}

.sdt-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 13, 34, 0.12) 0%, transparent 45%, rgba(9, 13, 34, 0.4) 100%);
  pointer-events: none;
}

/* Category Badge with Tech Glowing Dot */
.sdt-blog-category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 5px 13px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 2;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.25s ease;
}

.sdt-cat-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
}

.sdt-blog-category-badge:hover {
  background: #6b00da;
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Floating Date Badge on Image (Replaces Read Time) */
.sdt-dev-date-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e2e8f0;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}

.sdt-dev-date-badge i {
  color: #a855f7;
}

.sdt-blog-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Engineering Author Header */
.sdt-dev-meta-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 0;
  border-bottom: none;
}

.sdt-dev-author-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.sdt-dev-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(147, 51, 234, 0.45);
  box-shadow: 0 2px 8px rgba(107, 0, 218, 0.15);
}

.sdt-dev-author-text {
  display: flex;
  flex-direction: column;
}

.sdt-dev-author-name {
  font-size: 0.86rem;
  font-weight: 800;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1.25;
}

.sdt-verified-icon {
  color: #7c3aed;
  font-size: 0.84rem;
}

.sdt-dev-author-sub {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 600;
}

.sdt-blog-card-title {
  font-family: "Nunito", sans-serif;
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.36;
  margin-bottom: 10px;
  color: #0f172a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.25s ease;
}

.sdt-blog-card-title a {
  color: inherit;
  text-decoration: none;
}

.sdt-blog-card.sdt-dev-card:hover .sdt-blog-card-title a {
  color: #6b00da;
}

.sdt-blog-card-excerpt {
  font-size: 0.92rem;
  line-height: 1.62;
  color: #64748b;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

/* Tech Stack Tags */
.sdt-dev-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.sdt-dev-tag {
  background: rgba(107, 0, 218, 0.04);
  color: #6b00da;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  border: 1px solid rgba(107, 0, 218, 0.12);
  transition: all 0.2s ease;
}

.sdt-blog-card.sdt-dev-card:hover .sdt-dev-tag {
  background: rgba(107, 0, 218, 0.1);
  color: #6b00da;
  border-color: rgba(168, 85, 247, 0.3);
  transform: translateY(-1px);
}

.sdt-blog-card-footer {
  padding-top: 16px;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

/* Developer Read Action Button */
.sdt-dev-read-action {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none !important;
  color: #0f172a;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: color 0.25s ease;
}

.sdt-dev-arrow-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f8fafc;
  color: #6b00da;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid #e2e8f0;
}

.sdt-blog-card.sdt-dev-card:hover .sdt-dev-read-action {
  color: #6b00da;
}

.sdt-blog-card.sdt-dev-card:hover .sdt-dev-arrow-circle {
  background: linear-gradient(135deg, #6b00da, #9333ea);
  color: #ffffff;
  border-color: transparent;
  transform: translate(3px, -3px);
  box-shadow: 0 4px 14px rgba(107, 0, 218, 0.35);
}

.sdt-dev-views {
  font-size: 0.78rem;
  font-weight: 600;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  padding: 5px 11px;
  border-radius: 50px;
  border: 1px solid #f1f5f9;
}

.sdt-dev-views i {
  color: #a855f7;
}

.sdt-blog-read-btn i {
  transition: transform 0.2s ease;
}

.sdt-blog-read-btn:hover {
  color: var(--blog-primary-hover);
  gap: 10px;
}

.sdt-blog-read-btn:hover i {
  transform: translateX(3px);
}

/* ================= NUMBERED PAGINATION ================= */
.sdt-blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 55px;
}

.sdt-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: var(--blog-text-dark);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.sdt-page-btn:hover {
  background: #f1f5f9;
  border-color: #a855f7;
  color: var(--blog-primary);
}

.sdt-page-btn.active {
  background: linear-gradient(135deg, #6b00da 0%, #9333ea 50%, #a855f7 100%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(107, 0, 218, 0.4);
}

.sdt-page-btn.disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* Empty State */
.sdt-blog-empty {
  text-align: center;
  padding: 85px 20px;
  background: #ffffff;
  border-radius: var(--blog-radius);
  border: 2px dashed #cbd5e1;
}

.sdt-blog-empty-icon {
  font-size: 3.5rem;
  color: #a855f7;
  margin-bottom: 18px;
}

.sdt-blog-empty h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--blog-text-dark);
  margin-bottom: 10px;
}

.sdt-blog-empty p {
  color: var(--blog-text-muted);
  max-width: 440px;
  margin: 0 auto 24px;
}

/* ==========================================================================
   BLOG DETAILS PAGE STYLING
   ========================================================================== */
.sdt-details-header {
  background: #ffffff;
  padding: 45px 0 30px;
  border-bottom: 1px solid #e2e8f0;
}

/* Background Image Hero Header for Article Details */
.sdt-details-header-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 75px 0 65px;
  color: #ffffff;
  overflow: hidden;
  border-bottom: 1px solid rgba(168, 85, 247, 0.25);
}

.sdt-details-header-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 11, 32, 0.88) 0%, rgba(4, 7, 22, 0.96) 100%);
  pointer-events: none;
  z-index: 1;
}

.sdt-details-header-bg .container {
  position: relative;
  z-index: 2;
}

.sdt-details-header-bg .sdt-details-title {
  color: #ffffff;
  font-weight: 800;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  letter-spacing: -0.02em;
}

.sdt-details-header-bg .sdt-breadcrumbs {
  color: #94a3b8;
}

.sdt-details-header-bg .sdt-breadcrumbs a {
  color: #cbd5e1;
}

.sdt-details-header-bg .sdt-breadcrumbs a:hover {
  color: #38bdf8;
}

.sdt-details-header-bg .sdt-breadcrumbs .sep {
  color: #64748b;
}

.sdt-details-header-bg .sdt-breadcrumbs .current {
  color: #c084fc;
  font-weight: 700;
  text-shadow: 0 0 16px rgba(192, 132, 252, 0.5);
}

.sdt-details-header-bg .sdt-details-meta-bar {
  border-top: none;
  padding-top: 0;
}

.sdt-details-header-bg .sdt-details-meta-info {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 8px 20px;
  border-radius: 9999px;
  color: #e2e8f0;
  font-size: 0.86rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.sdt-details-header-bg .sdt-details-meta-info span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sdt-details-header-bg .sdt-details-meta-info i {
  color: #38bdf8;
}

.sdt-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--blog-text-muted);
  margin-bottom: 20px;
}

.sdt-breadcrumbs a {
  color: var(--blog-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.sdt-breadcrumbs a:hover {
  color: var(--blog-primary);
}

.sdt-breadcrumbs .sep {
  color: #cbd5e1;
  font-size: 0.75rem;
}

.sdt-breadcrumbs .current {
  color: var(--blog-primary);
  font-weight: 700;
  max-width: none;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  display: inline;
}

.sdt-details-title {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 800;
  color: var(--blog-text-dark);
  line-height: 1.22;
  margin-bottom: 22px;
  letter-spacing: -0.025em;
}

.sdt-details-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0 0;
  border-top: 1px solid #f1f5f9;
}

.sdt-details-author-chip {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sdt-details-author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6b00da, #38bdf8);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 4px 15px rgba(107, 0, 218, 0.35);
  overflow: hidden;
  flex-shrink: 0;
}

.sdt-details-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.sdt-details-author-name {
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--blog-text-dark);
}

.sdt-details-meta-info {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--blog-text-muted);
  font-size: 0.86rem;
}

/* Social Sharing Bar */
.sdt-share-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sdt-share-label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--blog-text-muted);
  margin-right: 4px;
}

.sdt-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  transition: transform 0.2s ease, opacity 0.2s ease;
  border: none;
  cursor: pointer;
}

.sdt-share-btn:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.sdt-share-wa { background: #25d366; }
.sdt-share-li { background: #0a66c2; }
.sdt-share-tw { background: #000000; }
.sdt-share-fb { background: #1877f2; }
.sdt-share-copy { background: #475569; }

/* Featured Image */
.sdt-details-featured {
  margin: 35px 0 45px;
  border-radius: var(--blog-radius);
  overflow: hidden;
  box-shadow: var(--blog-shadow-md);
}

.sdt-details-featured img {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  display: block;
}

/* Layout: Content & Sticky TOC */
.sdt-details-layout {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 50px;
  align-items: start;
}

@media (max-width: 992px) {
  .sdt-details-layout {
    grid-template-columns: 1fr;
  }
}

/* Table of Contents & Sidebar Widgets */
.sdt-details-sidebar {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.sdt-toc-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 3px solid #6b00da;
  border-radius: var(--blog-radius);
  padding: 24px;
  box-shadow: var(--blog-shadow-sm);
}

.sdt-sidebar-widget {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--blog-radius);
  padding: 24px;
  box-shadow: var(--blog-shadow-sm);
}

.sdt-sidebar-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--blog-text-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 12px;
}

.sdt-sidebar-share-btns {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.sdt-recent-posts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sdt-recent-post-item {
  display: flex;
  gap: 14px;
  text-decoration: none;
  align-items: center;
  transition: transform 0.2s ease;
}

.sdt-recent-post-item:hover {
  transform: translateX(4px);
}

.sdt-recent-post-item:hover .sdt-recent-post-title {
  color: var(--blog-primary);
}

.sdt-recent-post-thumb {
  width: 68px;
  height: 68px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.sdt-recent-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sdt-recent-post-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.sdt-recent-post-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blog-text-dark);
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.sdt-recent-post-date {
  font-size: 0.78rem;
  color: var(--blog-text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.sdt-sidebar-categories {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sdt-sidebar-cat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 14px;
  border-radius: 8px;
  color: var(--blog-text-dark);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  background: #f8fafc;
  border: 1px solid #edf2f7;
  transition: all 0.2s ease;
}

.sdt-sidebar-cat-item:hover {
  background: #f1f5f9;
  color: var(--blog-primary);
  border-color: #cbd5e1;
  transform: translateX(3px);
}

.sdt-sidebar-cat-count {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  background: #e2e8f0;
  color: #475569;
}

.sdt-toc-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blog-text-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 12px;
}

.sdt-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 480px;
  overflow-y: auto;
}

.sdt-toc-item {
  font-size: 0.9rem;
  line-height: 1.45;
}

.sdt-toc-item.level-3 {
  padding-left: 14px;
  border-left: 2px solid #e2e8f0;
}

.sdt-toc-link {
  color: #475569;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}

.sdt-toc-link:hover, .sdt-toc-link.active {
  color: #6b00da;
  font-weight: 700;
  transform: translateX(4px);
}

/* Article Typography Body */
.sdt-article-body {
  font-size: 1.1rem;
  line-height: 1.84;
  color: #334155;
}

.sdt-article-body h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--blog-text-dark);
  margin: 44px 0 18px;
  line-height: 1.3;
  letter-spacing: -0.015em;
  scroll-margin-top: 110px;
}

.sdt-article-body h3 {
  font-size: 1.42rem;
  font-weight: 700;
  color: var(--blog-text-dark);
  margin: 32px 0 16px;
  line-height: 1.35;
  scroll-margin-top: 110px;
}

.sdt-article-body p {
  margin-bottom: 24px;
}

.sdt-article-body blockquote {
  position: relative;
  background: #f8fafc;
  border-left: 4px solid #6b00da;
  padding: 22px 26px;
  border-radius: 0 14px 14px 0;
  margin: 32px 0;
  font-style: italic;
  font-size: 1.15rem;
  color: #1e293b;
}

.sdt-article-body img {
  max-width: 100%;
  border-radius: 14px;
  margin: 28px 0;
  box-shadow: var(--blog-shadow-md);
}

.sdt-article-body ul, .sdt-article-body ol {
  margin-bottom: 26px;
  padding-left: 26px;
}

.sdt-article-body li {
  margin-bottom: 10px;
}

/* FAQ Accordion */
.sdt-faq-wrap {
  margin-top: 55px;
  padding-top: 40px;
  border-top: 2px solid #e2e8f0;
}

.sdt-faq-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--blog-text-dark);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sdt-faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.sdt-faq-item.active {
  border-color: #6b00da;
  box-shadow: 0 6px 20px rgba(107, 0, 218, 0.1);
}

.sdt-faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  background: none;
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blog-text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  outline: none;
}

.sdt-faq-icon {
  font-size: 0.95rem;
  color: #6b00da;
  transition: transform 0.25s ease;
}

.sdt-faq-item.active .sdt-faq-icon {
  transform: rotate(180deg);
}

.sdt-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 22px;
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.68;
}

.sdt-faq-item.active .sdt-faq-answer {
  max-height: 300px;
  padding: 0 22px 20px;
}

/* Author Box & Tags */
.sdt-author-card {
  margin-top: 50px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--blog-radius);
  padding: 32px;
  display: flex;
  gap: 22px;
  align-items: center;
}

@media (max-width: 576px) {
  .sdt-author-card {
    flex-direction: column;
    text-align: center;
  }
}

.sdt-author-avatar-lg {
  width: 110px;
  height: 110px;
  border-radius: 12px;
  background: #0f172a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(107, 0, 218, 0.2);
  overflow: hidden;
  border: 2px solid rgba(168, 85, 247, 0.35);
}

.sdt-author-avatar-lg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 10px;
  display: block;
}

.sdt-author-name-lg {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--blog-text-dark);
  margin-bottom: 4px;
}

.sdt-author-role {
  font-size: 0.84rem;
  font-weight: 700;
  color: #6b00da;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sdt-tags-bar {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.sdt-tag-pill {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.sdt-tag-pill:hover {
  background: linear-gradient(135deg, #6b00da, #9333ea);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-2px);
}

/* Adjacent Post Nav */
.sdt-adjacent-nav {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

@media (max-width: 576px) {
  .sdt-adjacent-nav {
    grid-template-columns: 1fr;
  }
}

.sdt-adjacent-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 22px;
  text-decoration: none;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.sdt-adjacent-btn:hover {
  border-color: #a855f7;
  box-shadow: 0 8px 24px rgba(107, 0, 218, 0.15);
  transform: translateY(-2px);
}

.sdt-adjacent-btn.next {
  text-align: right;
  align-items: flex-end;
}

.sdt-adjacent-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #6b00da;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.05em;
}

.sdt-adjacent-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--blog-text-dark);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Related Posts Section */
.sdt-related-section {
  background: #f8fafc;
  padding: 75px 0 85px;
  border-top: 1px solid #e2e8f0;
  margin-top: 75px;
}

.sdt-related-header {
  text-align: center;
  margin-bottom: 44px;
}

.sdt-related-title {
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--blog-text-dark);
}

/* ==========================================================================
   HOMEPAGE DYNAMIC BLOG SHOWCASE - ULTIMATE MODERN DESIGN & ANIMATIONS
   ========================================================================== */

.sdt-home-blog-section {
  position: relative;
  padding: 110px 0 120px;
  background: radial-gradient(circle at 10% 20%, rgba(107, 0, 218, 0.035) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(56, 189, 248, 0.04) 0%, transparent 40%),
              #f8fafc;
  overflow: hidden;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

/* Background Ambient Glow Orbs */
.sdt-home-blog-section .sdt-glow-orb-1 {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.12) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.sdt-home-blog-section .sdt-glow-orb-2 {
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.sdt-home-blog-section .container {
  position: relative;
  z-index: 2;
}

/* Section Header Bar */
.sdt-home-blog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 48px;
}

.sdt-header-left {
  max-width: 680px;
}

.sdt-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(107, 0, 218, 0.07);
  color: #6b00da;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 6px 18px;
  border-radius: 9999px;
  border: 1px solid rgba(107, 0, 218, 0.22);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  box-shadow: 0 2px 10px rgba(107, 0, 218, 0.06);
}

.sdt-section-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: sdtPulseGreen 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes sdtPulseGreen {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.sdt-home-blog-title {
  font-family: "Nunito", sans-serif;
  font-size: clamp(2.1rem, 3.4vw, 2.85rem);
  font-weight: 800;
  color: #090e24;
  line-height: 1.18;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.sdt-home-blog-title .gradient-text {
  background: linear-gradient(135deg, #6b00da 0%, #9333ea 50%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sdt-home-blog-desc {
  font-size: 1.02rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* Header Action Controls */
.sdt-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sdt-slider-nav-btns {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sdt-slider-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(203, 213, 225, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e293b;
  font-size: 1.15rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.sdt-slider-nav-btn:hover {
  background: linear-gradient(135deg, #6b00da 0%, #9333ea 100%);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 10px 24px rgba(107, 0, 218, 0.35);
}

.sdt-slider-nav-btn:active {
  transform: translateY(0) scale(0.96);
}

.sdt-view-all-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #ffffff;
  border: 1.5px solid rgba(107, 0, 218, 0.28);
  color: #6b00da;
  padding: 11px 24px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 14px rgba(107, 0, 218, 0.08);
}

.sdt-view-all-pill i {
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.sdt-view-all-pill:hover {
  background: linear-gradient(135deg, #6b00da 0%, #9333ea 100%);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(107, 0, 218, 0.35);
}

.sdt-view-all-pill:hover i {
  transform: translateX(4px);
}

/* ================= BLOG CARDS (ULTIMATE 3D & GLOW) ================= */
.sdt-blog-card-item {
  height: 100%;
  padding-bottom: 24px;
  box-sizing: border-box;
}

.sdt-modern-blog-card {
  position: relative;
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
              box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
              border-color 0.4s ease;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05);
  transform-style: preserve-3d;
}

.sdt-modern-blog-card:hover {
  transform: translateY(-10px);
  border-color: rgba(168, 85, 247, 0.55);
  box-shadow: 0 24px 50px -12px rgba(107, 0, 218, 0.25),
              0 0 30px rgba(56, 189, 248, 0.12);
}

/* Card Thumbnail Container */
.sdt-thumb-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0f172a;
}

.sdt-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: block;
}

.sdt-modern-blog-card:hover .sdt-thumb-box img {
  transform: scale(1.08);
}

/* Image Vignette Gradient */
.sdt-thumb-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, transparent 40%, rgba(15, 23, 42, 0.55) 100%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Category Badge (Top Left Overlay) */
.sdt-card-category-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #f8fafc;
  font-size: 0.73rem;
  font-weight: 800;
  padding: 5px 13px;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
}

.sdt-card-category-pill:hover {
  background: linear-gradient(135deg, #6b00da 0%, #9333ea 100%);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-2px);
}

/* Read Time Badge (Top Right Overlay) */
.sdt-card-time-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #e2e8f0;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

/* Card Body */
.sdt-card-content {
  padding: 24px 26px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Meta Line (Date & Views) */
.sdt-card-meta-line {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 12px;
}

.sdt-card-meta-line span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sdt-card-meta-line i {
  color: #8b5cf6;
}

/* Card Title */
.sdt-post-title {
  font-family: "Nunito", sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.36;
  color: #0f172a;
  margin-bottom: 10px;
  min-height: 4.1em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.25s ease;
}

.sdt-post-title a {
  color: inherit;
  text-decoration: none;
}

.sdt-modern-blog-card:hover .sdt-post-title {
  color: #6b00da;
}

/* Card Excerpt */
.sdt-post-excerpt {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 16px;
  min-height: 3.1em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card Footer */
.sdt-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid rgba(241, 245, 249, 1);
}

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

.sdt-author-avatar-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6b00da 0%, #a855f7 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(107, 0, 218, 0.25);
  flex-shrink: 0;
}

.sdt-author-name-text {
  font-size: 0.86rem;
  font-weight: 700;
  color: #334155;
}

/* Read Action Trigger */
.sdt-read-post-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #6b00da;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.sdt-read-post-trigger .arrow-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(107, 0, 218, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.86rem;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.sdt-modern-blog-card:hover .sdt-read-post-trigger {
  color: #9333ea;
}

.sdt-modern-blog-card:hover .arrow-icon-circle {
  background: linear-gradient(135deg, #6b00da 0%, #9333ea 100%);
  color: #ffffff;
  transform: rotate(45deg);
  box-shadow: 0 4px 12px rgba(107, 0, 218, 0.35);
}

/* Splide Pagination Styling */
.sdt-home-blog-section .splide__pagination {
  margin-top: 32px;
  gap: 8px;
  position: static;
}

.sdt-home-blog-section .splide__pagination__page {
  width: 10px;
  height: 10px;
  background: #cbd5e1;
  border-radius: 9999px;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  opacity: 0.7;
}

.sdt-home-blog-section .splide__pagination__page.is-active {
  width: 32px;
  background: linear-gradient(135deg, #6b00da 0%, #9333ea 100%);
  opacity: 1;
  transform: none;
  box-shadow: 0 2px 8px rgba(107, 0, 218, 0.4);
}

/* Empty State Styling */
.sdt-blog-empty-state {
  background: #ffffff;
  border-radius: 20px;
  border: 2px dashed rgba(203, 213, 225, 0.8);
  padding: 60px 30px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.sdt-empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(107, 0, 218, 0.1);
  color: #6b00da;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 18px;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
  .sdt-home-blog-section {
    padding: 50px 0 65px;
  }
  .sdt-home-blog-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
  }
  .sdt-header-left {
    max-width: 100%;
  }
  .sdt-section-badge {
    font-size: 0.74rem;
    padding: 5px 14px;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
  }
  .sdt-home-blog-title {
    font-size: 1.7rem !important;
    line-height: 1.25 !important;
    margin-bottom: 10px;
  }
  .sdt-home-blog-desc {
    font-size: 0.9rem;
    line-height: 1.55;
    color: #64748b;
  }
  .sdt-header-actions {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 4px;
  }
  .sdt-slider-nav-btns {
    gap: 8px;
  }
  .sdt-slider-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }
  .sdt-view-all-pill {
    padding: 8px 16px;
    font-size: 0.82rem;
    gap: 6px;
  }

  /* Blog Cards on Mobile */
  .sdt-blog-card-item {
    padding: 0 4px 22px;
  }
  .sdt-blog-card.sdt-dev-card,
  .sdt-modern-blog-card {
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.07);
    transform: none !important; /* smooth touch on mobile devices */
  }
  .sdt-blog-card.sdt-dev-card:hover,
  .sdt-modern-blog-card:hover {
    transform: none !important;
  }
  .sdt-home-blog-section .sdt-blog-card-thumb-wrap {
    margin: 10px 10px 0 10px;
    border-radius: 14px;
  }
  .sdt-home-blog-section .sdt-blog-card-body {
    padding: 16px 16px 14px;
  }
  .sdt-home-blog-section .sdt-blog-card-title {
    font-size: 1.15rem;
    line-height: 1.35;
  }
  .sdt-home-blog-section .sdt-blog-card-excerpt {
    font-size: 0.86rem;
    line-height: 1.5;
    -webkit-line-clamp: 2;
  }
  .sdt-card-category-pill {
    top: 12px;
    left: 12px;
    font-size: 0.7rem;
    padding: 4px 10px;
  }
  .sdt-card-content {
    padding: 16px 16px 14px !important;
  }
  .sdt-card-meta-line {
    font-size: 0.78rem;
    gap: 12px;
    margin-bottom: 8px;
  }
  .sdt-post-title {
    font-size: 1.12rem !important;
    line-height: 1.35 !important;
    margin-bottom: 8px;
  }
  .sdt-post-excerpt {
    font-size: 0.86rem;
    line-height: 1.52;
    margin-bottom: 14px;
    -webkit-line-clamp: 2;
  }

  /* Card Bottom Footer */
  .sdt-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 12px;
    padding-right: 4px;
    border-top: 1px solid rgba(241, 245, 249, 1);
  }
  .sdt-author-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1 1 auto;
  }
  .sdt-author-avatar-badge {
    width: 30px;
    height: 30px;
    font-size: 0.74rem;
    flex-shrink: 0;
  }
  .sdt-author-name-text {
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
    display: inline-block;
  }
  .sdt-read-post-trigger {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #6b00da;
    background: rgba(107, 0, 218, 0.08);
    padding: 5px 11px 5px 12px;
    border-radius: 9999px;
    flex-shrink: 0;
    transition: all 0.2s ease;
  }
  .sdt-read-post-trigger .arrow-icon-circle {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
    background: rgba(107, 0, 218, 0.12);
  }
  .sdt-home-blog-section .splide__pagination {
    margin-top: 18px;
    margin-bottom: 6px;
  }

  /* Mobile floating scroll button adjustment */
  #scrollUp {
    bottom: 12px !important;
    right: 12px !important;
    width: 38px !important;
    height: 38px !important;
    line-height: 38px !important;
    font-size: 14px !important;
    border-radius: 50% !important;
    opacity: 0.85 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
  }
}

@media (max-width: 480px) {
  .sdt-home-blog-section {
    padding: 42px 0 55px;
  }
  .sdt-home-blog-title {
    font-size: 1.5rem !important;
  }
  .sdt-card-content {
    padding: 14px 14px 12px !important;
  }
  .sdt-author-name-text {
    max-width: 105px;
    font-size: 0.8rem;
  }
  .sdt-view-all-pill {
    padding: 7px 13px;
    font-size: 0.78rem;
  }
  .sdt-view-all-pill span {
    font-size: 0.78rem;
  }
  .sdt-slider-nav-btn {
    width: 36px;
    height: 36px;
    font-size: 0.88rem;
  }
  #scrollUp {
    bottom: 10px !important;
    right: 10px !important;
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
  }
}


