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

.sNAS_Block {
  position: relative;
  width: 95%;
  margin: auto;
  box-sizing: border-box;
  max-width: 1280px;
  color: #000000;
  text-align: center;
  display: grid;
  grid-template-columns: calc(100% / 2 - 25px) calc(100% / 2 - 25px);
  grid-gap: 40px;
  /* Space between columns and rows */
}

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

.sNAS_LeftColumn h2,
.sNAS_RightColumn h2 {
  font-family: Anton;
  font-size: 36px;
  font-style: normal;
  font-weight: 400;
  line-height: 44px;
  /* 122.222% */
  margin: 0;
  text-align: left;
}

.sNAS_LeftColumn {
  max-width: 1280px;
  margin: 0 auto;
  text-align: start;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.sNAS_RightColumn {
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.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 a {
  padding: 5px 15px;
  text-decoration: none;
  color: var(--Hittarp-vit);
  background-color: var(--Hittarp-red1);
  border-radius: 2px;
}

.category a:visited {
  color: var(--Hittarp-vit);
  text-decoration: none;
}

.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>');
}

.sNAS_Block button {
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.schedule-container {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--Hittarp-red1);
  border-radius: 8px;
  padding: 20px;
  background-color: var(--Hittarp-vit);
  width: 100%;
  box-sizing: border-box;
}

.schedule-container h3 {
  font-family: Oswald;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.36px;
  margin: 0;
  text-align: left;
  border-bottom: 1px solid var(--Hittarp-svart);
}

.schedule-container a {
  color: var(--Hittarp-svart);
  font-family: Oswald;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
  text-align: right;
}

.schedule-container 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>');
}

.schedule-container a:visited {
  color: var(--Hittarp-vit);
  text-decoration: none;
}

.schedule-item,
.small_headers {
  display: grid;
  justify-items: center;
  grid-template-columns: repeat(4, calc(100% / 4 - 10px));
  gap: 10px;
}

.small_headers h5 {
  font-family: Oswald;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.36px;
  margin: 0;
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: left;
}

.col {
  margin: 0;
  margin-top: 20px;
  margin-bottom: 20px;
  font-family: "Glacial Indifference";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
  text-align: left;
}

.bold {
  color: var(--Hittarp-svart);
  font-family: "Glacial Indifference";
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 18px;
}

.sNAS_text p {
  color: var(--Hittarp-svart);
  font-family: "Glacial Indifference";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
}

.text_first_button {
  color: var(--Hittarp-svart);
  font-family: Oswald;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.7px;
  text-decoration: none;
}

.text_first_button::before {
  content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="11" height="11" viewBox="0 0 11 11" fill="none"><path d="M10 1L6 5.5L10 10" stroke="%23FF1500"/><path d="M5 1L1 5.5L5 10" stroke="%23FF1500"/></svg>');
  padding-right: 5px;
}

.text_first_button:visited {
  color: var(--Hittarp-svart);
}

.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) {
  .sNAS_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;
  }

  .sNAS_LeftColumn>.news-item a,
  .sNAS_LeftColumn>.news-item h3,
  .sNAS_LeftColumn>.news-item p {
    margin-left: 10px;
  }
}

@media (max-width: 900px) {
  .sNAS {
    margin-top: 50px;
  }

  .schedule-container {
    margin-top: 20px;
  }

  .sNAS_Block {
    grid-template-columns: 1fr;
  }

  .sNAS_LeftColumn {
    order: 2;
    gap: 20px;
  }

  .unset {
    order: unset;
  }

  .sNAS_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) {
  .sNAS_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) {
  .sNAS {
    padding: unset;
    margin-top: 10px;
    /* Adjust margin-top */
    padding-bottom: 20px;
    /* Adjust padding-bottom */
  }

  .schedule-container {
    padding: unset;
    width: unset;
  }

  .schedule-item {
    grid-template-columns: 1fr 2fr 2fr 1fr;
  }

  .small_headers {
    grid-template-columns: 1fr 2fr 2fr 1fr;
  }

  .sNAS_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 */
  }

  .sNAS_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;
  }
}