.list-wrapper {
	padding: 15px;
	overflow: hidden;
	display: grid;
  	grid-gap: 10px;
	direction: rtl;
}

.list-item {
	background: #FFF;
	margin: 5px;
    padding: 5px;
    border-radius: 7px;
	flex-grow: 1;
}

.list-item h4 {
    font-size: 15px;
    margin: 15px 5px 5px;
    direction: rtl;
    position: relative;
}

.list-item p {
	margin: 0;
}


iframe {
    border-radius: 8px;
    border: none;
    width: 100%;
    height: auto;
    min-height: 200px;
}

.video-cover {
    width: 100%;
    border-radius: 7px !important;
    height: 200px !important;
    object-fit: cover;
    filter: brightness(0.9);
}

.player-d {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.player-d .apch-paly-icon {
	    background: black;
    position: absolute;
    padding: 15px;
    border-radius: 100px;
    opacity: 0.7;
	transition: 0.3s;
}

.player-d:hover .apch-paly-icon{
    background: red;
	transition: 0.3s;
}

.player-d .apch-duration {
    position: absolute;
    left: 4px;
    bottom: 4px;
    background: black;
    color: white;
    padding: 2px;
    font-size: 11px;
    border-radius: 5px;
}
.player-d .apch-visit-cnt {
    position: absolute;
    right: 4px;
    top: 4px;
    background: #00000060;
    color: white;
    padding: 1px 5px;
    font-size: 11px;
    border-radius: 5px;
	display: flex;
    gap: 4px;
}

.apch-paginate {
    direction: rtl;
	margin: 10px;
    text-align: center;
}

.apch-paginate > * {
    background: #e1e1e1;
    border: 1px solid #e1e1e1;
    display: inline-flex;
    align-content: center;
    justify-content: center;
    border-radius: 5px;
    padding: 0 10px;
    margin: 5px;
    color: #000000;
    text-decoration: none !important;
}

.page-numbers.current {
    background: none;
}

iframe.apch-iframe {
    width: 70%;
    height: 80%;
}

.apch-close-iframe {
    position: fixed;
    background: #ffffff8c;
    top: 40px;
    left: 40px;
    z-index: 9999;
    border-radius: 100px;
    cursor: pointer;
	display: none;
}

@media (max-width: 992px) {
  iframe.apch-iframe {
    width: 70%;
    height: 300px;
  }
}
@media (max-width: 768px) {
  .video-cover {
    height: 500px;
	}
	iframe.apch-iframe {
    width: 70%;
    height: 200px;
	}
}

@media (max-width: 500px) {
  .video-cover {
    height: 500px;
	}
	iframe.apch-iframe {
    width: 70%;
    height: 200px;
	}
	.apch-close-iframe {
    top: 150px;
	}
}
