/* Formation SG : catalogue uniquement, template Leaves. */
.com-content-article .sg-page .sg-grid:has(>.sg-card>img){grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch;margin-bottom:40px}
.com-content-article .sg-page .sg-grid:has(>.sg-card>img)>.sg-card:has(>img){padding:0;background:#fff;border:0;border-radius:10px;overflow:hidden;box-shadow:0 5px 15px rgba(0,0,0,.05);display:flex;flex-direction:column;min-width:0}
.com-content-article .sg-page .sg-card:has(>img)>img{display:block;width:100%;max-width:100%;height:240px;object-fit:cover;margin:0;border-radius:0}
.com-content-article .sg-page .sg-card:has(>img)>div{padding:28px 20px 24px;display:flex;flex-direction:column;flex:1;min-width:0}
.com-content-article .sg-page .sg-card:has(>img) h3{font-size:34px;font-weight:400;line-height:1.4;color:#292929;margin:6px 0 18px}
.com-content-article .sg-page .sg-card:has(>img) p{font-size:16px;line-height:1.65;margin:0 0 16px}
.com-content-article .sg-page .sg-card:has(>img) .sg-button{align-self:flex-start;margin-top:auto;background:#ffd000;color:#000;border:0;border-radius:5px;padding:10px 18px;font-size:15px;font-weight:700;text-decoration:none;line-height:1.6;min-height:44px;box-sizing:border-box}
.com-content-article .sg-page .sg-card:has(>img) .sg-button:hover{background:#edc100;color:#000}
.com-content-article .sg-page .sg-card:has(>img) .sg-button:focus-visible{outline:3px solid #242424;outline-offset:3px}
@media(max-width:1000px){.com-content-article .sg-page .sg-grid:has(>.sg-card>img){grid-template-columns:repeat(2,minmax(0,1fr))}.com-content-article .sg-page .sg-card:has(>img) h3{font-size:29px}}
@media(max-width:650px){.com-content-article .sg-page .sg-grid:has(>.sg-card>img){grid-template-columns:minmax(0,1fr);gap:24px}.com-content-article .sg-page .sg-card:has(>img)>img{height:auto;aspect-ratio:3/2;object-fit:contain}.com-content-article .sg-page .sg-card:has(>img)>div{padding:22px 20px 24px}.com-content-article .sg-page .sg-card:has(>img) h3{font-size:28px;margin-top:0}.com-content-article .sg-page .sg-card:has(>img) .sg-button{margin-top:8px}}

.com-content-article .sg-page .sg-card:has(>img)>div.sg-card-body{background:#fff;border:0;border-radius:0}
.com-content-article .sg-page .sg-card:has(>img) h3 a{color:inherit;text-decoration:none}
.com-content-article .sg-page .sg-card:has(>img)>div>a:last-child:not(.sg-button){align-self:flex-start;margin-top:auto;background:#ffd000;color:#000;border:0;border-radius:5px;padding:10px 18px;font-size:15px;font-weight:700;text-decoration:none;line-height:1.6;min-height:44px;box-sizing:border-box}
.com-content-article .sg-page .sg-card:has(>img)>div>a:last-child:not(.sg-button):hover{background:#edc100}
