/* Photo page: the photo with its details on the right, comments below. */
.photo-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;grid-template-areas:"stage side" "main side";gap:1.25rem 1.5rem;align-items:start;margin-top:1rem}
.photo-stage{grid-area:stage;display:flex;align-items:center;justify-content:center;background:#0f151c;border-radius:12px;overflow:hidden;min-height:240px}
.photo-stage img{display:block;width:100%;height:auto;max-height:78vh;object-fit:contain}
.photo-side{grid-area:side;display:flex;flex-direction:column;gap:1rem;position:sticky;top:90px}
.photo-main{grid-area:main;min-width:0}
.photo-main .social-comments{margin-top:0}
.photo-panel{padding:1rem 1.1rem;border:1px solid var(--line);border-radius:12px;background:var(--card-bg,#fff)}
body:not(.page-tv) .photo-side .photo-panel h2{font-size:.8rem !important;line-height:1.3 !important;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);margin:0 0 .7rem}
body:not(.page-tv) .photo-side .photo-panel h2::after{display:none}
.photo-title{font-size:1.45rem;line-height:1.2;margin:0 0 .25rem}
.photo-title a{color:inherit;text-decoration:none}
.photo-title a:hover{text-decoration:underline}
.photo-subtitle{margin:0 0 .5rem;color:var(--muted);font-size:.95rem}
.photo-like{display:flex;flex-wrap:wrap;gap:.4rem .75rem;align-items:center;margin-top:.6rem}
.photo-comment-link{text-decoration:none}
.photo-person{display:flex;gap:.7rem;align-items:center}
.photo-person>div{min-width:0;overflow-wrap:anywhere}
.photo-person-icon{flex:0 0 44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#eef1f4;color:var(--muted)}
.photo-note{margin:.8rem 0 0;padding:.6rem .8rem;border-left:3px solid #f0b323;background:rgba(128,128,128,.08);border-radius:0 8px 8px 0;font-size:.95rem;overflow-wrap:anywhere}
.photo-facts{margin:0}
.photo-facts>div{display:grid;grid-template-columns:118px minmax(0,1fr);gap:.6rem;padding:.45rem 0;border-top:1px solid var(--line)}
.photo-facts>div:first-child{border-top:0;padding-top:0}
.photo-facts dt{font-weight:600;color:var(--muted);font-size:.88rem}
.photo-facts dt i{width:1.1em;text-align:center;margin-right:.25rem;opacity:.8}
.photo-facts dd{margin:0;overflow-wrap:anywhere}
.photo-code{display:inline-block;padding:0 .35rem;border-radius:4px;background:#eef1f4;font-size:.78rem;font-weight:700;letter-spacing:.03em}
.photo-more{display:grid;grid-template-columns:repeat(3,1fr);gap:.4rem}
.photo-more a{display:block;aspect-ratio:3/2;border-radius:6px;overflow:hidden;background:#0f151c}
.photo-more img{width:100%;height:100%;object-fit:cover;display:block;transition:opacity .15s}
.photo-more a:hover img{opacity:.85}
@media (max-width: 991px){
.photo-layout{grid-template-columns:1fr;grid-template-areas:"stage" "side" "main"}
.photo-side{position:static}
.photo-stage{min-height:0;border-radius:10px}
}
