.slider-container {    
    position: relative;
}

.controls {
    margin: 0;
    padding: 0;
    list-style: none;
    position: absolute;
    left: 0;
    width: 100%;    
    top: 50%;
    transform: translatey(-50%);
    display: flex;
    align-items: center;    
    justify-content: space-between;
    li:hover {
        cursor: pointer;        
    }
}

.prev {
    left: -2rem;
    position: relative;
}
.next {
    left: 2rem;
    position: relative;
}


.card a._info {
    position: absolute;
    left: 0;
    bottom: 0;
    opacity: 0;
    background: var(--bulma-link-text);
    color: white;
    width: 100%;
    padding-top: 1.125rem;
    padding-bottom: 1.125rem;
    border-radius: 12px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    text-align: center;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.875rem;
    line-height: 1;
    transition: 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
}
.card a._info:hover {
    color: white;
}

.card:hover ._info {
    opacity: 1;
}

 



.my-slider .tns-item {
    padding-right: 1rem;    /* your desired gap */
  }
  .my-slider .tns-item:last-child {
    padding-right: 1rem;       /* no extra space at the end */
  }
  /* .my-slider .tns-item:first-child { */
    /* padding-left: 1rem;       /* no extra space at the end */
  /* } */





  /* 1. Add vertical padding to the OUTER wrapper */
/* .my-slider .tns-outer {
    padding-top: 1rem;
    padding-bottom: 1rem;
  } */
  
  /* 2. Let shadows peek out of the overflow-hidden container */
  .my-slider .tns-ovh {
    overflow: visible !important;
  }
  
  /* (Optional) If you want the cards themselves to have extra top/bottom spacing,
     you can also add padding on each slide wrapper: */
  .my-slider .tns-item {
    padding-top: 0.5rem;
    padding-bottom: 1.1rem;
  }


  .partners-slider .tns-item {
    padding-right: 1rem;    /* your desired gap */
  }
  .partners-slider .tns-item:last-child {
    padding-right: 1rem;       /* no extra space at the end */
  }
  .partners-slider .tns-item:first-child {
    padding-left: 1rem;       /* no extra space at the end */
  }





  /* 1. Add vertical padding to the OUTER wrapper */
.partners-slider .tns-outer {
    padding-top: 1.5rem;    /* space above each card */
    padding-bottom: 1.5rem; /* space below each card */
  }
  
  /* 2. Let shadows peek out of the overflow-hidden container */
  .partners-slider .tns-ovh {
    overflow: visible !important;
  }
  
  /* (Optional) If you want the cards themselves to have extra top/bottom spacing,
     you can also add padding on each slide wrapper: */
  .partners-slider .tns-item {
    padding-top: 0.5rem;
    padding-bottom: 1.5rem;
  }


  .cards-grid .column {
    display: flex;
  }
  /* make the card inside fill that flex container vertically */
  .cards-grid .column .card {
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  /* let the text/content area expand to push the card to full height */
  .cards-grid .column .card .content {
    flex: 1;
  }


  .partners-slider .slide {
    display: flex;
  }
  .partners-slider .slide .card {
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  /* let the bottom content expand if needed */
  .partners-slider .slide .card-content:last-child {
    flex: 1;
  }



  .news-image-crop {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* Crops the image to fill the container */
    object-position: center; /* Center the crop */
    aspect-ratio: 5 / 3; /* Ensures horizontal aspect ratio if supported */
    border-radius: 8px;  /* Optional: rounded corners */
}