/* Scoped to the About block; no changes to the catalogue or admin layout. */
.about-section[hidden],.about-jump[hidden]{display:none!important}
.about-jump{display:inline-block;margin-top:12px;color:#6726ab;font-size:13px;font-weight:650;text-decoration:none;text-underline-offset:3px}
.about-jump:hover{text-decoration:underline}
.about-section{margin:0 0 32px;scroll-margin-top:100px}
.about-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start}
.about-card{min-width:0;border:1px solid #e8e4eb;border-radius:15px;overflow:hidden;background:#fff}
.about-media{position:relative;display:block;width:100%;aspect-ratio:4/3;padding:0;border:0;margin:0;background:#f4f0f7;color:#76558b;overflow:hidden;cursor:pointer;font:inherit}
.about-media>img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
.about-media-fallback{position:absolute;inset:0;display:flex;align-items:flex-end;justify-content:center;padding:24px;font-size:13px}
.about-media:focus-visible{outline:3px solid #6726ab;outline-offset:-4px}
.about-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:58px;height:58px;border-radius:50%;display:grid;place-items:center;padding-left:3px;background:rgba(255,255,255,.94);color:#6726ab;font-size:23px;box-shadow:0 2px 18px rgba(30,20,40,.15)}
.about-kind{position:absolute;left:14px;bottom:14px;background:rgba(30,20,40,.75);border-radius:7px;padding:5px 9px;color:#fff;font-size:11px}
.about-card-body{padding:20px}
.about-card-body h3{margin:0 0 9px;font-size:18px;font-weight:750;letter-spacing:-.02em;line-height:1.3;color:#302a32;overflow-wrap:anywhere}
.about-card-body p{margin:0;font-size:14px;line-height:1.65;color:#665d6c;white-space:pre-wrap;overflow-wrap:anywhere}
.about-card-text{background:#fdfbfe}
.about-card-text .about-card-body{padding:25px}
/* The site's universal margin:0 reset overrides the native dialog centering. */
.about-dialog{position:fixed;inset:0;margin:auto;box-sizing:border-box;padding:0;border:1px solid #e8e4eb;border-radius:16px;width:min(1040px,calc(100% - 32px));max-width:none;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);background:#fff;color:#302a32;overflow:auto;overscroll-behavior:contain}
.about-dialog::backdrop{background:rgba(20,14,25,.76)}
.about-dialog-bar{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 18px;background:#fff;border-bottom:1px solid #eee7f1}
.about-dialog-bar h2{font-size:17px;line-height:1.35;margin:0;overflow-wrap:anywhere}
.about-dialog-close{flex:none;width:40px;height:40px;border:1px solid #e8e4eb;border-radius:10px;background:#fff;font-size:28px;color:#554a5f;cursor:pointer}
.about-dialog-close:focus-visible{outline:3px solid #6726ab}
.about-dialog-media{display:flex;align-items:center;justify-content:center;height:70vh;height:70dvh;background:#f5f2f7}
.about-dialog-media img,.about-dialog-media video{display:block;width:100%;height:100%;max-height:70vh;max-height:70dvh;object-fit:contain}
.about-dialog-caption{margin:0;padding:17px 20px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.65}
.about-media-error{padding:30px;font-size:14px}
.about-media-error a{color:#6726ab}
@media(max-width:1100px){.about-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.about-grid{grid-template-columns:1fr;gap:15px}.about-card-body{padding:18px}.about-section{margin-bottom:26px}.about-dialog{width:calc(100% - 16px);max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px)}.about-dialog-bar{padding:10px 12px}}

.about-placeholder .about-media{background:#f4f2f6;pointer-events:none}.about-load-error{font-size:14px;color:#706b76;min-height:280px;padding:24px}.about-card .about-media{contain:layout paint}
