/* Custom Styles for 4-Column Blog Portfolio */
.blog-page-header {
  padding: 140px 0 60px 0;
  background: #f8f9fa;
  text-align: center;
}

.blog-page-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: #000;
  font-family: "Montserrat", sans-serif;
}

.blog-page-header p {
  font-size: 16px;
  color: #444;
}

.blog-card {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(27, 220, 46, 0.15);
  border-color: #1bdc2e;
}

.blog-img {
  position: relative;
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-img img {
  transform: scale(1.05);
}

.blog-content {
  padding: 25px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 13px;
  color: #777;
}

.blog-meta span.category {
  color: #fff;
  background: #1bdc2e;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 600;
  margin-right: 15px;
  text-transform: uppercase;
  font-size: 11px;
}

.blog-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.4;
  font-family: "Montserrat", sans-serif;
}

.blog-title a {
  color: #000;
  text-decoration: none;
  transition: 0.3s;
}

.blog-title a:hover {
  color: #1bdc2e;
}

.blog-excerpt {
  font-size: 14px;
  color: #555;
  flex-grow: 1;
  line-height: 1.6;
  margin-bottom: 20px;
}

.read-more {
  color: #000;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
}

.read-more i {
  margin-left: 5px;
  transition: 0.3s;
  color: #1bdc2e;
  font-size: 18px;
}

.read-more:hover {
  color: #1bdc2e;
}

.read-more:hover i {
  transform: translateX(5px);
}

/* Pagination styling */
.blog-pagination {
  margin-top: 50px;
}

.blog-pagination .pagination {
  justify-content: center;
}

.blog-pagination .page-link {
  color: #000;
  border: none;
  margin: 0 5px;
  border-radius: 4px;
  font-weight: 600;
  padding: 10px 18px;
  background: #f1f1f1;
}

.blog-pagination .page-item.active .page-link,
.blog-pagination .page-link:hover {
  background: #1bdc2e;
  color: #fff;
}

/* Single Blog Post Styles */
.blog-single-header {
  padding: 140px 0 60px 0;
  background: #f8f9fa;
}

.blog-single-header h1 {
  font-size: 40px;
  font-weight: 700;
  color: #000;
  margin-bottom: 20px;
  font-family: "Montserrat", sans-serif;
}

.blog-single-meta {
  color: #666;
  font-size: 15px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.blog-single-meta i {
  color: #1bdc2e;
  margin-right: 5px;
}

.blog-content-area {
  padding: 60px 0;
}

.blog-content-area img {
  border-radius: 8px;
  margin-bottom: 30px;
  width: 100%;
}

.blog-content-area h3 {
  font-size: 26px;
  font-weight: 700;
  color: #000;
  margin: 40px 0 20px;
}

.blog-content-area p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 20px;
}

.blog-content-area ul {
  margin-bottom: 30px;
}

.blog-content-area ul li {
  margin-bottom: 10px;
  font-size: 16px;
  color: #444;
}

.blog-content-area ul li strong {
  color: #000;
}

.sidebar {
  padding: 30px;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 30px;
}

.sidebar-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #000;
  border-bottom: 2px solid #1bdc2e;
  padding-bottom: 10px;
  display: inline-block;
}

.sidebar-item {
  margin-bottom: 30px;
}

.sidebar-item:last-child {
  margin-bottom: 0;
}

.recent-posts ul {
  list-style: none;
  padding: 0;
}

.recent-posts ul li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.recent-posts ul li img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  margin-right: 15px;
  margin-bottom: 0;
}

.recent-posts ul li h4 {
  font-size: 15px;
  line-height: 1.4;
  margin: 0 0 5px;
}

.recent-posts ul li h4 a {
  color: #000;
  transition: 0.3s;
  text-decoration: none;
}

.recent-posts ul li h4 a:hover {
  color: #1bdc2e;
}

.recent-posts ul li time {
  font-size: 12px;
  color: #777;
}

.categories ul {
  list-style: none;
  padding: 0;
}

.categories ul li {
  margin-bottom: 10px;
}

.categories ul li a {
  color: #444;
  transition: 0.3s;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
}

.categories ul li a:hover {
  color: #1bdc2e;
}

.categories ul li a span {
  background: #fff;
  padding: 0 8px;
  border-radius: 12px;
  font-size: 12px;
  color: #777;
}
