.infobase-videos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* equal vertical + horizontal spacing */
    justify-content: space-between; /* distribute evenly across full width */
    width: 100%;
    box-sizing: border-box;
}
.infobase-filters{
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 40px;
}
.infobase-video h4 {
    margin-bottom: 10px;
    font-size: 16px;
}
.ibv-nav-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 20px 10px;
}
.infobase-video {
   flex: 1 1 calc(33.33% - 20px) !important; 
  box-sizing: border-box;
}

.infobase-video {
		display: flex;
    flex-direction: column;
    /*gap: 20px;*/
    background-color: #fdf9ff;
    padding: 15px;
    border-radius: 12px;
	  box-shadow: 0 0 12px #b1b1b1;
}
.infobase-video h4{
	margin-bottom: 0;
}

.ibv-nav-item {
    background-color: #1B1726;
    color: #fff;
    padding: 15px;
    border-radius: 8px;
    font-family: "Poppins";
}
.ibv-nav-item:hover{
    background-color: #9A1BAA;
}
#page-indicator {
    font-weight: bold;
    margin-top: 15px;
}
#infobase-search-form button{
    background-color: #9A1BAA;
    color: #fff;
    border-radius: 0 8px 8px 0;
    font-family: "Poppins";
}
#infobase-search-form input{
    border-radius: 8px 0 0 8px;
        font-family: "Poppins";
}
#educational-topics{
    border-radius: 8px;
        font-family: "Poppins";
}

@media (max-width: 1030px) {
  .infobase-videos .infobase-video {
    flex: 1 1 calc(50% - 20px) !important; /* 2 per row */
    /* max-width: calc(50% - 20px); */
  }
}

@media( max-width: 768px ){
    .infobase-filters{
        flex-direction: column;
    }
    #infobase-search-form{
        display: flex;
    }
    #infobase-search-form input{
        flex: 1;
    }
}

@media (max-width: 650px) {
    .infobase-videos .infobase-video {
    flex: 1 1 100% !important; /* 1 per row */
    /* max-width: 100%; */
  }
}

#goto-page{ 
    padding: 5px 8px;
    width: 80px;
    border-radius: 5px;
    text-align: center;
    font-family:'Poppins';
}
 
.ibv-page-jump{
    text-align:center;
} 

.frm-ovly{
    background: #fdf9ff;
    width: 100%;
    height: 30px;
    z-index: 9;
}

/*iframe.ibv-frm{
    margin-top: -30px;
}*/