{% require_css %}
<style>
  {% scope_css %}
  .simple-blog-listing-carousel-agevolazioni {
    margin-top: 40px;
  }

  .carousel-blog-card {
    aspect-ratio: 9/6;
    background-color: #263B7F;
    color: white;
    height: 280px;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .carousel-blog-card h2 {
    padding-right: 20px; /*togliere per più news*/
    font-size: 24px;
    font-weight: 700;
    color: #C8CFE6;
    margin: 0 0 10px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }

  .carousel-blog-card p {
    font-size: 14px;
    margin: 0;
    color: white;
  }

  .thumbnail-box {
    background-color: #263B7F;
    min-height: 150px;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    padding: 0;
    width: 100%;
  }

  .thumbnail-content {
    width: 100%;
  }

  /* Splide arrows style override (optional) */
  .splide__arrow {
    background: #263B7F;
    color: white;
    border: none;
  }

  .splide__pagination__page.is-active {
    background: #000;
  }

  .splide__pagination {
    bottom: -2.5em!important;
  }

  .splide__pagination__page.is-active {
    background: #263B7F!important;
}

@media (max-width: 768px){
    .carousel-blog-card {
    aspect-ratio: auto;
  }
}

  {% end_scope_css %}
</style>
{% end_require_css %}
