/* Photos caption extension v2.8: additive, does not alter existing page layout. */
.st-photo-caption-section[hidden],.st-photo-story-overlay[hidden],#st-photo-caption-expand[hidden]{display:none!important}
.st-photo-caption-section{padding:12px 18px 16px;border-top:1px solid #354957;color:#e8e5de}
.st-photo-caption-label{font-size:11px;letter-spacing:.13em;color:#d4b479;font-weight:700;margin-bottom:7px}
.st-photo-caption-text{font-size:14px;line-height:1.6;max-height:4.8em;overflow-y:auto;overflow-x:hidden;white-space:pre-wrap;overflow-wrap:anywhere;overscroll-behavior:contain;scrollbar-width:thin}
#st-photo-caption-expand{margin-top:9px;padding:7px 0;border:0;background:transparent;color:#e9c68c;cursor:pointer;text-decoration:underline;font:inherit;font-size:13px}
.st-photo-story-overlay{position:fixed;inset:0;z-index:10010;background:rgba(0,0,0,.85);padding:clamp(12px,3vh,32px);display:flex;align-items:center;justify-content:center;box-sizing:border-box}
.st-photo-story-panel{width:min(760px,100%);max-height:calc(100dvh - 32px);overflow:hidden;display:flex;flex-direction:column;background:#0b1b27;color:#e9e6e0;border:1px solid #65747e;box-shadow:0 15px 60px #000b}
.st-photo-story-top{display:flex;justify-content:space-between;align-items:center;padding:16px 22px;border-bottom:1px solid #354957;gap:16px}
.st-photo-story-top strong{font-family:Georgia,serif;font-size:20px;font-weight:normal}
#st-photo-story-close{background:none;color:#fff;border:0;font-size:30px;cursor:pointer}
.st-photo-story-body{padding:22px;overflow-y:auto;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;font-size:16px;overscroll-behavior:contain}

/* v2.9: optional social share targets, no download control. */
.st-photo-social-links{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-left:4px}
.st-photo-social-links a{display:inline-flex;align-items:center;justify-content:center;padding:9px 11px;border:1px solid #6c7680;color:#edc888;background:#142c3b;font-size:13px;text-decoration:none;line-height:1.3}
.st-photo-social-links a:hover,.st-photo-social-links a:focus-visible{background:#244558;color:#fff}
.st-photo-lightbox-actions{flex-wrap:wrap;gap:8px}
