/*--------------------------------------------------------------
# Blog Hero
--------------------------------------------------------------*/
header.hero {
  background: linear-gradient(140deg, #1a1b3a, #0f1020 50%, #0b0c1a);
  color: #fff;
  padding: 40px 20px;
  margin-bottom: 30px;
}

.hero-inner {
  max-width: 860px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  background: linear-gradient(90deg, #f40bba, #fb6852);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.hero-visual img {
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,.1);
}

/*--------------------------------------------------------------
# Blog Content
--------------------------------------------------------------*/
main article {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.blog-article {
  line-height: 1.7;
  font-size: 1.05rem;
}

.blog-article h2,
.blog-article h3 {
  margin-top: 1.5rem;
  margin-bottom: .75rem;
  font-weight: 600;
}

.blog-article p {
  margin-bottom: 1rem;
}

/*--------------------------------------------------------------
# Call to Action
--------------------------------------------------------------*/
.cta {
  margin-top: 30px;
  padding: 20px;
  background: #0f1020;
  color: #fff;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.btn-gradient {
  background: linear-gradient(90deg, #f40bba, #fb6852);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
}

.btn-gradient:hover {
  opacity: 0.9;
  color: #fff;
}

/*--------------------------------------------------------------
# Blog Footer Overrides (match main site)
--------------------------------------------------------------*/
.blog-page #footer {
  background: #f8f9fa;
}

.blog-page .copyright {
  background: #f8f9fa;
  padding-top: 25px;
  padding-bottom: 25px;
  border-top: 1px solid rgba(var(--default-color-rgb), 0.1);
}

/* Social links */
.blog-page .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(var(--default-color-rgb), 0.5);
  font-size: 16px;
  color: rgba(var(--default-color-rgb), 0.7);
  margin-right: 10px;
  transition: 0.3s;
}

.blog-page .social-links a:hover {
  color: var(--accent-color);
  background: linear-gradient(90deg, #f40bba, #7a5cff);
  border-color: transparent;
}

/* Footer links */
.blog-page .footer .footer-links ul a {
  color: rgba(var(--default-color-rgb), 0.7);
  display: inline-block;
  line-height: 1;
  text-decoration: none;
}

.blog-page .footer .footer-links ul a:hover {
  color: var(--accent-color);
}

/* Newsletter button */
.blog-page .footer button[type="submit"] {
  background: linear-gradient(135deg, #fb3fa9, #552be2);
  border: none;
  color: white;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.blog-page .footer button[type="submit"]:hover {
  opacity: 0.9;
}

.hero-visual img {
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,.1);
}

.hero-visual img {
  width: 100%;
  max-height: 350px;    /* cap image height */
  object-fit: cover;    /* crop nicely to fit */
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,.1);
  display: block;
  margin: 20px auto;    /* spacing around the image */
}
