.views-element-container {
  position: relative;
  padding: 25vw clamp(40px, 5vw, 75px) 70px clamp(40px, 5vw, 75px);
}

.wrapper-top {
  width: 100vw;
  height: 40vh;
  background: linear-gradient(135deg, rgba(87,195,197,1) 0%, rgba(101,158,196,1) 50%, rgba(111,138,195,1) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20vh;
  color: #ffffff;
  text-align: center;
}

.region-footer {
background: linear-gradient(135deg, rgba(87,195,197,1) 0%, rgba(101,158,196,1) 50%, rgba(111,138,195,1) 100%);
}


.contact-image {
 width: 100vw;
}

.view-dissemination-material.view-id-dissemination_material {
  position: relative;
}

.view-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* row-gap: 3vw; */
  column-gap: 4vw;
}

.node--type-dissemination-material {
  overflow: hidden;
 background: linear-gradient(135deg, rgba(87,195,197,1) 0%, rgba(101,158,196,1) 50%, rgba(111,138,195,1) 100%);
  border-radius: 25px;
  color: white;
  position: relative;
  padding: 30px;
  max-width: 550px;
  min-width: 320px;
  height: 100%;
  display: flex;
  flex-direction: column;
  /*justify-content: space-between;*/
}

.node__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.top-content {
     display: flex;
    flex-direction: column;
    /*justify-content: space-between;*/
}

.field--name-title {
  margin-bottom: 10px;
  font-size: 28px;
  line-height: 34px;
  color: white;
}

.field--name-field-dissemination-images {
  width: 100%;
  overflow: hidden;
  border-radius: 13px;
  margin-bottom: 25px;
}

.field--name-field-dissemination-images img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
}

.field--name-field-dissemination-description {
  margin-top: 10px;
  opacity: 0.7;
  font-size: 14px;
}

.field--name-field-dissemination-tag {
  margin-bottom: 6px;
  opacity: 0.7;
  font-size: 14px;
}

.view-filters {
  position: absolute;
  top: -80px;
  right: 0;
}

.form--inline {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  float: right;
}

.form-type-select {
  margin-right: 50px;
}

.js-form-item-field-dissemination-tag-value {
  position: relative;
}

.js-form-item-field-dissemination-tag-value label {
  padding: 0 125px 4px 8px;
  border-bottom: 1px solid var(--color-background-alternative);
  color: var(--color-background-alternative);
  cursor: pointer;
}

#edit-field-dissemination-tag-value {
  position: absolute;
  top: 40px;
  left: 0px;
  border: none;
  padding: 15px;
  border-radius: 15px;
  font-size: 18px!important;
  color: var(--color-background-alternative);
  width: 100%;
  outline: none;
}

#edit-field-dissemination-tag-value option {
  padding: 10px 0;
}

.last-row {
    width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
}


.file-link {
  padding: 20px;
  border-radius: 50px;
  border: 1px solid white;
  width: fit-content;
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


.field--name-field-dissemination-tag {
  padding: 20px;
  border-radius: 50px;
  width: fit-content;
  background-color: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


.filters-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 4vw;
    margin-bottom: 30px;
}

.filter-wrapper {
    display: flex;
    flex-direction: column;
    gap: 5px;
    position: relative;
    z-index: 3;
}

.filter-heading {
    position: relative;
    font-size: 20px;
    outline: none;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    padding: 0px 20px 5px 20px;
    color: rgba(0, 0, 0, 0.6);
    /* border-bottom: 1px solid linear-gradient(135deg, rgba(87,195,197,1) 0%, rgba(101,158,196,1) 50%, rgba(111,138,195,1) 100%); */
}

.filter-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px; /* Border thickness */
    background: linear-gradient(135deg, rgba(87,195,197,1) 0%, rgba(101,158,196,1) 50%, rgba(111,138,195,1) 100%);
    border-bottom-left-radius: 10px; /* Match parent's border-radius */
    border-bottom-right-radius: 10px;
}

.filter-choices-wrapper {
    position: absolute;
    width: 100%;
    left: 0;
    top: 40px;
    list-style: none;
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 15px;
    display: none;
    flex-direction: column;
    padding: 0px;
    overflow: hidden;
}

.filter-choices-wrapper.is-open {
    display: flex;
}

.filter-choice {
    cursor: pointer;
    padding: 25px 20px 15px 20px;
    color: white;
}

.filter-choice:last-of-type {
   padding-bottom: 25px;
}

.filter-choice:hover {
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--color-text-highlight);
}

.filter-choice.selected {
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--color-text-highlight);
}


@media only screen and (max-width: 1620px) {
  .view-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 4vw;
    column-gap: 4vw;
  }
}

@media only screen and (max-width: 1190px) {
  .view-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 4vw;
    column-gap: 4vw;
  }
}

@media only screen and (max-width: 750px) {
  .view-content {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    row-gap: 4vw;
    column-gap: 4vw;
  }
  .contact-image {
    width: 120vw;
  }
  .view-content {
    margin-top: 80px;
  }
}

@media only screen and (max-width: 480px) {
  .contact-image {
    width: 140vw;
   }
   .h1 {
    margin-bottom: 4vh;
  }
}

main {
  padding: 0!important;
}
