.blog-article {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
}

.blog-article img {
  border-radius: 1rem;
  width: 100%;
  height: auto;
  object-fit: cover;
  margin: 2rem auto;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.08);
}

.blog-article figure {
  margin: 0;
}

.blog-article figure img {
  margin: 0;
}

.blog-article figure figcaption {
  text-align: center;
  font-size: 0.9rem;
  color: #64748b;
  margin-top: 0.75rem;
}

.blog-article h1,
.blog-article h2,
.blog-article h3,
.blog-article h4,
.blog-article h5,
.blog-article h6 {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #111827;
  margin-top: 2.75rem;
  margin-bottom: 1.35rem;
  line-height: 1.2;
  background: transparent !important;
}

.blog-article h1 {
  font-size: clamp(2.5rem, 6vw, 3.6rem);
}

.blog-article h2 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
}

.blog-article h3 {
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
}

.blog-article h4 {
  font-size: clamp(1.45rem, 3vw, 1.85rem);
}

.blog-article h5 {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
}

.blog-article h6 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  letter-spacing: 0.04em;
}

.blog-article h1:first-child,
.blog-article h2:first-child,
.blog-article h3:first-child,
.blog-article h4:first-child,
.blog-article h5:first-child,
.blog-article h6:first-child {
  margin-top: 0;
}

.blog-article p {
  margin-bottom: 1.6rem;
  color: #374151;
}

.blog-article strong,
.blog-article b {
  color: #0f172a;
  font-weight: 600;
}

.blog-article em,
.blog-article i {
  color: #1f2937;
}

.blog-article .ql-align-center {
  text-align: center;
}

.blog-article .ql-align-right {
  text-align: right;
}

.blog-article .ql-align-justify {
  text-align: justify;
}

.blog-article .ql-indent-1 { padding-left: 1.5rem; }
.blog-article .ql-indent-2 { padding-left: 3rem; }
.blog-article .ql-indent-3 { padding-left: 4.5rem; }
.blog-article .ql-indent-4 { padding-left: 6rem; }

.blog-article .ql-video {
  width: 100%;
  max-width: 920px;
  height: clamp(240px, 55vw, 520px);
  display: block;
  margin: 2.5rem auto;
  border-radius: 1.25rem;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.25);
}

.blog-article .ql-video iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: inherit;
}

.blog-article pre.ql-syntax {
  background: #0f172a;
  color: #f8fafc;
  padding: 1.5rem;
  border-radius: 1rem;
  overflow-x: auto;
  font-size: 0.95rem;
  margin: 2rem 0;
}

.blog-article a {
  color: #2563eb;
  text-decoration: underline;
}

.blog-article .ql-color-white {
  color: #ffffff;
}

.blog-article .ql-bg-black {
  background: #0f172a;
  color: #f8fafc;
  padding: 0.25rem 0.4rem;
  border-radius: 0.35rem;
}

.blog-article blockquote {
  border-left: 4px solid rgba(59, 130, 246, 0.5);
  margin: 2.25rem 0;
  padding: 0.5rem 1.75rem;
  color: #1f2937;
  font-style: italic;
  background: rgba(148, 163, 184, 0.1);
  border-radius: 0.75rem;
}

.blog-article ul,
.blog-article ol {
  padding-left: 1.75rem;
}

.blog-article ul li::marker {
  color: #94a3b8;
}

.blog-article ol li::marker {
  color: #2563eb;
  font-weight: 600;
}

.blog-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
}

.blog-article table thead {
  background: #0f172a;
  color: #f8fafc;
}

.blog-article table th,
.blog-article table td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.blog-article table tbody tr:nth-child(even) {
  background: rgba(148, 163, 184, 0.12);
}

/*
 * Blog article share buttons
 * Keep the social network brand colors outside of Tailwind to avoid
 * production builds stripping the arbitrary color classes.
 */
.blog-share__button {
  color: #ffffff;
}

.blog-share__button-facebook {
  background-color: #1877f2;
}

.blog-share__button-linkedin {
  background-color: #0a66c2;
}

.blog-share__button-x {
  background-color: #000000;
}

.blog-share__button-outline {
  border: 1px solid #d4d4d8;
  color: #322d29;
  background-color: transparent;
}

.blog-share__button-outline:hover,
.blog-share__button-outline:focus {
  border-color: #a67c52;
  color: #a67c52;
}

.blog-article hr {
  margin: 2.5rem auto;
  width: 100%;
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.2), transparent);
}

@media (max-width: 768px) {
  .blog-article img,
  .blog-article .ql-video {
    margin: 1.75rem auto;
  }

  .blog-article blockquote {
    margin: 1.8rem 0;
    padding: 0.75rem 1.25rem;
  }
}
