/* ==================== INNER PAGE STYLES ==================== */

/* Page Hero */
.page-hero {
  padding: calc(var(--nav-height) + 56px) 0 52px;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-deep) 100%);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(8, 145, 178, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(124, 58, 237, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(8, 145, 178, 0.2), transparent);
  pointer-events: none;
}

.page-hero .container { position: relative; z-index: 1; }

/* Breadcrumb */
.breadcrumb,
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.breadcrumb a,
.breadcrumbs a {
  color: var(--text-muted);
  transition: color 0.2s;
  text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumbs a:hover {
  color: var(--accent-cyan);
}

.breadcrumb-sep {
  color: var(--text-muted);
  opacity: 1;
}

.breadcrumb-current { color: var(--text-secondary); }

/* Page Title */
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.page-hero .page-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 700px;
  line-height: 1.8;
}

/* Learn hub */
.learn-hub { padding: 72px 0 96px; }
.learn-intro { max-width: 720px; margin-bottom: 36px; }
.learn-intro h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin-bottom: 12px; }
.learn-intro p { color: var(--text-secondary); line-height: 1.75; }
.learn-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.learn-card { display: flex; flex-direction: column; min-height: 250px; padding: 28px; border: 1px solid var(--border-subtle); border-radius: 18px; background: var(--bg-surface); box-shadow: var(--shadow-sm); text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.learn-card:hover { transform: translateY(-5px); border-color: var(--accent-cyan); box-shadow: var(--shadow-lg); }
.learn-card-icon { font-size: 1.75rem; margin-bottom: 22px; color: var(--accent-cyan); }
.learn-card h3 { color: var(--text-primary); font-size: 1.25rem; margin-bottom: 10px; }
.learn-card p { color: var(--text-secondary); line-height: 1.65; margin: 0 0 22px; }
.learn-card span { margin-top: auto; color: var(--accent-cyan); font-weight: 600; }
.learn-start { margin-top: 48px; padding: 32px; border: 1px solid var(--border-subtle); border-radius: 18px; background: rgba(8, 145, 178, .08); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.learn-start h2 { margin: 0 0 8px; font-size: 1.5rem; }
.learn-start p { margin: 0; color: var(--text-secondary); }
@media (max-width: 900px) { .learn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .learn-hub { padding: 48px 0 64px; } .learn-grid { grid-template-columns: 1fr; } .learn-start { align-items: flex-start; flex-direction: column; } }

/* ==================== BLOG LISTING ==================== */

/* ==================== BLOG TOOLBAR ==================== */
.blog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 0;
}

.blog-toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.share-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.share-all-btn:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.03);
}

.share-all-btn svg {
  width: 16px;
  height: 16px;
}

.blog-results-count {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.blog-view-toggle {
  display: flex;
  gap: 4px;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 8px;
  padding: 4px;
}

.view-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.view-toggle-btn:hover {
  color: var(--text-primary);
}

.view-toggle-btn.active {
  background: var(--bg-surface);
  color: var(--text-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ==================== LIST VIEW ==================== */
.blog-grid.list-view {
  grid-template-columns: 1fr;
  gap: 16px;
}

.blog-grid.list-view .blog-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  border-radius: 14px;
}

.blog-grid.list-view .blog-card-image,
.blog-grid.list-view .blog-card-img-wrap {
  height: 100%;
  min-height: 180px;
}

.blog-grid.list-view .blog-card-image img,
.blog-grid.list-view .blog-card-img-wrap img {
  height: 100%;
}

.blog-grid.list-view .blog-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 24px;
}

.blog-grid.list-view .blog-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.blog-grid.list-view .blog-card p {
  -webkit-line-clamp: 2;
  margin-bottom: 12px;
}

.blog-grid.list-view .blog-card:hover {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .blog-toolbar {
    flex-direction: row-reverse;
    gap: 12px;
  }

  .blog-toolbar-right {
    flex-direction: row-reverse;
  }

  .share-all-btn span {
    display: none;
  }

  .blog-grid.list-view .blog-card {
    grid-template-columns: 1fr;
  }

  .blog-grid.list-view .blog-card-image,
  .blog-grid.list-view .blog-card-img-wrap {
    min-height: 160px;
  }
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  padding: 40px 0;
  align-items: stretch;
}

.blog-archive-main .blog-grid {
  padding: 0 0 32px;
}

.blog-archive-main .blog-section-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  padding-bottom: 14px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
}

.blog-archive-main .blog-section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-violet));
  border-radius: 2px;
}

/* Blog cards must stay visible — skip global [data-reveal] opacity:0 */
#blogGrid .blog-card {
  opacity: 1;
  transform: none;
  animation: none;
  content-visibility: auto;
  contain-intrinsic-size: auto 280px;
}

/* Show first page before JS pagination initializes */
#blogGrid:not(.blog-ready) .blog-card:nth-child(n+6) {
  display: none;
}

#blogGrid.blog-ready .blog-card.blog-card-hidden {
  display: none !important;
}

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  background: linear-gradient(165deg, #ffffff 0%, #f8f9fb 100%);
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 8px 24px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  position: relative;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease;
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), #6366f1, var(--accent-violet));
  opacity: 0.85;
  transition: height 0.3s ease, opacity 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(8, 145, 178, 0.22);
  box-shadow:
    0 4px 8px rgba(15, 23, 42, 0.04),
    0 16px 40px rgba(8, 145, 178, 0.1);
}

.blog-card:hover::before {
  height: 4px;
  opacity: 1;
}

.blog-card-image {
  width: 100%;
  height: 200px;
  background: var(--bg-elevated);
  position: relative;
  overflow: hidden;
}

.blog-card-image .card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.04), rgba(255, 255, 255, 0.02));
}

.blog-card-image .card-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  opacity: 1;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-img-wrap {
  width: 100%;
  height: 200px;
  background: var(--bg-elevated);
  position: relative;
  overflow: hidden;
}

.blog-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img-wrap img {
  transform: scale(1.05);
}

.blog-card-read {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.85rem;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  margin-top: auto;
}

.article-feature-img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 8px;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  max-height: 480px;
}

.article-feature-caption {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  font-style: italic;
}

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

.blog-card-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.card-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(8, 145, 178, 0.09);
  color: #0e7490;
  border: 1px solid rgba(8, 145, 178, 0.12);
}

.card-tag.tag-violet {
  background: rgba(124, 58, 237, 0.09);
  color: #6d28d9;
  border-color: rgba(124, 58, 237, 0.14);
}

.card-tag.tag-rose {
  background: rgba(225, 29, 72, 0.08);
  color: #be123c;
  border-color: rgba(225, 29, 72, 0.12);
}

.card-tag.tag-amber {
  background: rgba(217, 119, 6, 0.1);
  color: #b45309;
  border-color: rgba(217, 119, 6, 0.14);
}

.blog-card h3 {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.blog-card h3 a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.25s ease;
}

.blog-card h3 a:hover {
  color: var(--accent-cyan);
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
  padding-top: 16px;
  margin-top: auto;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.blog-card-meta > span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.read-more {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--accent-cyan);
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(8, 145, 178, 0.08);
  border: 1px solid rgba(8, 145, 178, 0.12);
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    gap 0.25s ease;
}

.read-more:hover {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: #fff;
  gap: 8px;
}

/* ==================== BLOG PAGINATION ==================== */
.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 48px 0 32px;
  flex-wrap: wrap;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled) {
  border-color: var(--text-primary);
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.03);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.pagination-btn:disabled {
  opacity: 1;
  cursor: not-allowed;
}

.pagination-numbers {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pagination-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pagination-num:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.03);
}

.pagination-num.active {
  background: var(--text-primary);
  color: var(--bg-deep);
  border-color: var(--text-primary);
  font-weight: 600;
}

.pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  color: var(--text-muted);
  font-size: 1.1rem;
  letter-spacing: 1px;
}

@media (max-width: 640px) {
  .blog-pagination {
    gap: 6px;
    padding: 36px 0 24px;
  }
  .pagination-btn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
  .pagination-btn svg {
    width: 14px;
    height: 14px;
  }
  .pagination-num {
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    font-size: 0.8rem;
  }
}

/* ==================== SHARE BAR ==================== */
.share-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  margin: 24px 0;
  flex-wrap: wrap;
}

.share-bar-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 4px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--bg-surface);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: #fff;
  border-color: transparent;
}

.share-btn.whatsapp:hover { background: #25D366; }
.share-btn.twitter:hover { background: #1DA1F2; }
.share-btn.facebook:hover { background: #1877F2; }
.share-btn.linkedin:hover { background: #0A66C2; }
.share-btn.copy-link:hover { background: var(--text-primary); }

.share-btn svg {
  width: 18px;
  height: 18px;
}

/* ==================== LIKE BUTTON ==================== */
.like-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: auto;
}

.like-btn:hover {
  border-color: #e74c3c;
  color: #e74c3c;
}

.like-btn.liked {
  background: #e74c3c;
  border-color: #e74c3c;
  color: #fff;
}

.like-btn.liked svg {
  fill: #fff;
  stroke: #fff;
}

.like-btn svg {
  width: 18px;
  height: 18px;
  transition: all 0.2s ease;
}

.like-btn:hover svg {
  transform: scale(1.15);
}

/* ==================== SHARE BAR IN ARTICLE ==================== */
.article-share-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 12px;
  margin: 32px 0;
  flex-wrap: wrap;
}

.article-share-bar .share-bar-label {
  margin-right: 0;
}

.article-share-bar .share-btn {
  width: 36px;
  height: 36px;
}

.article-share-bar .like-btn {
  margin-left: auto;
}

/* ==================== SHARE BAR IN BLOG CARD ==================== */
.blog-card-share {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.blog-card-share .share-btn {
  width: 30px;
  height: 30px;
}

.blog-card-share .share-btn svg {
  width: 14px;
  height: 14px;
}

.blog-card-share .like-btn {
  margin-left: auto;
  padding: 5px 12px;
  font-size: 0.78rem;
}

.blog-card-share .like-btn svg {
  width: 14px;
  height: 14px;
}

/* ==================== SHARE MODAL ==================== */
.share-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.share-modal-overlay.show {
  display: flex;
  opacity: 1;
}

.share-modal {
  background: var(--bg-surface);
  border-radius: 16px;
  padding: 28px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.share-modal h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.share-modal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.share-modal-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 8px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  color: var(--text-secondary);
}

.share-modal-btn:hover {
  background: rgba(0, 0, 0, 0.03);
  transform: translateY(-2px);
}

.share-modal-btn svg {
  width: 24px;
  height: 24px;
}

.share-modal-btn span {
  font-size: 0.72rem;
  font-weight: 500;
}

.share-modal-close {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.share-modal-close:hover {
  background: rgba(0, 0, 0, 0.04);
}

@media (max-width: 768px) {
  .share-modal-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==================== BLOG POST / ARTICLE ==================== */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 60px;
  padding: 60px 0;
  align-items: start;
}

.article-content {
  min-width: 0;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.post-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.post-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.post-tags a.card-tag {
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.72rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.post-tags a.card-tag:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(8, 145, 178, 0.15);
}

.article-body h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.article-body h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
}

.article-body p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 20px;
}

.article-body p strong {
  color: var(--text-primary);
}

.article-body ul,
.article-body ol {
  color: var(--text-secondary);
  padding-left: 24px;
  margin-bottom: 20px;
  line-height: 1.8;
}

.article-body li {
  margin-bottom: 8px;
  font-size: 1rem;
}

.article-body blockquote {
  border-left: 2px solid rgba(0, 0, 0, 0.15);
  padding: 16px 24px;
  margin: 28px 0;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--text-secondary);
}

.stat-highlight {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.06);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
}

.info-box {
  padding: 24px;
  border-radius: 16px;
  background: var(--bg-surface);
  border: 1px solid rgba(0, 0, 0, 0.06);
  margin: 28px 0;
}

.info-box h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-secondary);
}

/* Table of Contents (Sidebar) */
.article-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.toc {
  padding: 24px;
  border-radius: 16px;
  background: var(--bg-surface);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.toc h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  color: var(--text-muted);
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc-link {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 6px 12px;
  border-left: 2px solid transparent;
  border-radius: 0 6px 6px 0;
  transition: all 0.3s;
  display: block;
}

.toc-link:hover,
.toc-link.active {
  color: var(--text-primary);
  border-left-color: var(--text-primary);
  background: rgba(0, 0, 0, 0.03);
}

.toc-link.sub {
  padding-left: 24px;
  font-size: 0.8rem;
}

/* Author Bio */
.author-bio {
  display: flex;
  gap: 20px;
  padding: 28px;
  border-radius: 16px;
  background: var(--bg-surface);
  border: 1px solid rgba(0, 0, 0, 0.04);
  margin-top: 48px;
}

.author-bio-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle, rgba(0,0,0,0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.author-bio h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.author-bio p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Related Posts */
.related-posts {
  padding: 60px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  margin-top: 40px;
}

.related-posts h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 28px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ==================== SERVICE PAGE ==================== */
.service-hero {
  padding: calc(var(--nav-height) + 80px) 0 80px;
  position: relative;
  overflow: hidden;
}

.service-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 30% 40%, rgba(0, 0, 0, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 70% 70%, rgba(168, 85, 247, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.service-hero .container { position: relative; z-index: 1; }

.service-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.service-hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 650px;
  line-height: 1.8;
  margin-bottom: 32px;
}

.service-hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.service-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.service-stat span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Service Features */
.service-features-section {
  padding: var(--section-pad) 0;
  background: var(--bg-primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  padding: 32px 28px;
  border-radius: 18px;
  background: var(--bg-surface);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 0, 0, 0.06);
}

.feature-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Service Process */
.service-process {
  padding: var(--section-pad) 0;
}

/* Service CTA */
.service-cta {
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(0, 0, 0, 0.04), transparent 70%);
  pointer-events: none;
}

.service-cta .container { position: relative; z-index: 1; }

.service-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.service-cta p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Related Services */
.related-services {
  padding: 60px 0;
  background: var(--bg-primary);
}

.related-services h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 28px;
  text-align: center;
}

.related-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related-service-card {
  padding: 28px 24px;
  border-radius: 16px;
  background: var(--bg-surface);
  border: 1px solid rgba(0, 0, 0, 0.04);
  text-align: center;
  transition: all 0.3s var(--ease-out);
}

.related-service-card:hover {
  border-color: rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.related-service-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.related-service-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==================== FAQ PAGE ==================== */
.faq-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.faq-category-btn {
  padding: 10px 22px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.faq-category-btn:hover,
.faq-category-btn.active {
  border-color: var(--text-primary);
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.04);
}

.faq-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.faq-jump-nav a {
  padding: 6px 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s;
}

.faq-jump-nav a:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.03);
}

.faq-section-group {
  margin-bottom: 48px;
  scroll-margin-top: 80px;
}

.faq-section-group h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  display: inline-block;
}

.faq-section-group h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  display: inline-block;
}

/* ==================== PAGE CTA BANNER ==================== */
.page-cta-banner {
  padding: 60px 0;
  background: var(--bg-primary);
  text-align: center;
}

.page-cta-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.page-cta-banner p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.page-cta-banner .cta-flex {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==================== INNER PAGE FOOTER ==================== */
.inner-footer {
  padding: 40px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
}

.inner-footer p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.inner-footer a { color: var(--text-primary); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
    order: -1;
  }

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

  .related-grid,
  .related-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: calc(var(--nav-height) + 36px) 0 36px;
  }

  .page-hero h1 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .page-hero .page-desc {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 0;
  }

  .blog-card {
    border-radius: 14px;
  }

  .blog-card-body {
    padding: 20px 18px 18px;
  }

  .blog-card h3 {
    font-size: 1.05rem;
  }

  .blog-card-meta {
    flex-wrap: wrap;
  }

  .read-more {
    padding: 5px 10px;
    font-size: 0.78rem;
  }

  .blog-card-image,
  .blog-card-img-wrap {
    height: 180px;
  }

  .service-hero {
    padding: calc(var(--nav-height) + 48px) 0 48px;
  }

  .service-hero h1 {
    font-size: clamp(1.6rem, 5vw, 2.5rem);
  }

  .service-hero-desc {
    font-size: 1rem;
  }

  .service-hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .service-hero-stats .service-stat {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .service-features-section {
    padding: 48px 0;
  }

  .feature-card {
    padding: 24px 20px;
  }

  .feature-card h3 {
    font-size: 1rem;
  }

  .service-cta {
    padding: 48px 0;
  }

  .service-cta h2 {
    font-size: clamp(1.4rem, 4vw, 2rem);
  }

  .related-grid,
  .related-services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .related-posts {
    padding: 40px 0;
  }

  .related-posts h3 {
    font-size: 1.2rem;
  }

  .article-body h2 {
    font-size: 1.3rem;
    margin-top: 32px;
  }

  .article-body h3 {
    font-size: 1.1rem;
    margin-top: 24px;
  }

  .article-body p {
    font-size: 0.95rem;
  }

  .author-bio {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 24px 20px;
  }

  .toc {
    padding: 20px;
  }

  .toc-link {
    font-size: 0.82rem;
    padding: 5px 10px;
  }

  .filter-tags {
    gap: 8px;
  }

  .filter-tag {
    padding: 6px 14px;
    font-size: 0.78rem;
  }

  .breadcrumb {
    font-size: 0.78rem;
    margin-bottom: 14px;
  }

  .faq-categories {
    gap: 8px;
  }

  .faq-category-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .page-cta-banner {
    padding: 40px 0;
  }

  .page-cta-banner h2 {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
  }

  .related-service-card {
    padding: 22px 18px;
  }

  .related-service-card h4 {
    font-size: 0.95rem;
  }

  .info-box {
    padding: 18px;
    margin: 20px 0;
  }
}

@media (max-width: 480px) {
  .page-hero h1 {
    font-size: clamp(1.3rem, 6vw, 1.8rem);
  }

  .article-body {
    overflow-x: auto;
  }

  .article-body table {
    font-size: 0.8rem;
    min-width: 500px;
  }

  .blog-card-image,
  .blog-card-img-wrap {
    height: 160px;
  }

  .page-cta-banner .cta-flex {
    flex-direction: column;
    align-items: center;
  }

  .page-cta-banner .cta-flex .btn {
    width: 100%;
    justify-content: center;
  }
}

/* =============================================
   GLOBAL HEADER ENHANCEMENTS (inner pages)
   ============================================= */

/* WhatsApp button in nav */
.nav-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.nav-wa-btn:hover {
  transform: scale(1.08);
}

.nav-right-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile: hide wa btn text */
@media (max-width: 768px) {
  .nav-right-group { gap: 10px; }
}

/* =============================================
   GLOBAL FOOTER
   ============================================= */

.g-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
  padding-top: 48px;
  font-family: var(--font-heading);
  position: relative;
  z-index: 1;
}

.g-footer-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px,4vw,40px);
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

/* Brand column */
.g-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.g-footer-brand-desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 10px;
}
.g-footer-ml {
  font-family: var(--font-ml, 'Noto Sans Malayalam', sans-serif);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
  display: block;
}
.g-footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.g-footer-contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.3s;
  padding: 5px 0;
}
.g-footer-contact-list a:hover { color: var(--text-primary); }
.g-footer-contact-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(0,0,0,0.06);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* Nav columns */
.g-footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  margin-bottom: 18px;
}
.g-footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
  list-style: none;
}
.g-footer-col a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.3s, padding-left 0.3s;
  display: inline-block;
}
.g-footer-col a:hover {
  color: var(--text-primary);
  padding-left: 4px;
}

/* Bottom bar */
.g-footer-bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 20px clamp(20px,4vw,40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(0,0,0,0.06);
  flex-wrap: wrap;
}
.g-footer-bottom p {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-muted);
}
.g-footer-bottom-links {
  display: flex;
  gap: 20px;
}
.g-footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.3s;
}
.g-footer-bottom-links a:hover { color: var(--text-primary); }

.g-back-top {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.06);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all 0.3s;
  flex-shrink: 0;
}
.g-back-top:hover {
  background: var(--text-primary);
  color: var(--bg-deep);
  transform: translateY(-2px);
}

/* Gradient separator line above footer */
.g-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0,0,0,0.06) 30%,
    rgba(0,0,0,0.06) 60%,
    transparent 100%);
}

/* ===== ARTICLE TABLES (dark theme) ===== */
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.95rem;
  border-radius: 8px;
  overflow: hidden;
}
.article-body thead tr {
  background: var(--bg-elevated);
}
.article-body th {
  padding: 12px 14px;
  text-align: left;
  font-weight: 600;
  color: inherit;
  border-bottom: 2px solid rgba(0,0,0,0.06);
}
.article-body td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  color: var(--text-secondary);
}
.article-body tbody tr:hover {
  background: rgba(255,255,255,0.03);
}
.article-body td strong {
  color: var(--text-primary);
}
@media (max-width: 640px) {
  .article-body table { font-size: 0.85rem; }
  .article-body th, .article-body td { padding: 10px 10px; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .g-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}
@media (max-width: 640px) {
  .g-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .g-footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* ===== BLOG ARCHIVE PAGES (category + subcategory hubs) ===== */
.breadcrumbs {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.6;
}

.breadcrumbs a {
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--accent-cyan);
  border-bottom-color: currentColor;
}

.topic-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 8px;
}

.topic-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 980px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.topic-chip:hover {
  border-color: rgba(8, 145, 178, 0.35);
  color: var(--text-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.08);
}

.topic-count {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  opacity: 0.75;
}

.pagination-gap {
  padding: 0 4px;
  color: var(--text-secondary);
  opacity: 0.7;
}

.related-posts .blog-card-tags .card-tag {
  white-space: nowrap;
}

@media (max-width: 640px) {
  .topic-chip {
    padding: 8px 13px;
    font-size: 0.8rem;
  }
  .topic-chip-grid {
    gap: 8px;
  }
  .breadcrumbs {
    font-size: 0.78rem;
  }
}

/* Blog archive layout with sidebar */
.blog-archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
  padding-top: 8px;
  padding-bottom: 48px;
}

.blog-archive-main {
  min-width: 0;
}

.blog-archive-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 20px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blog-archive-sidebar .sidebar-widget {
  padding: 20px;
  border-radius: 16px;
  background: var(--bg-surface);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-archive-sidebar .sidebar-widget h4 {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 0 0 14px;
}

.blog-archive-sidebar .sidebar-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.blog-archive-sidebar .sidebar-links a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.4;
  display: block;
  transition: color 0.2s;
}

.blog-archive-sidebar .sidebar-links a:hover {
  color: var(--text-primary);
}

.blog-archive-sidebar .sidebar-cats .sidebar-count {
  float: right;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.blog-archive-sidebar .sidebar-cat-link.active {
  color: var(--accent-cyan);
  font-weight: 600;
}

.blog-archive-sidebar .sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-archive-sidebar .sidebar-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  background: var(--bg-primary);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: border-color 0.2s, color 0.2s;
}

.blog-archive-sidebar .sidebar-tag:hover,
.blog-archive-sidebar .sidebar-tag.active {
  color: var(--text-primary);
  border-color: rgba(0, 229, 255, 0.35);
}

.blog-archive-sidebar .sidebar-tag span {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.blog-archive-sidebar .sidebar-cta p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0 0 14px;
}

.blog-archive-sidebar .sidebar-wa-btn {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 10px;
}

.blog-archive-sidebar .sidebar-contact-link {
  display: block;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.blog-archive-sidebar .sidebar-all {
  margin: 0 0 4px;
  font-size: 0.85rem;
}

.blog-archive-sidebar .sidebar-all a {
  color: var(--accent-cyan);
}

.blog-section-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.blog-category-grid-section {
  margin-bottom: 48px;
}

.blog-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.blog-category-card {
  display: block;
  padding: 22px;
  border-radius: 16px;
  background: var(--bg-surface);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: border-color 0.2s, transform 0.2s;
}

.blog-category-card:hover {
  border-color: rgba(0, 229, 255, 0.3);
  transform: translateY(-2px);
}

.blog-category-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.blog-category-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0 0 12px;
}

.blog-category-card-count {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}

.blog-recent-section {
  margin-top: 8px;
}

@media (max-width: 960px) {
  .blog-archive-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .blog-archive-sidebar {
    position: static;
    order: 2;
  }
}

.blog-category-hubs {
  margin: 8px 0 26px;
}

.blog-hubs-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
