.smallNewsBlock {
  width: 100%;
  margin: auto;
  margin-top: 100px;
  padding-bottom: 120px;
  box-sizing: border-box;
  position: relative;
}

.smallNewsBlock_Block {
  position: relative;
  width: 95%;
  margin: auto;
  box-sizing: border-box;
  max-width: 1280px;
  color: #000000;
  text-align: center;
}

.smallNewsBlock_header {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 20px;
}

.smallNewsBlock_header>h2 {
  font-family: Anton;
  font-size: 36px;
  font-style: normal;
  font-weight: 400;
  line-height: 44px;
  /* 122.222% */
  margin: 0;
}

.smallNewsBlock_Column {
  max-width: 1280px;
  margin: auto;
  text-align: start;
  position: relative;
  display: grid;
  grid-template-columns: calc(100% / 2 - 25px) calc(100% / 2 - 25px);
  grid-gap: 40px;
  /* Space between columns and rows */
}

.news-item {
  background-color: var(--Hittarp-vit);
  overflow: hidden;
  border-radius: 8px;
  display: grid;
  grid-template-columns: calc(45% - 20px) calc(55% - 20px);
  gap: 40px;
  height: 325px;
  position: relative;
}

.news-image img {
  width: 100%;
  /* Make the image fill the column width */
  height: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.news-text {
  padding: 20px 35px 15px 0px;
}

.date-category {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.postDate {
  border-bottom: 1px solid var(--Hittarp-red1);
}

.news-read-more {
  position: absolute;
  bottom: 15px;
}

.category {
  padding: 5px 15px;
  text-decoration: none;
  color: var(--Hittarp-vit);
  background-color: var(--Hittarp-red1);
  border-radius: 2px;
  text-transform: uppercase;
  font-family: "Glacial Indifference";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
  /* 128.571% */
  margin: 0;
}

.news-text .postTitle {
  font-family: Anton;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.48px;
  margin-top: 15px;
  margin-bottom: 10px;
}

.news-text p {
  color: var(--Hittarp-svart);
  font-family: "Glacial Indifference";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
  /* 128.571% */
  margin: 0;
}

.news-text .news-read-more a {
  color: var(--Svart, #000);
  font-family: Oswald;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.7px;
  text-align: left;
  text-decoration: none;
}

.news-text .news-read-more a::after {
  padding-left: 5px;
  content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="11" height="10" viewBox="0 0 11 10" fill="none"><path d="M1 0.5L5 5L1 9.5" stroke="%23FF1500"/><path d="M6 0.5L10 5L6 9.5" stroke="%23FF1500"/></svg>');
}

.smallNewsBlock_Block button {
  color: var(--Svart, #000);
  font-family: "Raleway", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  line-height: normal;
  text-decoration: underline;
  text-decoration-color: var(--Hjortron);
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 8;
  /* Limit amount of lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  /* Add ellipsis (...) at the end */
  align-self: stretch;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .smallNewsBlock_Column {
    grid-template-columns: 1fr 1fr;
    /* Two columns for medium screens */
    grid-template-rows: 1fr;
    grid-gap: 30px;
    /* Reduce gap for medium screens */
    grid-auto-rows: 0;
    overflow: hidden;
  }

  .news-item {
    height: unset;
    gap: 10px;
    grid-template-rows: calc(45% - 5px) calc(55% - 5px);
    grid-template-columns: unset;
    min-height: 430px;
  }

  .excerpt {
    -webkit-line-clamp: 4;
    /* Limit amount of lines */
    margin-bottom: 20px;
  }
}

@media (max-width: 900px) {
  .smallNewsBlock_header>h2 {
    font-size: 32px;
    /* Adjust font size */
  }

  .news-text .postTitle {
    font-size: 22px;
    /* Adjust title font size */
  }

  .news-read-more {
    bottom: 0px;
  }

  .news-text {
    padding-right: 10px;
  }

  .news-text p {
    font-size: 14px;
    /* Adjust paragraph font size */
  }
}

@media (max-width: 768px) {
  .smallNewsBlock_Column {
    grid-template-columns: 1fr;
    /* Single column for small screens */
    grid-template-rows: auto;
    grid-gap: 20px;
    /* Further reduce gap */
    row-gap: 40px;
    grid-auto-rows: auto;
  }

  .news-item {
    grid-template-rows: 55% 45%;
  }
}

@media (max-width: 480px) {
  .smallNewsBlock {
    padding: 10px;
    /* Reduce padding for extra small screens */
    margin-top: 10px;
    /* Adjust margin-top */
    padding-bottom: 20px;
    /* Adjust padding-bottom */
  }

  .smallNewsBlock_header>h2 {
    font-size: 20px;
    /* Further adjust font size */
  }

  .news-text .postTitle {
    font-size: 20px;
    /* Further adjust title font size */
  }

  .news-item {
    grid-template-rows: calc(45% - 5px) calc(55% - 5px);
  }

  .news-text p {
    font-size: 14px;
    /* Further adjust paragraph font size */
  }

  .smallNewsBlock_Block button {
    font-size: 14px;
    /* Adjust button font size */
    padding: 10px 20px;
    /* Adjust padding for buttons */
  }

  .excerpt {
    -webkit-line-clamp: 3;
    /* Limit amount of lines */
    margin-bottom: unset;
  }
}