/* Öteki Sinema – Vizyondakiler */
.osv,
.osv-film {
	--osv-accent: var(--accent-color, #31609c);
	--osv-ink: #16181d;
	--osv-muted: #6b7079;
	--osv-line: rgba(0, 0, 0, .1);
	--osv-card: #f4f4f5;
	--osv-radius: 8px;
	font-family: var(--font-body, inherit);
	color: var(--osv-ink);
}

/* ---------- Şerit / ızgara ---------- */
.osv { margin: 32px 0; position: relative; }
.osv-home { margin-top: 8px; margin-bottom: 8px; }
.osv__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.osv__title { font-family: var(--font-heading, inherit); font-size: 26px; line-height: 1.2; margin: 0; }
.osv__all { color: var(--osv-muted); text-decoration: none; font-size: 14px; white-space: nowrap; }
.osv__all:hover { color: var(--osv-accent); }

/* Oklar: şeridin iki yanında, afişlerin dikey ortasında */
.osv__stage { position: relative; }
.osv__nav {
	position: absolute; z-index: 3; top: var(--osv-mid, 38%); transform: translateY(-50%);
	width: 42px; height: 42px; border-radius: 50%; border: 0; padding: 0; margin: 0; cursor: pointer;
	background: rgba(255, 255, 255, .92); color: #111; box-shadow: 0 2px 10px rgba(0, 0, 0, .28);
	display: flex; align-items: center; justify-content: center;
	font-size: 26px; line-height: 1; font-family: Georgia, serif;
	transition: opacity .2s, background .15s, transform .15s;
}
.osv__nav span { display: block; margin-top: -3px; }
.osv__nav--prev { left: 10px; }
.osv__nav--next { right: 10px; }
.osv__nav:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.osv__nav:focus-visible { outline: 2px solid var(--osv-accent); outline-offset: 2px; }
.osv__nav[disabled] { opacity: 0; pointer-events: none; }

.osv__list { list-style: none; margin: 0; padding: 0; }
.osv--rail .osv__list {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 16px) / 6);
	gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	scrollbar-width: none; overscroll-behavior-x: contain; padding-bottom: 4px;
}
.osv--rail .osv__list::-webkit-scrollbar { display: none; }
.osv--grid .osv__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 24px 16px; }

.osv__card { scroll-snap-align: start; margin: 0; padding: 0; min-width: 0; }
.osv__card::before { content: none !important; }
.osv__link { display: block; color: inherit; text-decoration: none !important; }
.osv__poster {
	position: relative; aspect-ratio: 2 / 3; border-radius: var(--osv-radius); overflow: hidden; background: var(--osv-card);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
}
.osv__poster img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; margin: 0 !important; }
.osv__link:hover .osv__poster img, .osv__link:focus-visible .osv__poster img { transform: scale(1.04); }
.osv__noposter {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 12px; text-align: center;
	font-family: var(--font-heading, inherit); font-size: 18px; color: var(--osv-muted);
}
.osv__vote, .osv__onsite {
	position: absolute; top: 8px; font-size: 12px; font-weight: 700; line-height: 1; padding: 5px 8px; border-radius: 999px;
	backdrop-filter: blur(4px);
}
.osv__vote { left: 8px; background: rgba(0, 0, 0, .62); color: #fff; }
.osv__vote span { color: #f5c518; }
.osv__onsite { right: 8px; background: var(--osv-accent); color: #fff; }
.osv__meta { padding-top: 10px; }
.osv__genre { display: block; font-size: 12px; color: var(--osv-accent); margin-bottom: 2px; }
.osv__name {
	font-family: var(--font-body, inherit); font-size: 15px; font-weight: 700; line-height: 1.3; margin: 0 0 6px;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.osv__link:hover .osv__name { color: var(--osv-accent); }
.osv__row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--osv-muted); }
.osv__badge {
	display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
	color: var(--osv-accent); border: 1px solid currentColor; border-radius: 4px; padding: 2px 6px; line-height: 1.3;
}
.osv__credit { font-size: 11px; color: var(--osv-muted); margin: 12px 0 0; }
.osv__credit a { color: inherit; }
.osv-error { padding: 12px 16px; border-left: 4px solid #d63638; background: #fcf0f1; margin: 16px 0; font-size: 14px; }

@media (max-width: 1100px) { .osv--rail .osv__list { grid-auto-columns: calc((100% - 4 * 14px) / 5); gap: 14px; } }
@media (max-width: 860px)  { .osv--rail .osv__list { grid-auto-columns: calc((100% - 3 * 14px) / 4); } }
@media (max-width: 600px) {
	.osv__title { font-size: 21px; }
	.osv__nav { display: none; }
	.osv--rail .osv__list { grid-auto-columns: 42%; gap: 12px; }
	.osv--grid .osv__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
}

/* ---------- Detay sayfası ---------- */
.osv-container { padding-top: 16px; padding-bottom: 40px; }
.osv-crumbs { font-size: 13px; color: var(--osv-muted, #6b7079); margin: 4px 0 18px; }
.osv-crumbs a { color: inherit; text-decoration: none; }
.osv-crumbs a:hover { color: var(--osv-accent, #31609c); }
.osv-crumbs span { margin: 0 4px; }
.osv-crumbs span[aria-current] { margin: 0; color: var(--osv-ink, #16181d); }

.osv-film__hero {
	position: relative; display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: 36px; align-items: start;
	padding: 28px; border-radius: 14px; overflow: hidden; background: var(--osv-card); isolation: isolate;
}
.osv-film__backdrop {
	position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center top;
	opacity: .18; filter: blur(2px) saturate(.8); transform: scale(1.04);
}
.osv-film__backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(244, 244, 245, .2), rgba(244, 244, 245, .9)); }
.osv-film__poster { border-radius: 10px; overflow: hidden; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .55); aspect-ratio: 2 / 3; background: #ddd; position: relative; }
.osv-film__poster img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0 !important; }
.osv-film__head { min-width: 0; }
.osv-film__title { font-family: var(--font-heading, inherit); font-size: clamp(30px, 4vw, 46px); line-height: 1.1; margin: 10px 0 6px; }
.osv-film__orig { color: var(--osv-muted); margin: 0 0 14px; font-size: 16px; }
.osv-film__chips {
	list-style: none; margin: 0 0 16px; padding: 6px 12px; display: inline-flex; flex-wrap: wrap; gap: 0;
	background: rgba(255, 255, 255, .8); border-radius: 8px; font-size: 13px;
}
.osv-film__chips li { margin: 0; padding: 0 10px; border-left: 1px solid var(--osv-line); }
.osv-film__chips li:first-child { border-left: 0; padding-left: 0; }
.osv-film__chips li:last-child { padding-right: 0; }
.osv-film__chips li::before { content: none !important; }
.osv-film__tagline { font-style: italic; color: var(--osv-muted); margin: 0 0 18px; }
.osv-film__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.osv-btn {
	display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 8px;
	border: 1px solid var(--osv-line); background: #fff; color: var(--osv-ink); font: inherit; font-weight: 700; font-size: 15px;
	cursor: pointer; text-decoration: none !important; transition: filter .15s, background .15s;
}
.osv-btn:hover { background: #fafafa; color: var(--osv-ink); }
.osv-btn--primary { background: var(--osv-accent); border-color: var(--osv-accent); color: #fff; }
.osv-btn--primary:hover { background: var(--osv-accent); color: #fff; filter: brightness(1.08); }
.osv-btn span { font-size: 12px; }
.osv-btn--tickets span { font-size: 15px; line-height: 1; }
.osv-film__score {
	display: inline-flex; flex-direction: column; align-items: center; justify-content: center; height: 44px; min-width: 64px;
	padding: 0 12px; border-radius: 8px; background: #fff; border: 1px solid var(--osv-line); line-height: 1.1;
}
.osv-film__score small { font-size: 10px; font-weight: 700; letter-spacing: .06em; color: #01b4e4; }
.osv-film__score strong { font-size: 15px; }

.osv-film__body { max-width: 980px; margin: 8px 0 0; }
.osv-film__facts { display: grid; grid-template-columns: 120px 1fr; gap: 9px 20px; margin: 28px 0 0; padding-top: 22px; border-top: 1px solid var(--osv-line); font-size: 15px; text-align: left; }
.osv-film__facts dt { color: var(--osv-muted); font-weight: 400; margin: 0; }
.osv-film__facts dd { margin: 0; }
.osv-more summary { cursor: pointer; color: var(--osv-accent); font-size: 14px; margin-top: 4px; list-style: none; }
.osv-more summary::-webkit-details-marker { display: none; }
.osv-more summary::before { content: "▸ "; }
.osv-more[open] summary::before { content: "▾ "; }

.osv-film__section { margin-top: 36px; }
.osv-film__section h2 { font-family: var(--font-heading, inherit); font-size: 24px; margin: 0 0 14px; }
.osv-film__overview { font-size: 17px; line-height: 1.7; margin: 0; }

.osv-cast { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 18px 14px; }
.osv-cast li { margin: 0; font-size: 13px; line-height: 1.3; }
.osv-cast li::before { content: none !important; }
.osv-cast img, .osv-cast__ph {
	width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 8px; display: block; margin: 0 0 8px !important; background: var(--osv-card);
}
.osv-cast__ph { display: flex; align-items: center; justify-content: center; font-size: 32px; color: var(--osv-muted); }
.osv-cast strong { display: block; }
.osv-cast small { color: var(--osv-muted); }

.osv-videos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.osv-videos li { margin: 0; }
.osv-videos li::before { content: none !important; }
.osv-video { all: unset; display: block; cursor: pointer; width: 100%; }
.osv-video:focus-visible { outline: 2px solid var(--osv-accent); outline-offset: 3px; border-radius: 8px; }
.osv-video__thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #000; }
.osv-video__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .9; transition: opacity .2s, transform .35s; margin: 0 !important; }
.osv-video:hover .osv-video__thumb img { opacity: 1; transform: scale(1.03); }
.osv-video__play {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%;
	background: rgba(0, 0, 0, .6); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; padding-left: 3px;
}
.osv-video__type { display: block; margin-top: 8px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--osv-accent); }
.osv-video__name { display: block; font-size: 14px; font-weight: 700; line-height: 1.35; color: var(--osv-ink); }

.osv-related { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.osv-related li { margin: 0; }
.osv-related li::before { content: none !important; }
.osv-related a { display: block; color: inherit; text-decoration: none !important; }
.osv-related img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; display: block; margin: 0 0 10px !important; }
.osv-related__cat { display: block; font-size: 12px; color: var(--osv-accent); margin-bottom: 2px; }
.osv-related strong { display: block; font-size: 16px; line-height: 1.35; }
.osv-related a:hover strong { color: var(--osv-accent); }
.osv-related time { display: block; font-size: 12px; color: var(--osv-muted); margin-top: 6px; }

.osv-film__more { margin-top: 48px; padding-top: 8px; border-top: 1px solid var(--osv-line); }

/* Fragman penceresi */
.osv-modal { position: fixed; inset: 0; z-index: 99999; background: rgba(0, 0, 0, .85); display: flex; align-items: center; justify-content: center; padding: 16px; }
.osv-modal[hidden] { display: none; }
.osv-modal__box { position: relative; width: min(1100px, 100%); }
.osv-modal__frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 8px; overflow: hidden; }
.osv-modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.osv-modal__close {
	position: absolute; right: 0; top: -44px; width: 36px; height: 36px; border: 0; border-radius: 50%;
	background: rgba(255, 255, 255, .15); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; padding: 0;
}
.osv-modal__close:hover { background: rgba(255, 255, 255, .3); }
html.osv-lock { overflow: hidden; }

@media (max-width: 760px) {
	.osv-film__hero { grid-template-columns: 1fr; padding: 18px; gap: 18px; }
	.osv-film__poster { width: 62%; max-width: 260px; margin: 0 auto; }
	.osv-film__head { text-align: center; }
	.osv-film__chips, .osv-film__actions { justify-content: center; }
	.osv-film__facts { grid-template-columns: 110px 1fr; font-size: 14px; }
	.osv-cast { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.osv-videos, .osv-related { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	.osv--rail .osv__list { scroll-behavior: auto; }
	.osv__poster img, .osv-video__thumb img { transition: none; }
}
