<style>
   .blog-category {
  font-family: 'Arial', sans-serif;
  font-size: 16px;
  color: #555;
  margin: 10px 0;
  padding: 5px 10px;
  background-color: #f1f1f1;
  border-radius: 5px;
  display: inline-block;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.blog-category strong {
  font-weight: bold;
  color: #333;
}

.category-name {
  color: #28a745; /* Green color for the category */
  font-weight: normal;
}

.blog-category:hover {
  background-color: #e2e2e2;
  cursor: pointer;
}

    /* General Blog Container Styling */
    .blog-container {
        max-width: 1000px;
        margin: 0 auto;
        padding: 20px;
        background: #f9f9f9;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        overflow: hidden;
    }

    /* Blog Header */
    .blog-header h1 {
        font-size: 2.5em;
        font-weight: bold;
        color: #2c3e50;
        margin-bottom: 10px;
    }

    .published-date,
    .author-name {
        font-size: 0.9em;
        color: #7f8c8d;
        margin: 5px 0;
    }

    /* Blog Image */
    .blog-image img {
        width: 100%;
        height: auto;
        border-radius: 10px;
        margin: 20px 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    /* Blog Content */
    .blog-content {
        font-size: 1.1em;
        /* Set base font size */
        line-height: 1.8;
        /* Improve readability with adequate line spacing */
        color: #34495e;
        /* Set text color */
        padding: 20px;
        /* Add padding for spacing */
    }

    .blog-content p {
        margin-bottom: 15px;
    }

    /* Blog Content - Headings */
    .blog-content h2,
    .blog-content h3 {
        margin-top: 20px;
        /* Add margin to the top of the headings */
        font-weight: bold;
        color: #2c3e50;
        /* Set heading color */
    }

    .blog-content a {
        color: #3498db;
        text-decoration: none;
        font-weight: bold;
        transition: color 0.3s;
    }

    .blog-content a:hover {
        color: #1abc9c;
    }

    /* Responsive Design */
    @media (max-width: 768px) {
        .blog-content {
            font-size: 1em;
            /* Reduce font size for smaller screens */
            padding: 15px;
            /* Reduce padding on smaller screens */
        }

        .blog-header h1 {
            font-size: 2em;
            /* Adjust the font size for the header */
        }
    }

    @media (max-width: 480px) {
        .blog-header h1 {
            font-size: 1.8em;
        }

        .blog-content {
            font-size: 0.95em;
        }
    }
 
    /* Suggested Blogs Container */
    .suggested-blogs-container {
        margin-top: 50px;
        text-align: center;
        padding: 0 15px;
    }

    .suggested-blogs h3 {
        font-size: 1.8em;
        margin-bottom: 20px;
        color: #333;
    }

    /* Responsive Grid for Suggested Blogs */
    .suggested-blogs {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        /* Dynamic layout */
        gap: 20px;
        margin: 0 auto;
        max-width: 1200px;
    }

    /* Individual Blog Card */
    .suggested-blog-card {
        display: flex;
        flex-direction: column;
        /* Default column layout */
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s, box-shadow 0.3s;
    }

    .suggested-blog-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    }

    /* Blog Image */
    .suggested-blog-image img {
        width: 100%;
        height: 150px;
        object-fit: cover;
    }

    /* Blog Content */
    .suggested-blog-content {
        padding: 15px;
    }

    .suggested-blog-content h4 {
        font-size: 1.2em;
        margin-bottom: 10px;
    }

    .suggested-blog-content h4 a {
        color: #007BFF;
        text-decoration: none;
        transition: color 0.3s;
    }

    .suggested-blog-content h4 a:hover {
        color: #0056b3;
        text-decoration: underline;
    }

    .suggested-blog-content p {
        font-size: 0.95em;
        color: #666;
    }

    /* Portrait Orientation for Phones */
    @media (max-width: 480px) {
        .suggested-blogs {
            display: flex;
            flex-direction: column;
            /* Switch to vertical layout */
        }

        .suggested-blog-card {
            display: flex;
            flex-direction: row;
            /* Set horizontal layout for each card */
            gap: 10px;
            align-items: center;
        }

        .suggested-blog-image img {
            width: 100px;
            /* Smaller image size */
            height: 100px;
        }

        .suggested-blog-content {
            padding: 10px;
            text-align: left;
        }

        .suggested-blog-content h4 {
            font-size: 1em;
        }

        .suggested-blog-content p {
            font-size: 0.85em;
            color: #777;
        }
    }
