/* PYP kısa videolar v1.5 */
.pyp-video-bas { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.pyp-serit-oklar { display: flex; gap: .5rem; flex: none; }
.pyp-serit-ok {
	width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
	background: #fff; color: #141A21; font-size: 1.6rem; line-height: 1; box-shadow: inset 0 0 0 1px #D3D9E0;
}
.pyp-serit-ok:hover { box-shadow: inset 0 0 0 1.5px #4C9BFF; color: #1F5FD1; }
.pyp-serit-ok:focus-visible { outline: 2px solid #4C9BFF; outline-offset: 2px; }
.pyp-bolum--gece .pyp-serit-ok { background: rgba(255,255,255,.06); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
@media (max-width: 781px) { .pyp-serit-oklar { display: none; } }

.pyp-vk-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.pyp-videolar--akis .pyp-vk-liste { grid-template-columns: repeat(auto-fill, minmax(min(170px, 44vw), 1fr)); }
.pyp-videolar--serit .pyp-vk-liste {
	grid-auto-flow: column; grid-auto-columns: clamp(150px, 42vw, 210px); overflow-x: auto; overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .25rem;
}
.pyp-videolar--serit .pyp-vk-liste::-webkit-scrollbar { display: none; }
.pyp-vk { scroll-snap-align: start; }
.pyp-vk__ac {
	all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: block; width: 100%;
	aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; background: #0B1017;
	box-shadow: 0 0 0 1px rgba(20,26,33,.08);
}
.pyp-vk__ac img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.pyp-vk__ac::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,12,18,.85) 0%, rgba(8,12,18,0) 45%); }
.pyp-vk__ac:hover img { transform: scale(1.04); }
.pyp-vk__ac:focus-visible { outline: 3px solid #4C9BFF; outline-offset: 2px; }
.pyp-vk__oynat {
	position: absolute; z-index: 2; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%;
	background: rgba(16,22,31,.55); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
	transition: background .2s, transform .2s;
}
.pyp-vk__oynat::before { content: ""; position: absolute; left: 21px; top: 16px; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent #fff; }
.pyp-vk__ac:hover .pyp-vk__oynat { background: #F07120; transform: scale(1.06); }
.pyp-vk__baslik {
	position: absolute; z-index: 2; left: .7rem; right: .7rem; bottom: .7rem; color: #fff; font-size: .875rem; line-height: 1.3; font-weight: 600;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.pyp-video-tumu { margin: 1.25rem 0 0; font-weight: 600; }
.pyp-video-bos { padding: 1.25rem 1.4rem; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1px #D3D9E0; color: #566170; }

/* Tam ekran dikey oynatıcı */
html.pyp-vo-acik, html.pyp-vo-acik body { overflow: hidden; }
.pyp-vo { position: fixed; inset: 0; z-index: 100000; background: #05080C; color: #fff; }
.pyp-vo__akis { position: absolute; inset: 0; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; }
.pyp-vo__akis::-webkit-scrollbar { display: none; }
.pyp-vo__oge { height: 100%; scroll-snap-align: start; scroll-snap-stop: always; display: grid; place-items: center; padding: 0; }
.pyp-vo__cerceve {
	position: relative; height: 100%; max-height: 100%; aspect-ratio: 9 / 16; max-width: 100vw; background: #000; overflow: hidden;
}
.pyp-vo__cerceve > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.75); }
.pyp-vo__cerceve iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 1; }
.pyp-vo__bilgi {
	position: absolute; z-index: 2; left: 0; right: 0; top: 0; padding: 1rem 4.25rem 2.5rem 1rem; pointer-events: none;
	background: linear-gradient(to bottom, rgba(5,8,12,.8), rgba(5,8,12,0));
}
.pyp-vo__baslik { margin: 0; font-weight: 600; font-size: 1rem; line-height: 1.35; }
.pyp-vo__ozet { margin: .35rem 0 0; font-size: .875rem; line-height: 1.5; color: #C9D2DD; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pyp-vo__proje { pointer-events: auto; display: inline-flex; align-items: center; min-height: 40px; margin-top: .35rem; color: #fff; font-size: .875rem; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
.pyp-vo__kapat, .pyp-vo__ok {
	position: absolute; z-index: 3; width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
	background: rgba(255,255,255,.12); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.pyp-vo__kapat { top: max(.75rem, env(safe-area-inset-top)); right: .75rem; }
.pyp-vo__ok { right: 1.25rem; }
.pyp-vo__ok--yukari { top: calc(50% - 52px); }
.pyp-vo__ok--asagi { top: calc(50% + 8px); }
.pyp-vo__kapat:hover, .pyp-vo__ok:hover { background: rgba(255,255,255,.22); }
.pyp-vo__kapat:focus-visible, .pyp-vo__ok:focus-visible { outline: 2px solid #4C9BFF; outline-offset: 2px; }
@media (max-width: 781px) { .pyp-vo__ok { display: none; } }
@media (min-width: 900px) {
	.pyp-vo__oge:not(.is-yatay) { padding: 1.5rem 0; }
	.pyp-vo__oge:not(.is-yatay) .pyp-vo__cerceve { height: 100%; border-radius: 14px; }
	/* Masaüstünde bilgi çerçevenin yanında: video kontrollerini kapatmaz */
	.pyp-vo__oge:not(.is-yatay) .pyp-vo__bilgi { top: auto; bottom: 0; left: calc(100% + 1.5rem); right: auto; width: 280px; padding: 0; background: none; }
	.pyp-vo__oge:not(.is-yatay) .pyp-vo__cerceve { overflow: visible; }
	.pyp-vo__oge:not(.is-yatay) .pyp-vo__cerceve > img, .pyp-vo__oge:not(.is-yatay) .pyp-vo__cerceve iframe { border-radius: 14px; }
}
@media (min-width: 900px) and (max-width: 1240px) { .pyp-vo__oge:not(.is-yatay) .pyp-vo__bilgi { width: 200px; } }

/* v1.5.2: yatay videolar */
.pyp-vk--yatay .pyp-vk__ac { aspect-ratio: 16 / 9; }
.pyp-videolar--akis .pyp-vk-liste--yatay { grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 1rem; }
.pyp-videolar--akis .pyp-vk-liste + .pyp-vk-liste { margin-top: 1.5rem; }
.pyp-videolar--serit .pyp-vk-liste { grid-auto-columns: auto; align-items: end; }
.pyp-videolar--serit .pyp-vk { width: clamp(150px, 42vw, 210px); }
.pyp-videolar--serit .pyp-vk--yatay { width: clamp(260px, 78vw, 400px); }
.pyp-vo__oge.is-yatay { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 4rem 1rem 2rem; }
.pyp-vo__oge.is-yatay .pyp-vo__cerceve { height: auto; max-height: none; width: min(100%, calc((100vh - 10rem) * var(--oran))); aspect-ratio: var(--oran); border-radius: 10px; }
.pyp-vo__oge.is-yatay .pyp-vo__cerceve > img { filter: none; }
.pyp-vo__oge.is-yatay .pyp-vo__bilgi { position: static; background: none; padding: 0; pointer-events: auto; width: min(100%, calc((100vh - 10rem) * var(--oran))); }

/* v1.6: video ızgaraları mobilde 2'li, masaüstünde 4'lü */
.pyp-videolar--akis .pyp-vk-liste--yatay, .pyp-videolar--akis .pyp-vk-liste--dikey { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: .75rem !important; }
@media (min-width: 1024px) { .pyp-videolar--akis .pyp-vk-liste--yatay, .pyp-videolar--akis .pyp-vk-liste--dikey { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 1rem !important; } }
@media (max-width: 699px) {
	.pyp-vk__baslik { font-size: .75rem; left: .5rem; right: .5rem; bottom: .45rem; -webkit-line-clamp: 2; }
	.pyp-vk__oynat { width: 38px; height: 38px; margin: -19px 0 0 -19px; }
	.pyp-vk__oynat::before { left: 15px; top: 11px; border-width: 8px 0 8px 13px; }
	.pyp-vk--yatay .pyp-vk__ac::after { background: linear-gradient(to top, rgba(8,12,18,.9) 0%, rgba(8,12,18,0) 60%); }
}
