/* Cases and tools share the approved blog's type, spacing, palette and shell. */
.jm-collection .collection-hero h1{max-width:820px}
.jm-collection .collection-directory-line{position:relative;display:flex;justify-content:space-between;gap:24px;align-items:center;margin-top:32px;padding-top:0;border:0;color:#fff;font-size:15px}
.jm-collection .collection-directory-line a{color:#fff;font-weight:650;padding-block:8px;text-underline-offset:5px}
.jm-collection .collection-directory-line a:hover{text-decoration:underline}
.jm-collection .collection-projects{scroll-margin-top:150px}
.jm-collection .collection-featured{padding-bottom:88px}
.jm-collection .collection-featured .blog-featured-image{min-height:0;aspect-ratio:16/10}
.jm-collection .collection-featured .blog-featured-copy h2{font-size:var(--type-section-compact)!important}
.jm-collection .collection-featured .blog-featured-meta .collection-context{background:transparent;padding:0;color:#004A8A}
.jm-collection .collection-button{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:14px 23px;margin-top:25px;border:0;border-radius:4px;background:#5BDF66;color:#002D54;font-family:JMManrope,sans-serif;font-size:16px;font-weight:750;line-height:1.5;text-align:center;text-decoration:none;transition:background 180ms ease}
.jm-collection .collection-button:hover{background:#4BD15A}
.jm-collection .collection-button:active{background:#3FC650}
.jm-collection .collection-button:focus-visible{outline:3px solid #004A8A;outline-offset:4px}
.jm-collection .collection-case-list{padding-top:40px;padding-bottom:80px;border:0}
.jm-collection .collection-case-list .blog-section-heading h2{font-size:var(--type-section)!important;line-height:var(--type-leading-heading)!important;letter-spacing:var(--type-tracking-heading)!important}
.jm-collection .collection-case-image{background:#f7f8fa}
.jm-collection .collection-case-image:empty{display:none}
.jm-collection .collection-case-apto-brasil{display:grid;place-items:center}
.jm-collection .collection-case-apto-brasil img{position:static;width:190px;max-width:58%;height:auto;object-fit:contain;transform:none}
.jm-collection .collection-card-context{color:#004A8A!important;font-size:14px!important;font-weight:650;margin:0!important}
.jm-collection .collection-case-card .blog-card-body>p:not(.collection-card-context){max-width:510px}
.jm-collection .collection-pagination{padding-bottom:20px}
.jm-collection .collection-pagination:has(.blog-pagination){padding-bottom:90px}
.jm-collection .collection-tools-list{padding-top:24px;padding-bottom:120px;scroll-margin-top:145px}
.jm-collection .collection-tools-grid{row-gap:76px}
.jm-collection .collection-tool-card .blog-card-image{aspect-ratio:1.8}
.jm-collection .collection-tool-card .blog-card-body{display:flex;align-items:flex-start;flex-direction:column}
.jm-collection .collection-tool-card .blog-card-body h3{margin-top:0}
.jm-collection .collection-tool-card .blog-card-body>p{max-width:520px}
.jm-collection .collection-tool-card .collection-button{margin-top:23px}
.jm-collection .collection-empty{padding-block:40px 100px}
@media(max-width:1000px){.jm-collection .collection-featured .blog-featured-image{min-height:0;aspect-ratio:1.6}.jm-collection .collection-featured .blog-featured-copy{max-width:720px}}
@media(max-width:760px){.jm-collection .collection-directory-line{margin-top:36px;gap:18px;flex-wrap:wrap}.jm-collection .collection-featured{padding-bottom:76px}.jm-collection .collection-case-list{padding:72px 20px 80px}.jm-collection .collection-tools-list{padding:10px 20px 86px}.jm-collection .collection-tools-grid{row-gap:50px}.jm-collection .collection-tool-card .blog-card-image{aspect-ratio:1.5}.jm-collection .collection-button{min-height:50px}.jm-collection .collection-case-list .blog-card-grid{gap:52px}.jm-collection .collection-pagination{padding-inline:20px}}
@media(prefers-reduced-motion:reduce){.jm-collection .collection-button{transition:none;transform:none}}

/* Override the legacy auto-sizes snippet only inside these cover containers. */
.jm-collection .collection-tool-card .blog-card-image img{width:100%;height:100%!important;object-fit:cover}
