/* AMF v16.8.5 — módulo de galerias derivado da Bohemia aprovada. */
body.inner-case .amf-case-gallery{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important;columns:auto!important;align-items:stretch}
body.inner-case .amf-case-gallery figure{min-width:0;margin:0!important;padding:16px;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;background:#fff;border:1px solid rgba(0,0,0,.07);border-radius:20px;overflow:hidden;break-inside:auto}
body.inner-case .amf-case-gallery figure img{display:block;width:100%!important;height:360px!important;max-height:none!important;object-fit:contain!important;object-position:center!important;background:#ecece8}
body.inner-case .amf-case-gallery figure.amf-gallery-feature{grid-column:1/-1}
body.inner-case .amf-case-gallery figure.amf-gallery-feature img{height:520px!important}
body.inner-case .amf-case-gallery figcaption{align-self:stretch;margin:0!important;margin-top:auto!important;padding:14px 16px 16px!important;font-size:12px;line-height:1.5;color:#5e5e63}
.amf-heineken-cover{background:#ecece8!important}
.amf-heineken-cover img{height:520px!important;object-fit:contain!important;object-position:center!important;background:#ecece8!important}
.amf-project-overview .v163-project-card{display:flex;flex-direction:column}
.amf-project-overview .v163-project-card>div{display:flex;flex-direction:column;flex:1}
.amf-project-overview .v163-project-card>div>.v16-text-link{align-self:flex-start;margin-top:auto}
.amf-special-section{scroll-margin-top:108px}
.amf-special-section .amf-special-case{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;margin-top:30px}
.amf-special-section .amf-special-case>figure{margin:0;border:1px solid #deded9;border-radius:20px;padding:16px;background:#fff}
.amf-special-section .amf-special-case img{width:100%;height:360px;object-fit:contain;object-position:center;background:#ecece8}
.amf-special-section .amf-special-case figcaption{padding:14px 10px 2px;font-size:12px;color:#5e5e63;line-height:1.5}
.amf-special-section .amf-special-case h3{font-size:clamp(28px,3vw,42px);letter-spacing:-.04em;line-height:1.12;margin:12px 0 20px}
.amf-special-section .amf-special-case p{font-size:17px;line-height:1.65;color:#454549}
.amf-special-section .amf-special-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:22px}
.amf-special-section .amf-special-actions a{min-height:44px;display:inline-flex;align-items:center}
.amf-historical-credit{font-size:12px!important;line-height:1.55!important;font-weight:500!important}
.amf-historical-credit .amf-at-the-time{white-space:nowrap;font-size:inherit!important;line-height:inherit!important;color:inherit!important}
.v168-client-proof .amf-historical-credit{font-size:14px!important;color:#d7d7d9}
@media(max-width:900px){
 body.inner-case .amf-case-gallery figure img{height:300px!important}
 body.inner-case .amf-case-gallery figure.amf-gallery-feature img{height:420px!important}
 .amf-heineken-cover img{height:420px!important}
 .amf-special-section .amf-special-case{gap:24px}
}
@media(max-width:700px){
 body.inner-case .amf-case-gallery{grid-template-columns:1fr!important;gap:20px!important}
 body.inner-case .amf-case-gallery figure{padding:12px}
 body.inner-case .amf-case-gallery figure.amf-gallery-feature{grid-column:auto!important}
 body.inner-case .amf-case-gallery figure img,body.inner-case .amf-case-gallery figure.amf-gallery-feature img{height:auto!important;max-height:none!important}
 body.inner-case .amf-case-gallery figcaption{padding:12px 14px 16px!important}
 .amf-heineken-cover img{height:auto!important;max-height:none!important}
 .amf-special-section .amf-special-case{grid-template-columns:1fr;gap:24px}
 .amf-special-section .amf-special-case img{height:auto}
}
