.res-list {
    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 */
}



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

}

.res-list-no-title-img img, .res-list-img img{
    border-radius: 16px;
    border: 1px solid  #C1C0C7;
}
.res-list-no-title-img img {
    height: 382px;
	width: 269px;
}
.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; /* 125% */
    color: #1C0A62;
}

/*
 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 {

}
.res-categories a {
    color: #C1C0C7;
    padding: 16px;
    border-bottom: 1px solid #C1C0C7;
    font-weight: 500;
    margin-bottom: 24px;
    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: 30px 32px;
    }
    .res-list-no-title-img img,
    .res-list-img img {
        height: 100%;
        margin-bottom: 16px;
        object-fit: cover;
        width: 100%;
    }
    .res-cat-container {
        width: 100% !important;
        overflow: auto;
    }
    .res-categories {
        width: 200%;

    }


}