/* Blog */
.blog {
  padding: 120px 0px;
}

.blog .blog-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 16px;
}

.blog-header {
  text-align: center;
  margin-bottom: 60px;
}

.blog-heading {
  font-size: 48px;
  color: #0b0f28;
  font-weight: 800;
  margin-bottom: 16px;
}

.blog-subheading {
  font-size: 16px;
  color: #a1a1a1;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

.blog h1 {
  font-size: 18px;
  margin-bottom: 48px;
  color: #0b0f28;
}

.blog-row-1 {
  display: flex;
  gap: 24px;
  margin-bottom: 48px;
}

/* Featured large post */
.blog-post.featured {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.blog-post.featured .post-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 24px;
}

.blog-post.featured .post-content {
  position: relative;
}

.blog-post.featured .post-arrow {
  position: absolute;
  top: 20px;
  right: 0;
  width: 14px;
  height: 14px;
}

/* Side column with 2 small posts */
.blog-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.blog-post.small {
  display: flex;
  gap: 20px;
}

.blog-post.small .post-image {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

.blog-post.small .post-content {
  flex: 1;
}

/* Horizontal full-width post */
.blog-post.horizontal {
  display: flex;
  gap: 32px;
  position: relative;
}

.blog-post.horizontal .post-image {
  width: 48%;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

.blog-post.horizontal .post-content {
  flex: 1;
  position: relative;
}

.blog-post.horizontal .post-arrow {
  position: absolute;
  top: 20px;
  right: 0;
  width: 14px;
  height: 14px;
}

/* Post content styles */
.post-date {
  display: block;
  color: #a1a1a1;
  font-size: 14px;
  margin-bottom: 10px;
}

.post-title {
  font-size: 24px;
  color: #0b0f28;
  margin-bottom: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.blog-post.small .post-title {
  font-size: 20px;
}

.post-excerpt {
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 20px;
}

.post-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  cursor: pointer;
}

.tag {
  padding: 4px 12px;
  border-radius: 16px;
  color: #a1a1a1;
  font-size: 14px;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}

.tag:hover {
  background: #1b2d74;
  color: #ffffff;
  border-color: #1b2d74;
}

/* Responsive */
@media (max-width: 980px) {
  .blog-row-1 {
    flex-direction: column;
  }
  .blog-post.horizontal {
    flex-direction: column;
  }
  .blog-post.horizontal .post-image {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .blog-post.small {
    flex-direction: column;
  }
  .blog-post.small .post-image {
    width: 100%;
    height: 200px;
  }
  .post-title {
    font-size: 22px;
  }
  .blog-post.small .post-title {
    font-size: 18px;
  }
}

/* All Blogs Post Section */
.section-title {
  font-size: 16px;
  color: #0b0f28;
  margin: 120px 0 32px;
  font-weight: 800;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.blog-post.card {
  display: flex;
  flex-direction: column;
  position: relative;
}

.blog-post.card .post-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}

.blog-post.card .post-content {
  position: relative;
  flex: 1;
}

.blog-post.card .post-arrow {
  position: absolute;
  top: 20px;
  right: 0;
  width: 14px;
  height: 14px;
}

.blog-post.card .post-title {
  font-size: 22px;
}

@media (max-width: 980px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .section-title {
    font-size: 28px;
    margin: 48px 0 24px;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
}
