/*! Web sitesi çekirdeği 2.0 — Aşama 168d: fotoğraf penceresi ve olanakların simgeleri (oy-foto.js; bütün temalarda).
 * Pencere ve "n fotoğraf" düğmesi fotoğrafın üstünde durduğu için renkleri sabit (koyu zemin, açık yazı). Tema isterse değişkenlerle:
 * --oy-foto-zemin, --oy-foto-renk, --oy-foto-dugme-zemin, --oy-foto-dugme-renk. Simge temanın madde iminin rengini alır (oy-foto.js);
 * yoksa yazının rengi. Boyu: --oy-olanak-ikon (varsayılan 1.2em). */
.oy-olanak-ikon{display:inline-block;flex:none;width:var(--oy-olanak-ikon,1.2em);height:var(--oy-olanak-ikon,1.2em);margin:0 .5em 0 0;vertical-align:-.25em;
  fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;overflow:visible}
li.oy-olanak--imli::before{content:none!important;display:none!important}
.oy-foto-ac{cursor:zoom-in}
html.oy-foto-acik,html.oy-foto-acik body{overflow:hidden}

.oy-foto-dugme{-webkit-appearance:none;appearance:none;position:absolute;left:0;top:0;z-index:5;display:inline-flex;align-items:center;gap:7px;margin:0;
  padding:7px 13px 7px 11px;border:0;border-radius:999px;background:var(--oy-foto-dugme-zemin,rgba(10,12,16,.6));color:var(--oy-foto-dugme-renk,#fff);
  font:inherit;font-size:13px;font-weight:600;line-height:1.2;letter-spacing:.01em;text-transform:none;cursor:pointer;box-shadow:0 2px 10px rgba(0,0,0,.18);
  min-width:0;min-height:0;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.oy-foto-dugme[hidden]{display:none}
.oy-foto-dugme svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2}
.oy-foto-dugme:hover{background:var(--oy-foto-dugme-zemin,rgba(10,12,16,.78))}
.oy-foto-dugme:focus-visible{outline:2px solid #fff;outline-offset:2px}

.oy-foto{position:fixed;inset:0;box-sizing:border-box;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;
  background:var(--oy-foto-zemin,#0c0e12);color:var(--oy-foto-renk,#fff);overflow:hidden;font:inherit;font-size:15px}
.oy-foto[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}
.oy-foto::backdrop{background:rgba(0,0,0,.86)}
.oy-foto button{-webkit-appearance:none;appearance:none;margin:0;padding:0;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer;
  min-width:0;min-height:0;box-shadow:none;line-height:1;text-transform:none}
.oy-foto button svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.oy-foto button:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.oy-foto__ust{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px 8px 20px}
.oy-foto__sayac{margin:0;font-size:14px;letter-spacing:.06em;opacity:.85;font-variant-numeric:tabular-nums}
.oy-foto__kapat{display:grid;place-items:center;width:44px;height:44px;border-radius:50%}
.oy-foto__kapat:hover,.oy-foto__ok:not([disabled]):hover{background:rgba(255,255,255,.14)}
.oy-foto__serit{display:flex;min-height:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior:contain;scrollbar-width:none;outline:0}
.oy-foto__serit::-webkit-scrollbar{display:none}
.oy-foto__kare{flex:0 0 100%;box-sizing:border-box;display:flex;align-items:center;justify-content:center;height:100%;min-width:0;margin:0;
  padding:0 clamp(8px,6vw,76px);scroll-snap-align:center;scroll-snap-stop:always}
.oy-foto__kare img{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;border-radius:2px;
  -webkit-user-select:none;user-select:none;-webkit-user-drag:none}
.oy-foto__ok{position:absolute;top:50%;display:grid;place-items:center;width:48px;height:48px;margin-top:-24px;border-radius:50%;background:rgba(0,0,0,.32)}
.oy-foto__ok--onceki{left:10px}
.oy-foto__ok--sonraki{right:10px}
.oy-foto__ok[disabled]{opacity:.25;cursor:default}
.oy-foto__kucukler{display:flex;gap:6px;overflow-x:auto;padding:10px 14px 14px;scrollbar-width:thin}
.oy-foto__kucuk{flex:0 0 auto;width:60px;height:42px;border-radius:4px;overflow:hidden;opacity:.5;transition:opacity .2s}
.oy-foto__kucuk:first-child{margin-left:auto}
.oy-foto__kucuk:last-child{margin-right:auto}
.oy-foto__kucuk:hover{opacity:.8}
.oy-foto__kucuk[aria-current="true"]{opacity:1;outline:2px solid #fff;outline-offset:-2px}
.oy-foto__kucuk img{display:block;width:100%;height:100%;object-fit:cover}
@media (max-width:600px){.oy-foto__ok{width:40px;height:40px;margin-top:-20px;background:rgba(0,0,0,.45)}.oy-foto__ok--onceki{left:4px}.oy-foto__ok--sonraki{right:4px}
  .oy-foto__kare{padding:0}}
@media (max-height:520px){.oy-foto__kucukler{display:none}}
@media (prefers-reduced-motion:reduce){.oy-foto__kucuk{transition:none}}
@media print{.oy-foto-dugme,.oy-foto{display:none!important}}
