.blog-header-wrapper {
  height: 100%;
  z-index: 0;
  background-image: url('../images/background_blog.jpg');
      background-repeat: no-repeat;
      background-position: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding-bottom: 3rem;
}

.blog-header-h1 {
    color: #fff;
    margin-top: 10rem;
    font-size: 3rem;
    text-align: center;
}

.blog-header-p {
        font-family: "IBM Plex Sans", sans-serif;

    text-align: center;
    color: #fff;
    margin-top: 2rem;
    font-size: 1rem;
}


.blog-wrapper {
    min-height: 32rem;
    height: 100%;
    background-color: #101012;
}

.blog-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 20px;
}

/* Styling each blog card */
.blog-card {
    display: flex;
    background-color: #161616;
    color: #ffffff;
    border-radius: 35px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
    min-height: 250px;
    height: 300px;
}

.blog-card:hover {
    transform: translateY(-5px);
}

/* Blog image styling */
.blog-card-image {
    width: 40%;
    max-height: 100%;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content inside the blog card */
.blog-card-content {
    font-family: "IBM Plex Sans", sans-serif;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
}

.blog-card-content h2 {
        font-family: "IBM Plex Sans", sans-serif;

    font-size: 24px;
    margin: 0;
}

.blog-card-content h2 a {
    color: #ffffff;
    text-decoration: none;
}

/* Excerpt with limited lines */
.excerpt {
    margin: 15px 0;
    color: #d3d3d3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.excerpt p {
    font-family: "IBM Plex Sans", sans-serif;
}

/* Footer styling for read more and date */
.blog-card-footer {
    display: flex;
    align-items: center;
    margin-top: auto;
}

/* Read More button styling */
.read-more {
        font-family: "IBM Plex Sans", sans-serif;

    background-color: #eb1000;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.read-more:hover {
    background-color: #c92f3a;
}

/* Date styling aligned to the bottom-right */
.post-date {
        font-family: "IBM Plex Sans", sans-serif;

    color: #b0b0b0;
    font-size: 14px;
    margin-left: auto; 
}