.schoollist { display: flex; flex-wrap: wrap; gap: 20px; width: calc(100% + 20px); margin-left: -10px; }

.schoollist > .school-item {
  flex: 0 1 calc(33.333% - 20px);
  display: flex;
}

.school-item.duo-left, .school-item.duo-right{
    position: relative;
}

.school-item.duo-left:after{
    content:'';
    position: absolute;
    background-color:#fff;
    width:20px;
    height:100%;
    right:0px;
    height:364px;
    top:10px;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
}

.school-item.duo-right:before{
    content:'';
    position: absolute;
    background-color:#fff;
    width:20px;
    height:100%;
    left:0px;
    height:364px;
    top:10px;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
}

.school-item.duo-left {
  border-right: none;
}

.school-item.duo-right {
  border-left: none;
}
.schoollist .school-item.duo-left,
.schoollist .school-item.duo-right {
  flex: 0 1 calc(33.333% - 20px);
}

.schoollist > .school-row.duo .school-item {
    flex: 0 1 calc(50% - 10px);
    display: flex;
}

.school-item { padding: 10px; color: #6269AE; width: 33.33%; flex-grow: 1; justify-content: space-between; overflow: hidden; display: flex; flex-direction: column; min-height:364px; }

.school-item h3{ font-size:18px; }


.schoollist .schoolinfo {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    transition: transform 0.3s ease;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(98, 105, 174, 0.1);
    border: 1px solid #292358;
    min-height:inherit
}


.schoollist .contentWrapper a {
    color: #F9B342;
}
.schoollist .contentWrapper a:hover {
    color: #E6007E;
}


.schoollist .schoolinfo .school-featured-image {
    padding: 15px 15px 0;
}

.school-item .school-featured-image img {
    width: 100%;
    height: 140px;
    object-fit: contain;
    object-position: center;
    display: block;
}

.schoollist .schoolinfo .infowrapper {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    flex-grow: 1;
}

.schoollist .schoolinfo .infowrapper .buttonwrappers {
    display: flex;
    gap: 10px;
}

.schoollist .schoolinfo .buttonwrappers .websitebutton {
    margin-top: 10px;
    background-image: url(../images/Arrow.svg);
    background-position: right 15px center;
    background-repeat: no-repeat;
    background-size: 40px 30px;
    background-color: #E6007E;
    padding: 15px 65px 15px 15px;
    color: #fff;
    font-weight:600;
    text-decoration: none;
}
.scholenwrapper .schoollist .schoolinfo .buttonwrappers .websitebutton:hover {
    background-position: right 5px center;
}


.slider-button-wrapper .btn{
    background-image: url(../images/Arrow.svg);
    background-position: right 15px center;
    background-repeat: no-repeat;
    background-size: 40px 30px;
    background-color: #E6007E;
    padding: 15px 65px 15px 15px;
    color: #fff;
    text-decoration: none;
    font-weight:600;
    display: inline-block;
}
.slider-button-wrapper .btn:hover{
    background-position:right 5px center;
}

@media (max-width: 1024px) {
    .school-item {
        flex: 0 1 calc(50% - 20px);
    }
}

@media (max-width: 992px) {
    .school-item {
        width: 48%;
    }
    .school-item.duo-left:after, .school-item.duo-right:before{display:none}
}
@media (max-width: 768px) {

  .schoollist > .school-item,
  .schoollist > .school-row.duo {
    flex: 1 1 100%;
  }
  .schoollist > .school-row.duo {
    flex-direction: column;
  }
}

.filter-toggle-button {
    background-color: #E6007E;
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    margin-bottom: 10px;
}

.filter-toggle-button:focus {
    outline: 2px solid #005177;
}

.filter-options {
    padding: 10px;
    background: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 6px;
    max-height: 300px;
    overflow-y: auto;
}
.filter-options .filterwrapper{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}
.filter-options label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #292358;
}


/* slider */
.school-slider {
    width: 100%;
    margin: 0 auto;
}


.school-slider .swiper-slide {
    background-color: #EDEDED;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
}

.school-slider .swiper-slide img {
    max-height: 100px;
    max-width: 100%;
    object-fit: contain;
}

input[type=checkbox]:checked::before{
    display:none;
}