* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
    padding: 20px;
} */

header {
    background: #ffffff;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

nav a {
    margin: 0 15px;
    font-size: 16px;
    color: #555;
    text-decoration: none;
    font-weight: 500;
}

nav a:hover {
    color: #000;
}

.social-icons a {
    margin: 0 10px;
    color: #777;
    font-size: 16px;
    text-decoration: none;
}

.header-content {
    text-align: center;
    padding: 40px 0;
}

.header-content h1 {
    font-size: 36px;
    font-weight: bold;
    color: #222;
    margin-bottom: 10px;
}

.header-content p {
    font-size: 18px;
    color: #555;
    margin-bottom: 20px;
}

.header-content input {
    padding: 12px 15px;
    width: 80%;
    max-width: 600px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.featured-post {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 40px auto;
}

.featured-post img {
    width: 45%;
    border-radius: 10px;
}

.featured-content {
    width: 50%;
    padding-left: 20px;
}

.featured-content h2 {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.featured-content p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #555;
}

.btn {
    /* background: #007BFF; */
    color: #007BFF;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #0056b3;
}

.container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-posts {
    flex: 2;
    padding-right: 20px;
}

.post {
    background: #ffffff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease; /* Smooth transition */

}

.post:hover {
    text-decoration: underline; /* Add underline on hover for all content */
    cursor: pointer;
}

.post img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.post-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    transition: all 0.3s ease; /* Smooth transition */
}

.post-content a {
    font-size: 22px;
    color: #007BFF;
    text-decoration: none;
}

.post-meta {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
    transition: all 0.3s ease; /* Smooth transition */
}


.sidebar {
    flex: 1;
    padding-left: 20px;
}

.widget {
    background: #ffffff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .widget ul li {
    margin-top: 10px;
    margin-bottom: 10px;
  }
  
  .widget ul li a {
    font-size: 1.1em;
    /* color: #007BFF; */
    text-decoration: none;
    transition: color 0.3s ease, border-left 0.3s ease;
    padding-left: 5px;
    border-left: 3px solid transparent;
  }
  
  .widget ul li a:hover {
    color: #030303;
    border-left: 3px solid #85b787; /* Left border on hover */
    padding-left: 10px; /* Smooth padding transition on hover */
    text-decoration: underline;
  }
  K
.widget h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.tags a {
    display: inline-block;
    padding: 8px 12px;
    background: #85b787;
    color: #fff;
    margin: 5px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
}

footer {
    /* background: #f8f8f8;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    color: #777;
    margin-top: 40px; */
}

.footer-nav a {
    margin: 0 10px;
    text-decoration: none;
    color: #777;
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
    }

    .featured-post {
        flex-direction: column;
    }

    .featured-post img {
        width: 100%;
        margin-bottom: 20px;
    }

    .featured-content {
        padding: 0;
    }

    .container {
        flex-direction: column;
    }

    .blog-posts, .sidebar {
        padding: 0;
    }
}

