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

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

.changelogdesc1 {
  overflow-wrap: break-word;
  word-break: break-word;
  max-height: 32ch;
  max-width: 100%;
  overflow: hidden;
  color: #000000;
}

.changelogdesc1,
.changelogdesc1,.changelogdesc2,.changelogdesc3 > * {
  -webkit-mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
}

.smallerchangelogs {
  display: flex; 
  flex-direction: row; 
  justify-content: center;
  align-items: stretch;
  gap: clamp(10px, 1.2vw, 20px); 
  width: auto;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  height: auto; 
  min-height: max-content;
}

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

.changelogdesc2, .changelogdesc3 {
  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);
  color: #000000; 
  max-width: 100%;
}

.changelogtitle1 { font-size: clamp(1.3rem, 2vw, 2.2rem); margin: 0 0 5px 0; color: #000000; }
.changelogtitle2, .changelogtitle3 { font-size: clamp(1rem, 1.5vw, 1.4rem); margin: 0 0 5px 0; color: #000000; }
.changelogdate1, .changelogdate2, .changelogdate3 { opacity: 0.8; margin-bottom: 10px; color: #000000; font-size: 0.9rem; }

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

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

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

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

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