:root {
  --bg-color: #f8fafc; /* light slate */
  --card-bg: #ffffff;
  --text-primary: #0f172a; /* Slate 900 */
  --text-secondary: #475569; /* Slate 600 */
  --link-color: #311b92; /* Brand deep purple */
  --link-hover: #0d9488; /* Teal hover */
  --border-color: #f1f5f9; /* Extra soft borders */
  --accent-color: #311b92; /* Brand purple */
  
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: radial-gradient(circle at 10% 20%, rgba(49, 27, 146, 0.02) 0%, rgba(13, 148, 136, 0.02) 90%), #f8fafc;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.8;
  padding: 60px 20px;
}

/* Main Container - Centered Single Column */
.main-container {
  max-width: 800px;
  margin: 0 auto;
}

/* Article Styling */
article {
  background-color: var(--card-bg);
  padding: 60px;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-top: 5px solid var(--accent-color); /* Elegant top line */
  box-shadow: 0 10px 40px -10px rgba(49, 27, 146, 0.06), 0 1px 3px rgba(0, 0, 0, 0.01);
}

h1.article-title {
  font-size: 38px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 30px;
  letter-spacing: -0.03em;
}

/* Image below H1 - nicely framed */
.hero-image-wrapper {
  margin-bottom: 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(49, 27, 146, 0.04);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.hero-image-wrapper img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}

.hero-image-wrapper:hover img {
  transform: scale(1.01); /* Micro-interaction */
}

/* Content Typography */
.article-content {
  color: #334155; /* Slate 700 */
  font-size: 17.5px;
  line-height: 1.85;
}

.article-content p {
  margin-bottom: 25px;
}

.article-content h2 {
  font-size: 26px;
  font-weight: 800;
  margin: 50px 0 20px 0;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.article-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 35px 0 12px 0;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  border-left: 3px solid var(--accent-color);
  padding-left: 14px;
  line-height: 1.4;
}

/* Styled anchors with redirections */
.blog-redirect-link {
  color: var(--link-color);
  text-decoration: none;
  border-bottom: 2px solid rgba(49, 27, 146, 0.25);
  font-weight: 700;
  transition: all 0.2s ease-in-out;
  padding-bottom: 1px;
}

.blog-redirect-link:hover {
  color: var(--link-hover);
  border-bottom-color: var(--link-hover);
  background-color: rgba(13, 148, 136, 0.05);
  border-radius: 4px;
  padding: 2px 6px;
  margin: -2px -6px;
}

/* Add emphasis element styling */
strong {
  font-weight: 700;
  color: var(--text-primary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  body {
    padding: 30px 12px;
  }

  article {
    padding: 30px 24px;
    border-radius: 12px;
  }
  
  h1.article-title {
    font-size: 28px;
    margin-bottom: 20px;
  }
  
  .hero-image-wrapper {
    margin-bottom: 25px;
  }
  
  .article-content h2 {
    font-size: 22px;
    margin: 35px 0 15px 0;
  }

  .article-content h3 {
    font-size: 18px;
    margin: 25px 0 10px 0;
    padding-left: 10px;
  }
}
