/* Yana photo gallery v2: native hash navigation / no modal JS dependency */
.teacher-profile-page .yana-personal-photo::after,
.teacher-profile-page .yana-personal-photo:after {content:none!important;display:none!important}
.teacher-profile-page .yana-personal-photo{cursor:pointer;transition:none!important}
.teacher-profile-page .yana-personal-photo img{transition:none!important}
.teacher-profile-page .yana-personal-photo:hover,
.teacher-profile-page .yana-personal-photo:focus-visible{transform:none!important}
.teacher-profile-page .yana-personal-photo:hover img{transform:none!important}
.yana-photo-viewer{display:none;position:fixed;inset:0;z-index:2147483600;align-items:center;justify-content:center;padding:clamp(8px,2vw,20px);isolation:isolate}
.yana-photo-viewer:target{display:flex}
body:has(.yana-photo-viewer:target){overflow:hidden}
.yana-photo-viewer-backdrop{position:absolute;inset:0;z-index:-1;background:rgba(14,11,25,.89);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}
.yana-photo-viewer-panel{display:flex;flex-direction:column;max-width:1120px;width:100%;max-height:calc(100dvh - 20px);height:min(840px,94dvh);min-width:0;min-height:0;overflow:hidden;border:1px solid rgba(255,255,255,.2);border-radius:23px;background:#211a2e;box-shadow:0 35px 120px rgba(0,0,0,.55)}
.yana-photo-viewer-head{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;padding:12px 16px;border-bottom:1px solid rgba(255,255,255,.12);color:#fff;flex:none}
.yana-photo-viewer-count{font-size:13px;font-weight:800;color:#e3dafa;white-space:nowrap}
.yana-photo-viewer-tools{display:flex;gap:7px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.yana-photo-viewer-tool{display:inline-flex;align-items:center;justify-content:center;min-height:37px;padding:8px 13px;white-space:nowrap;border:1px solid rgba(255,255,255,.19);background:rgba(255,255,255,.12);color:#fff;text-decoration:none;border-radius:11px;font:750 12px/1.1 system-ui,sans-serif;cursor:pointer}
.yana-photo-viewer-tool:hover,.yana-photo-viewer-tool:focus-visible{background:rgba(255,255,255,.25);color:#fff}
.yana-photo-viewer-close{display:grid;place-items:center;flex:none;width:38px;height:38px;background:rgba(255,255,255,.17);color:#fff;border-radius:11px;font-size:27px;line-height:1;text-decoration:none}
.yana-photo-viewer-close:hover{color:#fff;background:rgba(255,255,255,.30)}
.yana-photo-viewer-body{display:grid;grid-template-columns:clamp(40px,6vw,66px) minmax(0,1fr) clamp(40px,6vw,66px);gap:clamp(5px,1.6vw,14px);align-items:center;flex:1;min-height:0;padding:8px clamp(4px,2vw,18px)}
.yana-photo-viewer-arrow{display:grid;place-items:center;align-self:center;width:100%;height:72px;max-width:60px;border-radius:17px;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.16);color:#fff!important;text-decoration:none;font-size:43px;line-height:1;transition:background .15s}
.yana-photo-viewer-arrow:hover,.yana-photo-viewer-arrow:focus-visible{background:#8060c4}
.yana-photo-viewer-figure{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:0;max-height:100%;height:100%;margin:0;overflow:hidden}
.yana-photo-viewer-figure img{display:block;max-width:100%;max-height:calc(94dvh - 180px);height:auto;width:auto;object-fit:contain;border-radius:7px;box-shadow:0 12px 32px rgba(0,0,0,.20)}
.yana-photo-viewer-figure figcaption{text-align:center;color:#e7deee;font:500 12px/1.35 system-ui,sans-serif;margin-top:12px;max-width:95%}
.yana-photo-viewer-feedback{height:24px;min-height:24px;flex:none;text-align:center;padding:0 10px 7px;color:#efe4fc;font:500 11px/1.2 system-ui,sans-serif;margin:0}
@media(max-width:700px){
 .yana-photo-viewer{padding:0}
 .yana-photo-viewer-panel{width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0}
 .yana-photo-viewer-head{padding:10px 12px;gap:8px}
 .yana-photo-viewer-tools{gap:5px}
 .yana-photo-viewer-tool{font-size:11px;min-height:33px;padding:6px 9px}
 .yana-photo-viewer-close{width:33px;height:33px}
 .yana-photo-viewer-body{grid-template-columns:36px minmax(0,1fr) 36px;gap:4px;padding:8px 5px}
 .yana-photo-viewer-arrow{width:35px;height:54px;border-radius:10px;font-size:33px}
 .yana-photo-viewer-figure img{max-height:calc(100dvh - 180px)}
 .yana-photo-viewer-figure figcaption{font-size:11px}
}
@media(max-width:390px){.yana-photo-viewer-tool{font-size:10px;padding:6px 7px}}
@media(prefers-reduced-motion:reduce){.yana-photo-viewer-arrow{transition:none}}
