.FlexBlog {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  gap: clamp(15px, 2vw, 30px); 
  box-sizing: border-box;
  padding-left: 10px;
  padding-right: 10px;
}

.mostrecentblog {
  background-image: var(--notepadbg);
  background-color: var(--banner-content-bg);
  width: 100%;
  max-width: 500px; 
  padding: clamp(10px, 1.5vw, 20px); 
  border-radius: 4px;
  box-sizing: border-box;
  overflow: hidden; 
  color: rgb(0, 0, 0);
}

.blogdesc1 {
  overflow-wrap: break-word;
  word-break: break-word;
  max-height: 32ch;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
}

.smallerblogs {
  display: flex; 
  flex-direction: row; 

  justify-content: center;
  
  gap: clamp(10px, 1.2vw, 20px); 
  width: 100%;
  max-width: 500px;
  box-sizing: border-box;
  height: auto; 
  min-height: max-content;
}

.SmallBlogBox {
  background-image: var(--notepadbg);
  background-color: var(--banner-content-bg);
  flex: 1 1 auto;
  min-width: 0;
  padding: clamp(8px, 1.2vw, 15px);
  border-radius: 4px;
  box-sizing: border-box;
  overflow: hidden;

  flex-shrink: 0; 
  height: auto;
  color: rgb(0, 0, 0);
}

.blogdesc2, .blogdesc3 {
  max-height: 12ch; 
  padding: 5px; 
  overflow: hidden; 
  text-overflow: ellipsis; 
  overflow-wrap: break-word; 
  word-break: break-word;
  font-size: clamp(0.8rem, 1.1vw, 1rem);
}

.blogtitle1 { font-size: clamp(1.3rem, 2vw, 2.2rem); margin: 0 0 5px 0;}
.blogtitle2, .blogtitle3 { font-size: clamp(1rem, 1.5vw, 1.4rem); margin: 0 0 5px 0;}
.blogdate1, .blogdate2, .blogdate3 { opacity: 0.8; margin-bottom: 10px;}

.Bloglist {
  width: 100%;
  text-align: center;
  margin-top: 15px;
}

#bloglinklist {
  list-style-position: inside;
  padding-left: 0;
  margin: 0 auto;
}

.Bloglist h1 {
  font-size: clamp(1.2rem, 1.8vw, 2rem);
}

@media (max-width: 768px), (hover: none) {
  .smallerblogs {
    flex-direction: column;
    width: 100%;
    
    height: auto;
    min-height: max-content;
    gap: 15px;
  }

    .blogdesc1 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: none;
  }
}
