.swiper-button-next, .swiper-button-prev {
    color: #fff;
    background-color: #00000050;
    border-radius: 5px;
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 20px;
}

/* swiper button hover */
.swiper-button-next:hover, .swiper-button-prev:hover {
    background-color: #00000080;
}

.marquee {
    height: 50px; 
    overflow: hidden;
    position: relative;
  }
.marquee .marquee-content {
    position: absolute;
    height: 100%;
    width: 100%;
    margin: 0;
    line-height: 50px;
    text-align: center;
    font-size: 1.4rem;
    color: red;
    font-family: 'Noto Serif Bengali';

    /* Starting position */
        -moz-transform:translateX(100%);
        -webkit-transform:translateX(100%);  
        transform:translateX(100%);

/* Apply animation to this element */  
        -moz-animation: marquee 15s linear infinite;
        -webkit-animation: marquee 15s linear infinite;
        animation: marquee 15s linear infinite;
}
  
/* Move it (define the animation) */
@-moz-keyframes marquee {
    0%   { -moz-transform: translateX(100%); }
    100% { -moz-transform: translateX(-100%); }
}
@-webkit-keyframes marquee {
    0%   { -webkit-transform: translateX(100%); }
    100% { -webkit-transform: translateX(-100%); }
}
@keyframes marquee {
    0%   { 
    -moz-transform: translateX(100%); /* Firefox bug fix */
    -webkit-transform: translateX(100%); /* Firefox bug fix */
    transform: translateX(100%);         
    }
    100% { 
    -moz-transform: translateX(-100%); /* Firefox bug fix */
    -webkit-transform: translateX(-100%); /* Firefox bug fix */
    transform: translateX(-100%); 
    }
}
.truncate-2-lines{
    /*truncate after 2 lines*/
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* number of lines to show */
    -webkit-box-orient: vertical;
    line-clamp: 2;
}

.truncate{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card_text::-webkit-scrollbar {
    width: 6px;
  }
  
  .card_text::-webkit-scrollbar-track {
    background: transparent;
  }
  
  .card_text::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    transition: background-color 0.3s;
  }
  
  .card_text::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.5);
  }
  
  /* Firefox */
  .card_text {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
  }