:root {
  --slider-max-height: 40rem;
}

.block-dropdown-language .form-item {
  padding: 0;
  margin: 0;
  border: 0;
}

.home__datapoints .statistic-item {
  color: white;
}

.section-research.page--research .block-oera-content>article>.view-mode-full>.field>.field-items>.paragraph--type--text-full-width:first-child {
  padding-top: 1rem;
  margin: 0;

  @media only screen and (min-width: 1024px) {
    padding-top: 3rem;
  }
}

.section-research.page--research .block-oera-content>article>.view-mode-full>.field>.field-items>.paragraph--type--text-full-width:first-child .big-blue {
  margin: 0;
}

.topic-hub__hero {
  height: 20vh;
}

.topic-hub__hero.topic-hub__hero--minor {
  height: 20vh;
}

@media only screen and (min-width: 1024px) {
  .topic-hub__hero {
    height: 50vh;
  }

  .topic-hub__hero.topic-hub__hero--minor {
    height: 30vh;
  }
}



@media only screen and (max-width: 640px) {

  /* careful */

  .topic-hub__section-nav .field-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .topic-feed__item {
    grid-template-columns: 1fr;
  }
}

@media only screen and (max-width: 560px) {

  /* careful */
  .topic-hub__title-box {
    width: 100%;
  }

  .topic-hub__section-nav .field-items {
    display: grid;
    grid-template-columns: 1fr;
  }
}

.topic-hub__section-nav .field-items {
  margin-bottom: 5rem;
}

.topic-hub__feed .views-element-container>div .views-infinite-scroll-content-wrapper {
  grid-template-columns: 1fr !important;
}

@media only screen and (min-width:64em) {
  .topic-hub__feed .views-element-container>div .views-infinite-scroll-content-wrapper,
  .paragraph--type--content-feed .views-element-container > div {
    display: grid;
    grid-template-columns: 1fr 1fr !important;
  }
}

.topic-hub__feed .views-element-container>div .views-infinite-scroll-content-wrapper {
  position: relative;
}

.topic-hub__feed .views-element-container>div .views-infinite-scroll-content-wrapper .views-row::before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: #cdcdcd;
  margin-top: -2rem;
}

.topic-feed__item img {
  width: 100%;
}

.topic-feed__default-image {
  background: url(/themes/custom/oera/images/nza-default-thumb.png) no-repeat center center / contain transparent;
}

.topic-feed__item h2 {
  font-size: 1.5rem;
}

.field-node--field-link {
  margin: 2rem 0;
}

.field-node--field-link a {
  align-items: center;
  display: flex;
  font-size: 1.5rem;
}

.field-node--field-link a:hover {
  text-decoration: underline;
}

.field-node--field-link a::before {
  content: '';
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  background: url(/themes/custom/oera/images/link.svg) no-repeat center center / contain transparent;
  margin-right: 1rem;
}

.field--type-color-field-type label {
  display: block;
  font-size: 2rem;
  font-weight: 600;
  margin-top: 2.5rem;
}

.field--type-color-field-type [type='text'] {
  width: 6rem;
}

.home-slider {
  border-radius: 3rem;
  border-top-right-radius: 0;
  border-radius: 0;
  overflow: hidden;
}

.home-slider .auto-slider {
  margin: 0;
  padding-bottom: 2rem;
}

.home-slider .row {
  width: 100%;
}

.home-slider .slick-track {
  align-items: flex-end;
  display: flex;
}

.home-slider .slick-slide {
  align-items: center;
  /* background: blue; */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin: 0;
}


.home-slider .field-media--field-media-image {
  /* aspect-ratio: 1/0.37142857; */
  max-height: var(--slider-max-height);
  overflow: hidden;
}

.home-slider .field-media--field-media-image img {
  max-height: var(--slider-max-height);
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.home-slider .slide__meta {
  background: rgb(0, 79, 110, .55);
  color: white;
  padding: 2rem 4rem 4rem 2rem;
  position: relative;
  width: 100%;
}

.home-slider h2 {
  font-size: 2rem;
  font-weight: 100;
  line-height: 1.1;
  margin: 0 0 .5rem 0;
  opacity: 0;
  text-wrap: balance;
  transition: transform 750ms ease, opacity 750ms ease;
  transition-delay: 0.5s;
  transform: translateX(-1rem);
}

.home-slider h3 {
  line-height: 1.2;
  font-size: 1.25rem;
  letter-spacing: .05em;
  margin: 0;
  opacity: 0;
  text-wrap: balance;
  transition: transform 750ms ease, opacity 750ms ease;
  transition-delay: 0.65s;
  transform: translateX(-1rem);
}

.home-slider .slide__cta {
  opacity: 0;
  transition: transform 750ms ease, opacity 750ms ease;
  transition-delay: 0.75s;
  transform: translateX(-1rem);
}

.home-slider .slide__cta a {
  background: rgb(0, 79, 110, 1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 1rem;
  border-top-right-radius: 0;
  color: white;
  display: inline-block;
  padding: .75rem 1.25rem 1rem;
  font-size: 1.25rem;
  line-height: 1;
  margin-top: 1rem;
  transition: opacity 250ms;
}

.home-slider .slide__cta a:hover {
  opacity: .85 !important;
}

.home-slider .slick-active h2,
.home-slider .slick-active h3,
.home-slider .slick-active .slide__cta {
  opacity: 1;
  transform: translateX(0)
}

.home-slider .slick-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}

.home-slider .slick-arrow {
  display: none !important;
  height: 3.75rem;
  width: 1rem;
}

.editor-button__home-slider {
  padding: 2rem 0 0 4rem;
  position: absolute;
  z-index: 10;
}

.role-editor .editor-button__home-slider,
.role-administrator .editor-button__home-slider {
  display: block !important;
}

.home-latest__item-News img {
  border-radius: 2rem;
  border-top-right-radius: 0;
  margin-bottom: 1rem;
}

.home-latest__wrapper {
  margin-top: 3rem;
}

@media only screen and (max-width: 899px) {

  /*careful!*/
  .home-slider .row {
    margin: 0;
    padding: 0;
  }

}

@media only screen and (min-width: 900px) {
  .home-slider .slick-slide {
    aspect-ratio: 1/0.37142857;
    flex-direction: row;
    max-height: var(--slider-max-height);
  }

  .home-slider .field-media--field-media-image {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
  }

  .home-slider .slide__meta {
    border-radius: 2.5rem;
    border-top-right-radius: 0;
    /* margin-left: 2rem; */
    min-width: 25rem;
    padding: 2rem 4rem 2rem 2rem;
    width: 38.2%;
    width: 33.3333333333%;
  }

  .home-slider .slide__cta a {
    margin-top: 2rem;
  }

  .home-slider .slick-arrow {
    display: inline-block !important;
    height: 3.75rem;
    width: 2.75rem;
  }
}

@media only screen and (min-width: 64em) {
  .home-slider .slide__meta {
    /* margin-left: 4rem; */
  }

  .home-slider .slick-arrow {
    width: 1.5rem;
  }
}

@media only screen and (min-width: 1600px) {
  .home-slider h2 {
    font-size: 3.5rem;
  }
}

@media only screen and (min-width: 1680px) {
  .home-slider .slick-arrow {
    width: 2.75rem;
  }
}

.auto-slider {
  display: none;
}

.auto-slider.slick-initialized {
  display: block;
}

@media (min-width: 640px) {
  .image--small .field-name-field-image {
    display: flex;
    justify-content: center;
  }

  .image--small img {
    max-height: 80vh;
    max-width: 50%;
    text-align: center;
    width: auto;
  }
}

.collapsiblockTitle button {
  padding: 0;
}

.block-facets .block-title {
    border-top: 1px solid #fff;
}

.block-facets .facets-checkbox {
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: 0;
}

.block-facets ul li {
  padding-left: 1.5rem;
}
