.region-content {
  padding: 160px 100px 0 100px;
}

.news-heading {
  max-width: 51vw;
  margin-bottom: 80px;
  white-space: normal;
}

.view-news .view-content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 3vw;
}

.view-news .views-row {
  display: contents;
}

.node--type-news {
  width: calc((100vw - 6vw - 200px) / 3);
  min-height: 0;
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(100px);
  -webkit-backdrop-filter: blur(100px);
  border-radius: 25px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.field--name-field-news-banner {
  width: 100%;
    aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}

.field--name-field-news-banner img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0%;
  left: 0%;
  object-fit: cover;
}

.node__content {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 22px 30px 30px 30px;
  gap: 18px;
}

.node-main-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
}

.field--name-title {
  font-size: 26px;
  font-weight: 400;
  line-height: 1.0769;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
}

.node__submitted {
  font-size: 16px;
  line-height: 1.125;
  opacity: 0.65;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.node--view-mode-teaser .field--name-body,
.node--view-mode-teaser .field--name-body p {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  line-height: 1.125;
  margin: 0;
}

.node__links {
  margin-top: 0;
  align-self: flex-end;
}

.field--name-field-type, .field--name-field-project, .field--name-field-topic {
  display: none;
}

.filters {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 60px;
  gap: 50px;
}

.filter {
  width: 100%;
  position: relative;
  z-index: 2;
}

.filter-header {
  padding: 10px 20px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--color-text-main);
  cursor: pointer;
}

.filter-title {
  font-size: 24px;
  line-height: 1.0833;
}

.arrow-down {
  width: 24px;
  height: 24px;
}

.filter-options {
  display: none;
  width: 100%;
  position: absolute;
  left: 0;
  top: 50px;
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(100px);
  -webkit-backdrop-filter: blur(100px);
  border-radius: 20px;
  overflow: scroll;
  max-height: 40vh;
  z-index: 3;
}

.filter-option {
  font-size: 24px;
  line-height: 1;
  padding: 20px 20px;
  cursor: pointer;
}

/* .filter-option:hover {
  background-color: rgba(255, 255, 255, 0.5);
} */

.no-news-disclaimer {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(100px);
  -webkit-backdrop-filter: blur(100px);
  border-radius: 20px;
  padding: 40px;
  font-size: 20px;
  display: none;
}

.flex-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
}

.clear-filters-button {
  padding: 23px;
  border: 1px solid white;
  border-radius: 45px;
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(100px);
  -webkit-backdrop-filter: blur(100px);
}

.read-more-link {
  padding: 23px;
  border: 1px solid white;
  border-radius: 45px;
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(100px);
  -webkit-backdrop-filter: blur(100px);
  display: inline-block;
}

.js-pager__items {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 20px;
    margin-top: 40px;
    font-size: 24px;
    align-items: center;
}

.pager__item--next, .pager__item--previous {
    width: 50px;
    height: 50px;
    border: 1px solid var(--color-text-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.pager {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 20px;
  align-items: center;
  margin-top: 30px;
}

.news-custom-pager-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.news-custom-pager-button {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0 6px;
  min-width: auto;
  height: auto;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: var(--color-text-main);
}

.news-custom-pager-button.is-active {
  width: 46px;
  height: 46px;
  border: 1px solid white;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(100px);
  -webkit-backdrop-filter: blur(100px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-main);
}

.news-custom-pager-ellipsis {
  font-size: 20px;
  line-height: 1;
  padding: 0 2px;
}

.news-custom-pager-nav {
  border: 1px solid white;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(100px);
  -webkit-backdrop-filter: blur(100px);
  padding: 10px 18px;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.news-custom-pager-nav[disabled] {
  opacity: 0.45;
  cursor: default;
}

.project-span {
  font-size: 18px;
  line-height: 1.1111;
  color: #BBA2CD;
  margin-bottom: 5px;
}

@media only screen and (max-width: 1024px) {
  .view-news .view-content {
   justify-content: space-between;
  }
  .filters {
    gap: 30px;
  }
  .filter-header {
    padding: 8px 15px;
  }
  .filter-title {
    font-size: 18px;
    line-height: 1.1111;
  }
  .arrow-down {
    width: 18px;
    height: 18px;
  }
   .node--type-news {
      width: calc((100vw - 6vw - 200px) / 2);
    }
}

@media only screen and (max-width: 769px) {
  .region-content {
    padding: 160px 60px 0 60px;
  }
  .filters {
    flex-wrap: wrap;
  }
  .node--type-news {
    width: calc(100vw - 120px);
  }
}

@media only screen and (max-width: 480px) {
  .region-content {
    padding: 160px 40px 0 40px;
  }
  .flex-row {
    flex-direction: column;
    margin-bottom: 30px;
  }
  .news-heading {
    max-width: 100%;
    margin-bottom: 30px;
  }
  .node--type-news {
      width: calc(100vw - 80px);
      min-width: 300px;
    }
}

/* Semantic filter controls retain the existing visual design. */
.news-page-layout .filter-header,
.news-page-layout .filter-option {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  width: 100%;
}
.news-page-layout .filter-option { display: block; }
.news-page-layout .filter-header:focus-visible,
.news-page-layout .filter-option:focus-visible { outline: 2px solid currentColor; outline-offset: -2px; }


.news-heading-wrapper { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.news-page-layout form[id^="views-exposed-form-news"] .form--inline { display: flex; gap: 50px; flex-wrap: wrap; margin-bottom: 60px; }
.news-page-layout form[id^="views-exposed-form-news"] .form-item { flex: 1; min-width: 12rem; margin: 0; }
.news-page-layout form[id^="views-exposed-form-news"] label { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.news-page-layout form[id^="views-exposed-form-news"] select { width: 100%; font: inherit; font-size: 24px; line-height: 1.0833; padding: 10px 20px; background: transparent; border: 0; }
.news-page-layout .clear-filters-button { flex: 0 0 auto; }
@media (max-width: 1024px) {
  .news-page-layout form[id^="views-exposed-form-news"] .form--inline { gap: 30px; }
  .news-page-layout form[id^="views-exposed-form-news"] select { font-size: 18px; line-height: 1.1111; padding: 8px 15px; }
}
@media (max-width: 769px) { .news-page-layout form[id^="views-exposed-form-news"] .form--inline { flex-direction: column; } }
@media (max-width: 480px) { .news-heading-wrapper { flex-direction: column; margin-bottom: 30px; } }

.news-page-layout .sec-enhanced .form-actions { display: none; }
.news-page-layout .pager__items { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0; padding: 0; list-style: none; font-size: 20px; }
.news-page-layout .pager__item { margin: 0; padding: 0; }
.news-page-layout .pager__item a { display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; }
.news-page-layout .pager__item.is-active a { width: 46px; height: 46px; padding: 0; border: 1px solid white; border-radius: 50%; background: rgb(255 255 255 / 40%); }
.news-page-layout .pager__item--next, .news-page-layout .pager__item--previous { width: auto; height: auto; border: 0; }
.news-page-layout .pager__item--next a, .news-page-layout .pager__item--previous a { border: 1px solid white; border-radius: 999px; background: rgb(255 255 255 / 40%); padding: 10px 18px; font-size: 18px; }
.news-page-layout select { color: var(--color-text-main); }

/* Use the same card width and gutters as the homepage collection. */
.news-page-layout .region-content {
  padding-inline: var(--sec-page-gutter);
}
@media (max-width: 480px) {
  .view-news .view-content { gap: 25px; }
}

.news-page-layout .sec-news-dropdown .filter-header {
  border-bottom: 2px solid var(--color-text-main);
}
.news-page-layout .sec-news-dropdown .filter-options {
  display: block;
  top: calc(100% + 8px);
  overflow: auto;
}
.news-page-layout .sec-news-dropdown .filter-options[hidden] { display: none; }
.news-page-layout .sec-news-dropdown .filter-option {
  font-size: 18px;
  line-height: 1.3333;
  padding: 12px 20px;
}
.news-page-layout .sec-news-dropdown .filter-option:hover,
.news-page-layout .sec-news-dropdown .filter-option[is-active="true"] {
  background: rgb(255 255 255 / 60%);
}
