/* Blog Post Styling */
.blog-container {
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

/* Top-level CSS to center single post container */
.single-post-container {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.entry-header {
  position: relative;
  padding: 2.5rem 0;
  margin-bottom: 3rem;
  text-align: center;
  overflow: hidden;
}

/* Add subtle gradient underline effect */
.entry-header:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1) 20%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.1) 80%, transparent);
}

/* Modern title styling */
.single-post-title {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  transition: transform 0.3s ease;
}

/* Hover effect for title */
.single-post-title:hover {
  transform: translateY(-2px);
}

/* Stylish meta information */
.single-post-meta {
  font-size: 0.9rem;
  color: #555;
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  background-color: rgba(0,0,0,0.03);
  backdrop-filter: blur(5px);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

/* Category link styling */
.single-post-meta a {
  color: #0066cc;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease;
}

/* Animated underline for links */
.single-post-meta a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: #0066cc;
  transition: width 0.3s ease;
}

.single-post-meta a:hover {
  color: #004c99;
}

.single-post-meta a:hover:after {
  width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .entry-header {
    padding: 1.5rem 0;
  }
  
  .single-post-title {
    font-size: 2rem;
  }
}

/* Blog post list */
.post-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Individual post card */
.post-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: none;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Featured image */
.post-thumbnail {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #4b4b80; /* Fallback color similar to your purple placeholder */
    position: relative;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    display: block; /* Ensure proper display */
}

.post-thumbnail .placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
}

/* Fix for WordPress default image styling */
.wp-post-image {
    max-width: 100% !important;
    height: auto !important;
}

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

/* Post content */
.post-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border: none;
    box-shadow: none;
}

.post-date {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

.post-title {
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
    background: transparent;
    border: none;
    box-shadow: none;
    outline: none;
}

.post-title a:hover,
.post-title a:focus {
    color: #555;
    background: transparent;
    border: none;
    box-shadow: none;
    outline: none;
}

.post-excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.read-more {
    margin-top: auto;
    display: inline-block;
    color: #555;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 0;
    position: relative;
    background: transparent;
    border: none;
    box-shadow: none;
}

.read-more:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #555;
    bottom: 6px;
    left: 0;
    transition: width 0.3s;
}

.read-more:hover:after {
    width: 100%;
}

.read-more:hover,
.read-more:focus {
    background: transparent;
    color: #444;
    box-shadow: none;
    outline: none;
}

/* Pagination styling */
.pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 3px;
    border-radius: 4px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}

.page-numbers.current {
    background: #555;
    color: white;
}

.page-numbers:hover:not(.current) {
    background: #e5e5e5;
}




/* Mobile responsiveness */
@media (max-width: 768px) {
    .post-list {
        grid-template-columns: 1fr;
    }
    
    .single-post-title {
        font-size: 26px;
    }
    
    .single-post-content {
        font-size: 16px;
    }
}

/* No posts found */
.no-posts {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

/* Blog header */
.blog-header {
    text-align: center;
    margin-bottom: 40px;
}

.blog-title {
    font-size: 36px;
    color: #222;
    margin-bottom: 15px;
}

.blog-description {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Comments styling */
.comments-area {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.comments-title {
    font-size: 24px;
    margin-bottom: 30px;
    color: #333;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-list ol {
    list-style: none;
    padding-left: 40px;
}

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

.comment-meta {
    margin-bottom: 15px;
}

.comment-author {
    display: flex;
    align-items: center;
    font-weight: 600;
    margin-bottom: 5px;
}

.comment-author .avatar {
    margin-right: 10px;
    border-radius: 50%;
}

.comment-metadata {
    font-size: 14px;
    color: #777;
}

.comment-metadata a {
    color: #777;
    text-decoration: none;
}

.comment-content {
    margin-bottom: 10px;
    line-height: 1.6;
}

.reply {
    font-size: 14px;
}

.reply a {
    color: #555;
    text-decoration: none;
    font-weight: 600;
}

.comment-respond {
    margin-top: 40px;
}

.comment-reply-title {
    font-size: 22px;
    margin-bottom: 20px;
}

.comment-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 16px;
}

.comment-form textarea {
    height: 150px;
}

.comment-form input[type="submit"] {
    background: #555;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.comment-form input[type="submit"]:hover {
    background: #444;
}

.no-comments {
    font-style: italic;
    color: #777;
    margin-top: 20px;
}





.post-title {

  position: relative;


  text-align: left;

  padding: 2px 0 5px;

  z-index: 2;

}



.post-title:before{

  position: absolute;

  left: 0;

  top: 0;

  height: 100%;

  width: 100%;

 
  opacity: .80;

}



.post-title h2{

  position:relative;

  display: block;

  font-size:32px;

  color:#ffffff;

  line-height: 1.2em;

  font-weight: 600;

  margin-bottom: 90px;

}



.post-title .post-info {

    position: relative;

    display: flex;

    z-index: 1;

    align-items: center;

    justify-content: center;

}



.post-title .post-info li{

  position: relative;

  font-size: 14px;

  color: #ffffff;

  font-weight: 400;

  margin: 0 15px 15px;

}



.post-title .post-info li.cat{

  color: #ffa737;

}



.post-title .post-info .theme-btn{

    border-radius: 50px;

    min-width: 140px;

    padding: 5px 30px;

    font-weight: 400;

    background: none;

    border-color: rgba(255,255,255,.20);

}



.post-title .post-info .theme-btn span{

    margin: 0;

    font-size: 18px;

    margin-right: 10px;

}



.post-title .theme-btn:hover{

  background: #ffffff;

}



/*** 


