* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #333;
  background-color: #f8f8f8;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.article .content p img {
  max-width: 600px;
}
.article .content p span img {
  max-width: 600px;
}
.article .content img {
  max-width: 600px;
}
/* Single blog page wrapper */
/* .single-blog-wrapper {
  padding: 140px 0;
} */

.single-blog-wrapper .wrapper {
  display: grid;
  grid-template-columns: 2.5fr 1.5fr;
  gap: 40px;
}

/* Main article styling */
.article {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Main image container */
.article .main-image {
  width: 100%;
  height: 450px;
  overflow: hidden;
  position: relative;
}

.article .main-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(241, 117, 44, 0.1), rgba(0, 0, 0, 0));
  z-index: 1;
}

.article .main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Article content */
.article .content {
  padding: 35px 40px;
}

/* Date styling */
.article .date {
  color: #F1752C;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 15px;
  display: inline-block;
  position: relative;
  padding-left: 15px;
}

.article .date::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background-color: #F1752C;
  border-radius: 50%;
}

/* Article title */
.article h2 {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 25px;
  color: #222;
  position: relative;
  padding-bottom: 15px;
}

.article h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background-color: #F1752C;
  border-radius: 2px;
}

/* Article content styling */
.article .content p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  color: #444;
}

.article .content h3 {
  font-size: 1.6rem;
  margin: 30px 0 15px;
  color: #333;
}

.article .content h4 {
  font-size: 1.3rem;
  margin: 25px 0 15px;
  color: #333;
}

.article .content ul, 
.article .content ol {
  margin: 20px 0;
  padding-left: 25px;
}

.article .content li {
  margin-bottom: 10px;
}

.article .content a {
  color: #F1752C;
  font-weight: 500;
  border-bottom: 1px solid transparent;
}

.article .content a:hover {
  border-bottom-color: #F1752C;
}

.article .content blockquote {
  border-left: 4px solid #F1752C;
  padding: 15px 20px;
  margin: 25px 0;
  background-color: #f9f9f9;
  font-style: italic;
  color: #555;
}

/* Next article button */
.next-article {
  padding: 0 40px 40px;
  text-align: right;
}

.next-article .btn {
  background-color: #264cc7;
  color: white;
  border: none;
  padding: 12px 25px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(241, 117, 44, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.next-article .btn:hover {
  background-color: #1aa1e0;
  box-shadow: 0 8px 20px rgba(241, 117, 44, 0.5);
  transform: translateY(-3px);
}

.next-article .btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(241, 117, 44, 0.3);
}

/* Recent posts section */
.recent-posts {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  position: sticky;
  top: 20px;
  align-self: start;
}

.recent-posts h4 {
  color: #333;
  font-size: 1.4rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #F1752C;
  position: relative;
}

.recent-posts-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Recent post item */
.recent-posts .item {
  transition: all 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #eee;
}

.recent-posts .item:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(241, 117, 44, 0.15);
  border-color: #F1752C;
}

.recent-posts .item .wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
}

.recent-posts .item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
}

.recent-posts .item p {
  font-size: 0.9rem;
  font-weight: 500;
  color: #444;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.recent-posts .item:hover p {
  color: #F1752C;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .single-blog-wrapper .wrapper {
    grid-template-columns: 1fr;
  }
  
  .recent-posts {
    position: static;
    margin-top: 30px;
  }
  
  .article .main-image {
    height: 400px;
  }
  
  .article .content {
    padding: 30px;
  }
  
  .article h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .single-blog-wrapper {
    padding: 80px 0;
  }
  
  .article .main-image {
    height: 320px;
  }
  
  .article .content {
    padding: 25px;
  }
  
  .article h2 {
    font-size: 1.6rem;
  }
  
  .next-article {
    padding: 0 25px 25px;
  }
}

@media (max-width: 576px) {
  .article .main-image {
    height: 250px;
  }
  
  .article .content {
    padding: 20px;
  }
  
  .article h2 {
    font-size: 1.4rem;
  }
  
  .article .date {
    font-size: 0.9rem;
  }
  
  .next-article .btn {
    width: 100%;
    text-align: center;
  }
}