.blog-detail-redesign {
  background: #f8fafc;
}

.blog-detail-top {
  padding: 2rem 0 0;
}

.blog-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #334155;
  font-weight: 800;
  margin-bottom: 1rem;
}

.blog-detail-back:hover {
  color: #f48025;
}

.blog-detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: #64748b;
  font-weight: 700;
  font-size: 0.9rem;
}

.blog-detail-breadcrumb a {
  color: #64748b;
}

.blog-detail-breadcrumb a:hover,
.blog-detail-breadcrumb strong {
  color: #f48025;
}

.blog-detail-main-section {
  padding: 2rem 0 4rem;
}

.blog-detail-article {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  padding: 2.25rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.055);
}

.blog-detail-category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.blog-detail-category {
  display: inline-flex;
  background: #111827;
  color: #ffffff;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-weight: 900;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-detail-mini-tag {
  display: inline-flex;
  background: #fbc296;
  color: #f48025;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-weight: 800;
  font-size: 0.76rem;
}

.blog-detail-title {
  /* font-size: clamp(2rem, 4vw, 3.8rem); */
  line-height: 1.08;
  /* letter-spacing: -0.055em; */
  /* font-weight: 900; */
  color: #0f172a;
  margin-bottom: 1rem;
}

.blog-detail-description {
  color: #475569;
  font-size: 1.18rem;
  line-height: 1.75;
  margin-bottom: 1.35rem;
}

.blog-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  color: #64748b;
  font-weight: 700;
  margin-bottom: 2rem;
}

.blog-detail-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.blog-detail-meta svg {
  color: #f48025;
}

.blog-detail-image {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 24px;
  margin-bottom: 2.5rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.blog-detail-content h2 {
  color: #111827;
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -0.035em;
  margin: 2.2rem 0 1rem;
}

.blog-detail-content p {
  color: #334155;
  font-size: 1.07rem;
  line-height: 1.95;
  margin-bottom: 1.35rem;
}

.blog-detail-content ul,
.blog-detail-content ol {
  margin: 1.2rem 0 1.6rem;
  padding-left: 1.35rem;
}

.blog-detail-content li {
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 0.6rem;
}

.blog-detail-content blockquote {
  background: #fffbeb;
  border-left: 4px solid #f48025;
  padding: 1.25rem 1.5rem;
  border-radius: 0 18px 18px 0;
  margin: 2rem 0;
  color: #475569;
  font-weight: 700;
}

.blog-detail-footer-tags {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.blog-detail-footer-tags strong {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #111827;
  font-weight: 900;
}

.blog-detail-footer-tags strong svg {
  color: #f48025;
}

.blog-detail-footer-tags a {
  background: #f8fafc;
  color: #475569;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-weight: 800;
  font-size: 0.85rem;
}

.blog-detail-footer-tags a:hover {
  background: #111827;
  color: #ffffff;
}

.blog-detail-sidebar {
  position: sticky;
  top: 104px;
}

.blog-sidebar-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  padding: 1.35rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.055);
}

.blog-sidebar-card h5 {
  color: #111827;
  font-weight: 900;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.blog-sidebar-card h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46px;
  height: 3px;
  border-radius: 999px;
  background: #f48025;
}

.blog-sidebar-search {
  position: relative;
}

.blog-sidebar-search input {
  height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #f8fafc;
  padding-right: 3.3rem;
  font-weight: 600;
}

.blog-sidebar-search input:focus {
  border-color: #f48025;
  box-shadow: 0 0 0 0.2rem rgba(245, 179, 1, 0.18);
  background: #ffffff;
}

.blog-sidebar-search button {
  position: absolute;
  right: 6px;
  top: 6px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 13px;
  background: #111827;
  color: #f48025;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.blog-featured-list {
  display: grid;
  gap: 1rem;
}

.blog-featured-item {
  display: flex;
  gap: 0.85rem;
  color: #111827;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.blog-featured-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.blog-featured-item img {
  width: 86px;
  height: 76px;
  object-fit: cover;
  border-radius: 16px;
  flex: 0 0 auto;
}

.blog-featured-item span {
  color: #f48025;
  /* font-weight: 900; */
  font-size: 0.72rem;
  text-transform: uppercase;
}

.blog-featured-item h6 {
  color: #111827;
  /* font-weight: 900; */
  line-height: 1.4;
  margin: 0.2rem 0;
  font-size: 0.95rem;
}

.blog-featured-item small {
  color: #64748b;
  /* font-weight: 700; */
}

.blog-featured-item:hover h6 {
  color: #f48025;
}

.blog-sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.blog-sidebar-tags a {
  display: inline-flex;
  background: #f8fafc;
  color: #475569;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  /* font-weight: 800; */
  font-size: 0.83rem;
}

.blog-sidebar-tags a:hover {
  background: #111827;
  color: #ffffff;
}

.blog-sidebar-cta {
  background:
    radial-gradient(circle at top right, rgba(245, 179, 1, 0.18), transparent 36%), #111827;
  color: #ffffff;
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.16);
}

.blog-sidebar-cta span {
  color: #f48025;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  /* font-weight: 900; */
}

.blog-sidebar-cta h5 {
  font-weight: 900;
  margin: 0.5rem 0;
}

.blog-sidebar-cta p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.blog-sidebar-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  /* font-weight: 900; */
}

@media (max-width: 991px) {
  .blog-detail-sidebar {
    position: static;
  }

  .blog-detail-article {
    padding: 1.5rem;
    border-radius: 24px;
  }
}

@media (max-width: 575px) {
  .blog-detail-main-section {
    padding-top: 1.25rem;
  }

  .blog-detail-article {
    padding: 1.15rem;
    border-radius: 20px;
  }

  .blog-detail-title {
    font-size: 2.1rem;
  }

  .blog-detail-description {
    font-size: 1.03rem;
  }

  .blog-detail-image {
    border-radius: 18px;
  }

  .blog-featured-item img {
    width: 76px;
    height: 70px;
  }
}
