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

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

.sNAT_header {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 20px;
}
.sNAT_LeftColumn h2,
.sNAT_RightColumn h2 {
  font-family: Anton;
  font-size: 36px;
  font-style: normal;
  font-weight: 400;
  line-height: 44px; /* 122.222% */
  margin: 0;
  text-align: left;
  text-transform: uppercase;
}



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

.sNAT_RightColumn{
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  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>');
}

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

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

.table-container thead tr:first-child {
  display: none;
}

.table-container thead tr th {
  font-family: Oswald !important;
  font-size: 18px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: normal !important;
  letter-spacing: 0.36px !important;
  padding-bottom: 30px !important;
}
.table-container tbody td,
.table-container tbody td a {
  color: var(--Hittarp-svart) !important;
  font-family: "Glacial Indifference" !important;
  font-size: 14px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 38px !important;
  vertical-align: middle !important;
}
.table-container tfoot td{
  text-align: left !important;
}
.table-container tfoot td a {
  font-family: Oswald !important;
  font-size: 14px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: normal !important;
  letter-spacing: 0.7px !important;
  text-align: left !important;
}

.table-container tfoot td a::after{
  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="M1 1L5 5.5L1 10" stroke="%23FF1500"/><path d="M6 1L10 5.5L6 10" stroke="%23FF1500"/></svg>') !important;
  padding-left: 5px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .sNAT_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;
  }

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

@media (max-width: 900px) {
  .sNAT {
    margin-top: 50px;
  }
  .schedule-container {
    margin-top: 20px;
  }
  .sNAT_Block {
    grid-template-columns: 1fr;
  }

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

  .sNAT_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) {
  .sNAT_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%;
  }
  .table-container {
    padding: 0;
  }
}

@media (max-width: 480px) {
  .sNAT {
    margin-top: 10px; /* Adjust margin-top */
    padding-bottom: 20px; /* Adjust padding-bottom */
  }

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

  .sNAT_Block button {
    font-size: 14px; /* Adjust button font size */
    padding: 10px 20px; /* Adjust padding for buttons */
  }
  .table-container{
    border: unset;
  }
  .table-container tbody td,
.table-container tbody td a {
  padding: 0 !important;
}
}
