/* Image-led case cards. Natural image proportions also support prepared collages. */
.official-home .case-gallery{display:block;columns:4;column-gap:18px}
.official-home .case-gallery>.library-card-wrap,.official-home .case-gallery>.case-card{break-inside:avoid;display:block;margin:0 0 18px}
.official-home .case-gallery .case-card{display:block;height:auto;border:1px solid #e9edf2;border-radius:12px;box-shadow:none}
.official-home .case-gallery .case-photo{aspect-ratio:auto;max-height:none;background:#f7f8fa}
.official-home .case-gallery .case-photo img{display:block;width:100%;height:auto;object-fit:contain}
.official-home .case-gallery .case-photo small{top:auto;bottom:8px;left:8px;padding:3px 7px;font-size:11px}
.official-home .case-gallery .case-card-copy{display:block;padding:12px 14px}
.official-home .case-gallery .case-card h3{font-size:17px;min-height:0;line-height:1.5;margin:0}
.case-card-summary{font-size:13px;color:#687589;line-height:1.6;margin:7px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.case-stories-page .catalog-heading{padding-top:20px}.case-stories-page .catalog-back{margin-bottom:12px}
.case-stories-page .catalog-heading h1{font-size:30px}.case-stories-page .catalog-heading>p:not(.official-kicker){margin-bottom:16px}
.case-stories-page .catalog-tabs{margin-bottom:18px}
/* A single reading column, with controls available while the note scrolls. */
.catalog-case-detail.case-note.case-detail-minimal,.catalog-case-detail.case-note{width:min(680px,calc(100vw - 32px));padding:0;max-height:92dvh;overscroll-behavior:contain;border-radius:16px}
.case-note .case-note-toolbar{position:sticky;top:0;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 14px;background:#fff;border-bottom:1px solid #edf0f4}
.case-note .case-note-toolbar>span{font-size:14px;color:#566578}
.case-note .case-note-toolbar button{margin:0;min-height:44px;border:0;background:#fff;color:#17304e;font-size:15px;padding:8px;cursor:pointer;border-radius:6px}
.case-note .case-note-toolbar .case-note-share{color:#1767e8}
.catalog-case-detail.case-note .case-detail-content{display:block;padding:0}
.catalog-case-detail.case-note .case-detail-large img{width:100%;height:auto;max-height:42dvh;object-fit:contain;background:#f7f8fa}
.case-note .case-detail-gallery{min-width:0}
.case-note .case-detail-copy{padding:16px 22px 4px}
.case-note.case-detail-minimal .case-detail-copy h1{font-size:24px;line-height:1.5;margin:0 0 10px;overflow-wrap:anywhere}
.case-note .case-short-intro,.case-note-description{font-size:16px;line-height:1.8;color:#425166;white-space:pre-wrap;overflow-wrap:anywhere}
.case-note-description{margin:10px 0 0}
.case-note-description.is-collapsed{display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}
.case-note-description.is-expanded{display:block}
.case-note .case-note-expand{font:inherit;font-size:14px;border:0;background:none;color:#1767e8;padding:8px 0;cursor:pointer}
.case-note .case-short-tags{margin:14px 0;gap:8px}.case-note .case-short-tags span{font-size:13px;padding:4px 9px}
.case-note .case-demo-caption{text-align:left;font-size:12px;margin:8px 0;color:#84714c}
.case-note .case-detail-caption{text-align:center;font-size:13px;color:#69778a;margin:0;padding:0 16px 8px}
.case-note .case-note-dots{display:flex;justify-content:center;gap:0;margin:0;padding:6px 0;overflow:visible}
.case-note .case-note-dots button{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border:0;padding:0;background:transparent;cursor:pointer}
.case-note .case-note-dots button span{display:block;width:6px;height:6px;background:#cbd1da;border-radius:50%}
.case-note .case-note-dots button[aria-pressed=true] span{background:#1767e8;width:8px;height:8px}
.case-note .case-detail-disclosures{margin:8px 22px 18px;padding-top:8px}
.case-note .case-note-actions{position:sticky;bottom:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 22px max(12px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e7edf4}
.case-note-actions p{font-size:14px;line-height:1.5;margin:0}.case-note-actions small{display:block;font-size:12px;color:#69778a;margin-top:3px}
.case-note-actions .official-primary{display:flex;align-items:center;justify-content:center;white-space:nowrap;margin:0;min-height:46px;padding:10px 22px;font-size:16px;box-sizing:border-box}
.case-note .case-share-panel{position:sticky;top:64px;z-index:5;padding:16px 22px;background:#f5f8fd;border-bottom:1px solid #dce5f1}
.case-share-panel[hidden]{display:none}.case-share-heading{display:flex;justify-content:space-between;align-items:center}
.case-share-panel p{font-size:14px;color:#566578;line-height:1.6;margin:8px 0}.case-share-panel label{display:block;font-size:13px;color:#566578}
.case-share-panel input{box-sizing:border-box;display:block;width:100%;min-width:0;border:1px solid #c9d6e7;background:#fff;padding:10px;font:inherit;font-size:14px;line-height:1.5;margin:6px 0 12px;border-radius:6px}
.case-share-panel button{border:1px solid #c9d6e7;background:#fff;border-radius:7px;padding:10px 14px;font-size:14px;color:#1767e8;cursor:pointer;min-height:44px}
.case-share-heading button{border:0;background:none;font-size:24px;padding:0 10px}.case-share-actions{display:flex;gap:10px;flex-wrap:wrap}.case-share-status:empty{display:none}
.case-note button:focus-visible,.case-note a:focus-visible{outline:3px solid #1767e8;outline-offset:2px}
@media(max-width:1100px){.official-home .case-gallery{columns:3}}
@media(max-width:760px){
 .official-home .case-gallery{columns:2;column-gap:10px}.official-home .case-gallery>.library-card-wrap,.official-home .case-gallery>.case-card{margin-bottom:10px}
 .official-home .case-gallery .case-card-copy{padding:10px}.official-home .case-gallery .case-card h3{font-size:15px}.case-card-summary{font-size:12px}
 .case-stories-page .catalog-heading{padding-top:12px}.case-stories-page .catalog-heading h1{font-size:23px}.case-stories-page .catalog-heading .official-kicker{display:none}
 .catalog-case-detail.case-note.case-detail-minimal,.catalog-case-detail.case-note{width:100%;height:100dvh;max-height:100dvh;max-width:100vw;margin:0;border:0;border-radius:0}
 .case-note .case-note-toolbar{padding:6px 10px}.case-note .case-note-toolbar>span{font-size:13px}
 .catalog-case-detail.case-note .case-detail-large img{max-height:65dvh}
 .case-note .case-detail-copy{padding:12px 16px 4px}.case-note.case-detail-minimal .case-detail-copy h1{font-size:21px}
 .case-note .case-detail-disclosures{margin:8px 16px 18px}.case-note .case-note-actions{padding:10px 16px max(10px,env(safe-area-inset-bottom))}
 .case-note-actions .official-primary{padding:10px 16px;font-size:15px}.case-note-actions p{font-size:12px}.case-note-actions small{font-size:11px}
 .case-note .case-share-panel{top:56px;padding:14px 16px}
}
