.hero-section {
  display: grid;
  max-width: 1200px;
  margin: 80px auto 0;
  padding: 0 20px;
  grid-column-gap: 40px;
  grid-row-gap: 40px;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1.8fr;
}

.hero-content {
  background-image: linear-gradient(#ffe0d5, #fff);
  padding: 2rem;
  border: 1px solid #d1d1d6;
  border-radius: 8px;
}

.hero-title {
  font-size: 40px;
  font-weight: 700;
  color: #333;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero-description {
  font-size: 18px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 32px;
}

.author-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e9ecef;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-label {
  font-size: 14px;
  color: #666;
  margin-bottom: 4px;
}

.author-name {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.header-block-feature {
  background-color: #dddfe04d;
  border: 1px solid #d1d1d6;
  border-radius: 8px;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  display: flex;
  box-shadow: 25px 25px 64px -14px #a1a1a526;
}

.hero-image {
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  height: 100%;
  display: flex;
  position: relative;
  overflow: hidden;
}

.hero-image img {
  border-radius: 16px;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .hero-section {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-description {
    font-size: 16px;
  }
}
/* Article Section */
.article-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

.article-layout {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  grid-template-rows: auto;
  grid-template-columns: 1.6fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}

.article-content {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
}

.article-body h2 {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin: 40px 0 20px 0;
  line-height: 1.3;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body p {
  font-size: 18px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 24px;
}

/* Sidebar */
.sidebar {
  background-color: #dddfe04d;
  padding: 2rem;
  border-radius: 14px;
}

.related-posts {
  /* background: #fff; */
  border-radius: 12px;
  /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); */
}

.related-posts h3 {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
}

.related-post {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
  /* border-bottom: 1px solid #f0f0f0; */
}

.related-post:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.related-post img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.post-info h4 {
  margin: 0 0 8px 0;
  font-size: 16px;
  line-height: 1.4;
}

.post-info h4 a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
}

.post-info h4 a:hover {
  color: #007bff;
}

.post-date {
  font-size: 14px;
  color: #888;
  margin: 0;
}

/* Sidebar Newsletter */
.sidebar-newsletter {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 24px;
  border-radius: 12px;
  margin-top: 32px;
  text-align: center;
  position: sticky;
  top: 100px;
}

.sidebar-newsletter h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.sidebar-newsletter p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  line-height: 1.5;
}

.sidebar-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}

.sidebar-newsletter-form input {
  padding: 12px 16px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
}

.sidebar-subscribe-btn {
  padding: 12px 20px;
  background: #ff6b6b;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.sidebar-subscribe-btn:hover {
  background: #ff5252;
}

.sidebar-newsletter-disclaimer {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .article-content {
    padding: 24px;
  }

  .article-body h2 {
    font-size: 24px;
  }

  .article-body p {
    font-size: 16px;
  }

  .sidebar {
    position: static;
  }

  .related-posts {
    padding: 24px;
  }
}
/* Case Studies Section */
.case-studies-section {
  padding: 0 0 80px 0;
  /* background: #f8f9fa; */
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: #333;
  margin-bottom: 48px;
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.case-study-card {
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-study-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-study-card-img-wrapper {
  overflow: hidden;
  height: 250px;
}

.case-study-card-img-wrapper img:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.case-study-content {
  margin-top: 24px;
}

.case-study-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
  line-height: 1.3;
}

.case-study-content p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
}

.case-study-link {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s ease;
}

.case-study-link:hover {
  color: #0056b3;
}

@media (max-width: 768px) {
  .case-studies-section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 32px;
  }

  .case-studies-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .case-study-content {
    padding: 20px;
  }
}
