.newsHeader {
  width: 100%;
  margin: auto;
  box-sizing: border-box;
  margin-top: 250px;
  margin-bottom: 80px;
}

.newsHeader_Block {
  position: relative;
  width: 95%;
  margin: auto;
  box-sizing: border-box;
  max-width: 1010px;
  color: #000000;
}

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

.newsHeader_Header h1 {
  width: 90%;
  max-width: 800px;
  color: var(--Svart);
  font-family: "Raleway", sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin: 0;
}

.newsHeader_Button {
  text-align: end;
  margin-top: auto;
  cursor: pointer;
}

.newsHeader_Button p {
  color: var(--Svart);
  font-family: "Raleway", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.newsHeader_Button button {
  padding: 0;
  margin: 0;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

.newsHeader_Column {
  width: 100%;
  position: relative;
}

.newsHeader_Column p {
  color: var(--Svart);
  font-family: "WixMadeforText", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 0;
  border-left: 2.5px solid var(--Hjortron);
  padding: 5px 15px;
}

.newsHeader_image {
  position: relative;
  padding: 0;
  margin: 0;
  width: 100%;
}

.newsHeader_image .newsHeader_img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
}

/* Adjust for tablets */
@media (max-width: 1024px) {
  .newsHeader {
    padding-top: 50px;
    margin-top: 150px; /* Reduce top margin for tablets */
    margin-bottom: 60px; /* Reduce bottom margin */
  }

  .newsHeader_Block {
    width: 95%; /* Expand block to full width */
    padding: 0 20px; /* Add horizontal padding */
  }

  .newsHeader_Header {
    flex-direction: column; /* Stack header elements vertically */
    align-items: flex-start; /* Align items to the left */
    gap: 15px; /* Add spacing between elements */
    margin-bottom: 15px; /* Reduce bottom margin */
  }

  .newsHeader_Header h1 {
    margin-right: auto;
    font-size: 36px; /* Reduce font size for the heading */
    max-width: 100%; /* Ensure the heading adjusts to full width */
  }

  .newsHeader_Button {
    text-align: left; /* Align button text to the left */
    margin-top: 0px; /* Add some margin to separate from the header */
    margin-right: auto;
  }

  .newsHeader_Button p {
    font-size: 14px; /* Reduce font size for button text */
  }

  .newsHeader_Column p {
    font-size: 14px; /* Reduce font size for paragraphs */
    padding: 5px 10px; /* Adjust padding */
  }

  .newsHeader_image .newsHeader_img {
    max-height: 400px; /* Reduce image height for tablets */
  }
}

/* Adjust for mobile screens */
@media (max-width: 768px) {
  .newsHeader {
    margin-top: 100px; /* Further reduce top margin */
    margin-bottom: 40px; /* Further reduce bottom margin */
  }

  .newsHeader_Block {
    padding: 0 10px; /* Add smaller horizontal padding */
  }

  .newsHeader_Header {
    align-items: center; /* Center-align header elements */
    gap: 10px; /* Reduce spacing */
  }

  .newsHeader_Header h1 {
    font-size: 28px; /* Further reduce font size */
    margin-bottom: 10px; /* Add spacing below heading */
  }

  .newsHeader_Button p {
    font-size: 12px; /* Reduce font size for button text */
  }

  .newsHeader_Column p {
    font-size: 12px; /* Reduce font size for paragraphs */
    padding: 5px 8px; /* Further adjust padding */
  }

  .newsHeader_image .newsHeader_img {
    max-height: 300px; /* Further reduce image height */
  }
}
