.res-list, .kaynaklar-listesi {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 sütunlu grid */
    gap: 30px 32px; /* Sütunlar arasında 30px, satırlar arasında 32px boşluk */
	margin-top:20px;
}



/* İsteğe bağlı: Sütunların içeriğini hizalamak için */
.res-list-item{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
	align-content:center;

}

.res-list-no-title-img img, .res-list-img img{
    border-radius: 16px;
    border: 1px solid  #C1C0C7;
}
.res-list-no-title-img {
	text-align: center;
	max-width:210px;
     height:290px;
}
.res-list-no-title-img img {
   
}
.res-list-img img {
	    height: 377px;

    margin-bottom: 16px;
}

a.res-list-item .res-list-title {
	font-size: 16px;
	font-style: normal;
	font-weight: 500;
	line-height: 20px;
	color: #1C0A62;
	max-width: 210px;
}
.res-list-title  h3 {
	margin-top: 10px;
	font-size: 16px;
	text-align:left;
}

.list-all-categories {
        max-width: 1170px;
        overflow: hidden;
        height: 30px;
        position: relative;
        padding: 0 ;
        border-bottom: 1px solid #C1C0C7;
    }
    .list-all-categories ul {
    padding: 0;
    }
    .list-all-categories.kaynaklar li a {
        color: #C1C0C7;
        font-weight: 500;
        position: relative;
        font-size: 13.5px !important;
		margin:0 5px;
    }
     
    .list-all-categories ul li .active, .swiper-slide-active {
        position: relative;
    }
   .list-all-categories ul li .active::after  {
        position: absolute;
        content: "";
        display: block;
        height: 1px;
        width: 100%;
        border-bottom: 1px solid #000;
        z-index: 9999;
        bottom: 0;
    }
    .list-all-categories ul li .active a {
        color: #000 ;
    }
    .list-all-categories  .swiper-slide {
        width: auto !important;
    }
    .msb-button-next, .msb-button-prev {
        position: absolute;
        top: 3px;
        z-index: 999;
        background-color: #fff;
        padding: 4px;
        display:none;
    }
    .msb-button-next {
        right: 0;
    }
    .msb-button-prev {
        left: 0;
    }

/*
 Video css
 */

.lightboxjs-link:not(a) {
    cursor: pointer;
}

.lightboxjs,
.lightboxjs .ljs-overlay {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.lightboxjs {
    position: fixed;
    z-index: 999;
    display: none;
    opacity: 0;
    -webkit-transition: opacity .2s linear, backdrop-filter .2s linear;
    transition: opacity .2s linear, backdrop-filter .2s linear;
    backdrop-filter: blur(10px) brightness(0.35);
}
.lightboxjs .ljs-overlay,
.lightboxjs .ljs-content {
    position: absolute;
}
.lightboxjs .ljs-overlay {
    z-index: 1;
    background: #000;
    opacity: 0.1;
}
.lightboxjs .ljs-overlay.ljs-clickable{
    cursor: pointer;
}
.lightboxjs .ljs-content{
    display: none;
}
.lightboxjs .ljs-content.ljs-loaded{
    display: block;
    animation: scale-in 0.2s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}
.lightboxjs .ljs-content {
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 1024px;
    height: 580px;
    z-index: 2;
    margin: auto;
    -webkit-box-shadow: 3px 3px 8px #000000a0, 0 0 20px #00000060;
    box-shadow: 3px 3px 8px #000000a0, 0 0 20px #00000060;
    border-radius: 10px;
    overflow: hidden;
}
.lightboxjs .ljs-body,
.lightboxjs iframe {
    width: 100%;
    height: 100%;
}
.lightboxjs iframe {
    border: 0;
    display: block;
}
.lightboxjs.ljs-show {
    display: block;
}
.lightboxjs.ljs-open {
    opacity: 1;
}

/** SPINNER **/

.lightboxjs .ljs-spinner {
    width: 80px;
    height: 80px;
    position: absolute;
    left: calc( 50% - 50px);
    top: calc( 50% - 50px);
    z-index: 1;
    display: none;
}
.lightboxjs .ljs-spinner.ljs-show{
    display: inline-block;
    animation: scale-in 0.15s cubic-bezier(0.390, 0.575, 0.565, 1.000) 0.2s both;
}
.lightboxjs .ljs-spinner:after {
    content: " ";
    display: block;
    width: 64px;
    height: 64px;
    margin: 8px;
    border-radius: 50%;
    border: 6px solid #fff;
    border-color: #fff transparent #fff transparent;
    animation: lightboxjs-spinner 1.2s linear infinite;
}
@keyframes lightboxjs-spinner {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/** CLOSE BUTTON **/

.lightboxjs .ljs-close {
    position: absolute;
    right: 32px;
    top: 32px;
    opacity: 1;
    z-index: 5;
    cursor: pointer;
    display: none;
    font-size: 70px;
    font-weight: bold;
    color: #fff;
    line-height: 46px;
    margin-top: -7px;
    text-shadow: -1px -1px 0 #000, 0 -1px 0 #000, 1px -1px 0 #000, 1px 0 0 #000, 1px 1px 0 #000, 0 1px 0 #000, -1px 1px 0 #000, -1px 0 0 #000;
}
.lightboxjs .ljs-close.ljs-show{
    animation: scale-in-btn 0.15s cubic-bezier(0.390, 0.575, 0.565, 1.000) 0.2s both;
}
.lightboxjs .ljs-close.ljs-open{
    display:block;
}
.lightboxjs .ljs-close:hover {
    animation: scale-btn-over 0.2s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}
/*.lightboxjs .close:before, .close:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 33px;
    width: 10px;
    background-color: #fff;
}
.lightboxjs .close:before {
    transform: rotate(45deg);
}
.lightboxjs .close:after {
    transform: rotate(-45deg);
}*/

/** ANIMATIONS **/


@keyframes scale-btn-over {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1.1);
    }
}
@keyframes scale-in {
    0% {
        transform: scale(0);
    }
    80% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes scale-in-btn {
    0% {
        transform: scale(0);
    }
    80% {
        transform: scale(1.5);
    }
    100% {
        transform: scale(1);
    }
}
.res-categories {
	justify-content:flex-start !important ; 

}
.res-categories a {
    color: #C1C0C7;
    padding:8px 16px;
    border-bottom: 1px solid #C1C0C7;
    font-weight: 500;
    margin-bottom: 0 !important;
    position: relative;
}
.res-categories a:hover::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    border-bottom: 1px solid #1C0A62;
	
}
.res-categories a.current {
    color:  #1C0A62;
}
.res-categories a.current::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    border-bottom: 1px solid #1C0A62;
}
.res-gap {
    height: 24px;
}






/*
  ##Device = Laptops, Desktops
  ##Screen = B/w 1025px to 1280px
*/

@media (min-width: 1025px) and (max-width: 1280px) {

    /* CSS */

}

/*
  ##Device = Tablets, Ipads (portrait)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 768px) and (max-width: 1024px) {

    /* CSS */

}

/*
  ##Device = Tablets, Ipads (landscape)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {

    /* CSS */

}

/*
  ##Device = Low Resolution Tablets, Mobiles (Landscape)
  ##Screen = B/w 481px to 767px
*/

@media (min-width: 481px) and (max-width: 767px) {

    /* CSS */

}

/*
  ##Device = Most of the Smartphones Mobiles (Portrait)
  ##Screen = B/w 320px to 479px
*/

@media (min-width: 320px) and (max-width: 480px) {

    /* CSS */
    .res-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px 32px;
    }
    .res-list-no-title-img img,
    .res-list-img img {
        height: 100%;
        margin-bottom: 16px;
        object-fit: contain;
        width: 100%;
    }
    .res-cat-container {
        width: 100% !important;
        overflow: auto;
    }
    .res-categories {
        width: 100%;

    }
	.res-categories a {
		font-size:12px;
		padding:8px
	}
	
	.kaynaklar-listesi {
        display: grid;
        grid-template-columns: 1fr 1fr ;
        gap: 20px;
    }
	.res-list-no-title-img {
	
	height: 100%;
}


}