/* Blog styles aligned with abaplint.app design */

body {
  font-family: sans-serif;
  background: #f8fafc;
  color: #1e293b;
}

/* Navbar */
.navbar {
  background: linear-gradient(90deg, #0a0e27, #111b3d) !important;
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Blog header */
.blog-header {
  background: linear-gradient(160deg, #0a0e27 0%, #111b3d 40%, #0d2847 70%, #0a1628 100%);
  color: #fff;
  padding: 3rem 1rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.blog-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 25% 40%, rgba(59, 130, 246, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 500px 350px at 75% 60%, rgba(139, 92, 246, 0.09) 0%, transparent 70%);
  pointer-events: none;
}

.blog-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
}

.blog-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #fff 30%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.blog-header p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  position: relative;
}

/* Section divider */
.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  border-radius: 2px;
  margin: 0 auto 2rem;
}

/* Post card */
.post-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.75rem 2rem;
  margin-bottom: 1.25rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  border-color: #cbd5e1;
}

.post-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.35rem;
}

.post-card .post-date {
  font-size: 0.85rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  display: block;
}

.post-card .post-body {
  color: #475569;
  font-size: 0.97rem;
  line-height: 1.65;
}

.post-card .post-body a {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
}

.post-card .post-body a:hover {
  text-decoration: underline;
}

.post-card img {
  border-radius: 10px;
  max-width: 100%;
  margin-top: 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Footer */
footer {
  border-top: 1px solid #e2e8f0;
  padding: 2rem 0;
  margin-top: 1.5rem;
}

footer small {
  color: #94a3b8;
}

footer a {
  color: #64748b;
  text-decoration: none;
}

footer a:hover {
  color: #3b82f6;
}
