.be-media-gallery { padding-bottom: 30px; }
.be-media-intro { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0 30px; border-top: 1px solid #d9cdbd; }
.be-media-intro > p { max-width: 520px; font-size: 14px; color: #665f56; }
.be-media-networks { display: flex; flex-wrap: wrap; gap: 12px; }
.be-media-networks a { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; border: 1px solid #a59378; padding: 10px 18px; font-size: 13px; text-decoration: none; }
.be-media-networks a:hover { background: #e8dccf; color: #2d2d2d; }
.be-media-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 35px; }
.be-media-filters a { min-height: 44px; padding: 11px 19px; border: 1px solid #bcb09f; border-radius: 0; font-size: 13px; text-decoration: none; color: #2d2d2d; }
.be-media-filters a[aria-current=true] { background: #394b40; border-color: #394b40; color: #fff; }
.be-media-filters a:hover { border-color: #394b40; }
.be-media-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 42px 28px; align-items: start; }
.be-media-card { min-width: 0; }
.be-media-frame { aspect-ratio: 4/5; background: #e8e2d8; overflow: hidden; position: relative; }
.be-media-frame img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.be-media-visuel .be-media-frame { background: #f0e9df; }
.be-media-visuel .be-media-frame img { object-fit: contain; }
.be-media-frame video { display: block; width: 100%; height: 100%; object-fit: contain; background: #252d28; }
.be-media-enlarge { display: block; width: 100%; height: 100%; color: #fff; }
.be-media-enlarge > span { position: absolute; right: 14px; bottom: 14px; padding: 8px 13px; background: #222b25e8; font-size: 12px; color: #fff; }
.be-media-enlarge:hover img { transform: scale(1.025); }
.be-media-caption { padding: 22px 0 0; }
.be-media-caption > .be-eyebrow { font-size: 10px!important; letter-spacing: .15em; color: #66533b; margin-bottom: 10px; }
.be-media-caption > h2 { font-family: var(--be-serif,Georgia,serif); font-size: clamp(23px,2.2vw,30px); line-height: 1.28; margin: 0 0 14px; font-weight: 400; }
.be-media-caption > p:not(.be-eyebrow) { font-size: 14px; line-height: 1.8; color: #615b53; margin-bottom: 10px; }
.be-media-caption > .be-media-credit { font-size: 11px!important; }
.be-media-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 15px; }
.be-media-links a { padding: 8px 0; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; color: #364b3d; }
.be-media-empty { text-align: center; padding: 70px 25px; background: #eee9df; }
.be-media-empty h2 { font-size: clamp(30px,4vw,48px); line-height: 1.25; }
.be-media-empty > p:not(.be-eyebrow) { max-width: 520px; margin: 22px auto; font-size: 15px; }
.be-media-pagination { display: flex; justify-content: center; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 50px; font-size: 13px; }
.be-media-pagination a { border-bottom: 1px solid #75654f; padding: 12px 4px; text-decoration: none; }
.be-media-dialog { border: 0; padding: 54px 18px 16px; background: #f8f6f2; color: #2d2d2d; max-width: min(1100px,94vw); max-height: 94dvh; overflow: auto; box-shadow: 0 10px 80px #0005; }
.be-media-dialog::backdrop { background: #152219d9; }
.be-media-dialog figure { margin: 0; }
.be-media-dialog img { display: block; max-width: 100%; max-height: 76dvh; width: auto; height: auto; object-fit: contain; margin: 0 auto; }
.be-media-dialog figcaption { text-align: center; margin-top: 12px; font-size: 14px; }
.be-media-close { position: absolute; right: 12px; top: 6px; min-height: 42px; background: transparent; border: 0; color: #2d2d2d; padding: 8px 12px; cursor: pointer; }
.be-media-gallery a:focus-visible,.be-media-dialog button:focus-visible { outline: 3px solid #49674e; outline-offset: 4px; }
@media(max-width:1050px) { .be-media-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .be-media-intro { align-items: flex-start; flex-direction: column; gap: 18px; } .be-media-grid { grid-template-columns: 1fr; gap: 38px; } .be-media-frame { aspect-ratio: 4/5; } .be-media-filters { gap: 8px; } .be-media-filters a { font-size: 12px; padding: 11px 13px; } .be-media-caption > h2 { font-size: 28px; } .be-media-dialog { max-width: 96vw; padding-inline: 10px; } }
@media(prefers-reduced-motion:reduce) { .be-media-frame img { transition: none; } }
