.content-type-homepage main > .layout-content {
  padding-block-end: 0;
}

.content-type-homepage .field__field-ersc-dynamic-content > div:last-child .paragraph:last-child {
  margin-block-end: 0;
}


.content-type-home-page .view-events .views-row {
  background-color:var(--color-ec-grey-5);
}

.content-type-home-page .view-events .views-row > div {
  align-items: center;
}

.content-type-home-page .view-events .views-row .ecl-col-m-4 {
  text-align: center;
}

.content-type-home-page .view-events .ecl-date-block {
  margin: 0 0 1em 0;
}


.content-type-home-page .view-resources .views-row {
  padding: 0;
  background-color:var(--color-ec-grey-5);

}


.homepage-button--link {
  background-color:#ffd617;
  padding: 0.5em;
  display: inline-block;
  margin-bottom: 1em
}

.homepage-button--link:hover {background-color: #f8ae21; }
.homepage-button--link a { color: black; text-decoration: none; font-weight: bold; }
.homepage-button--link a:focus {
  outline: 0;
  outline-offset: 0;
}

.homepage-events--title {
  font-weight: bold;
  margin-bottom: 1em;
}

.homepage-resources--title {
  min-height: 7em;
}

.homepage-resources--date {
  margin: 1em 0;
}

.homepage-resources--title {
  font-weight: bold;
  margin-bottom: 1em;
}

.homepage-news--date{
  margin: 0.5em 0;
}

.homepage-news--title {
  font-weight: bold;
  margin-bottom: 0.5em;
}

.homepage-news--teaser{
  margin-bottom: 1em;
}

.content-type-home-page .view-news .views-row {
  position: relative;
  padding-bottom: 4em;
}

.homepage-button__end {
  position: absolute;
  bottom: 0;
}



.content-type-home-page .tns-slider {
  align-items: stretch;
  display: flex;
}

.tns-nav > [aria-controls] {
    width: 9px;
    height: 9px;
    padding: 0;
    margin: 0 5px;
    border-radius: 50%;
    background: #ddd;
    border: 0;
    transition: background 0.3s ease;
}

.tns-nav .tns-nav-active {
    background: var(--color-ec-blue-75);
    width: 15px;
    height: 15px;
}

.tns-controls {
    position: relative;
}

.tns-controls > button {
  border: none;
  cursor: pointer;
  font-size: 0;
  background: none;
}

.tns-controls > button::before {
  font-size: 18px;
  height: 32px;
  width: 32px;
  background: var(--color-ec-blue-75);
  border-radius: 50%;
  text-align: center;
  line-height: 32px;
  font-weight: bold;
  color: white;
  display: inline-block;
  vertical-align: middle;
  position: absolute;
  top: -2.5em;
}

.tns-controls [data-controls="prev"]::before {
  content: "<";
  margin-right: 0.5em;
  left: 1%
}

.tns-controls [data-controls="next"]::before {
  content: ">";
  margin-left: 0.5em;
  right: 1%;
}

.tns-controls , .tns-nav{
    text-align: center;
    margin-bottom: 1em;
}

.tns-ovh { margin-bottom: 1.5em; }

.tns-outer button[data-action="stop"], .tns-outer button[data-action="start"] { display: none; }