/* Blog and Case Study Full-Width Layout Styles */

/* Fix horizontal scroll caused by 100vw elements */
html, body {
  overflow-x: hidden;
}

/* Full-width hero image section */
.blog-hero-image {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-bottom: 2rem;
}

.blog-hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

@media (min-width: 768px) {
  .blog-hero-image img {
    height: 500px;
  }
}

@media (min-width: 992px) {
  .blog-hero-image img {
    height: 550px;
  }
}

/* Blog content container - Full width */
.blog-content {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 2rem;
}

@media (min-width: 768px) {
  .blog-content {
    padding: 0 3rem;
  }
}

@media (min-width: 992px) {
  .blog-content {
    padding: 0 4rem;
  }
}

/* Blog title styling */
.blog-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .blog-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 992px) {
  .blog-title {
    font-size: 3rem;
  }
}

/* Blog paragraph styling */
.blog-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #4a4a4a;
}

.blog-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.blog-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.blog-content ul,
.blog-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.blog-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

/* Blockquote styling */
.blog-content blockquote {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-left: 4px solid #8b3dff;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
}

.blog-content blockquote p {
  font-style: italic;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

/* Alternative full-width hero with overlay */
.blog-hero-section {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  height: 450px;
  overflow: hidden;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .blog-hero-section {
    height: 500px;
  }
}

@media (min-width: 992px) {
  .blog-hero-section {
    height: 550px;
  }
}

.blog-hero-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  padding: 3rem;
  color: white;
}

.blog-hero-overlay h1 {
  color: white;
  max-width: 900px;
  margin: 0 auto;
}
