/*.container {*/
/*    max-width: 800px;*/
/*    margin: 0;*/
/*    padding: 0;*/
/*    background-color: #ffffff;*/
/*    border-radius: 12px;*/
/*    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);*/
/*    text-align: center;*/
/*}*/

/* Heading styling */
.heading h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Image styling */
.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Content styling */
.content p {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
    margin: 0;
    padding: 0 20px;
    text-align: justify;
    text-wrap: initial;
    word-wrap: break-word;
}

.blogsRow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
/* Card styling */
.blog-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column; /* Stack children vertically */
    height: auto /* Ensure the card takes full height of the container */
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: #02eeB0;
    box-shadow: 0px 10px 30px rgba(0, 0, 255, 0.5);
}

/* Image styling with consistent aspect ratio */
.blog-card img {
    width: 100%;
    height: 35vh; /* Fixed height */
    object-fit: cover; /* Maintain aspect ratio */
}

/* Blog title and description */
.blog-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0.75rem 0.75rem 0.5rem;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    line-height: 1.5;
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    max-height: calc(1.5em * 2);
    text-wrap: inherit;
}

.blog-desc p{
    font-size: 1rem;
    color: #555;
    margin: 0.75rem 0.75rem 0.75rem;
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    max-height: calc(1.5em * 3);
    flex-grow: 1;
    text-wrap: inherit;
}

.blog-desc span{
    color: #555;
}
