/* The existing photo lightbox and local previews remain available without Instagram. */
.offer-site .instagram-profile-filters{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
.instagram-profile-filters button{font:13px/1.4 var(--sans);padding:10px 16px;border:1px solid #bdc7b3;background:transparent;color:#283d30;min-height:44px;cursor:pointer}
.instagram-profile-filters button[aria-pressed=true]{background:#294735;color:#fff9ed;border-color:#294735}
.offer-site .instagram-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding-bottom:12px;color:#596450;font:12px/1.5 var(--sans);overflow-wrap:anywhere}
.instagram-meta>span:last-child{border:1px solid #bbc6ad;padding:3px 8px;border-radius:20px;font-size:11px}
.offer-site .social-card>div{display:flex;flex-direction:column;gap:12px}
.offer-site .social-card>div>p{margin:0;min-height:3em}
.offer-site .social-card>div .instagram-caption{font-size:13px;line-height:1.6;color:#596450;min-height:0}
.offer-site .social-card [data-photo-post]{margin-top:auto}
.offer-site .social-card [data-instagram-post]{min-height:44px;font-size:14px;padding:12px}
.offer-site .instagram-empty{padding:20px;border:1px solid #c4ccb9;font-size:14px}
@media(max-width:700px){.offer-site .instagram-meta{font-size:11px}.instagram-profile-filters button{padding:10px 12px;font-size:12px}}

.offer-site .instagram-local-view{display:flex;align-items:center;justify-content:center;min-height:44px;padding:12px;border:1px solid currentColor;text-decoration:none;font:14px/1.4 var(--sans)}
.offer-site .instagram-local-view:hover{background:#e7e9dd}
.offer-site .instagram-local-view:focus-visible{outline:2px solid currentColor;outline-offset:4px}
.estate-photo-dialog .photo-dialog-controls{flex-wrap:wrap}
.estate-photo-dialog .photo-dialog-controls a{max-width:100%;overflow-wrap:anywhere}
.estate-photo-dialog [data-photo-original][hidden]{display:none}
/* Pagination and per-post actions keep the existing ivory/forest design. */
.estate-photo-gallery .social-card[hidden],.estate-photo-gallery [data-post-more][hidden],.estate-photo-gallery [data-frame-controls][hidden],.estate-photo-gallery .photo-share-fallback[hidden],.estate-photo-gallery [data-post-share][hidden]{display:none!important}
.instagram-js .instagram-permalink{display:none}
.estate-photo-gallery [id^=post-]{scroll-margin-top:110px}
.estate-photo-gallery [data-post-share]{min-height:44px}
.instagram-more{display:block;min-height:48px;margin:24px auto 12px;padding:12px 28px;background:#294735;color:#fff9ed;border:1px solid #294735;font:inherit;cursor:pointer}
.photo-frame-controls{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;margin:8px 0 16px;text-align:center}
.photo-frame-controls p{margin:0;font-size:14px}
[data-frame-dots]{display:flex;grid-column:1/-1;justify-content:center;flex-wrap:wrap;gap:6px}
.estate-photo-dialog [data-frame-dots] button{padding:6px;min-width:36px;min-height:36px;font-size:12px}
.estate-photo-dialog [data-frame-dots] button[aria-pressed=true]{background:#294735;color:#fff9ed}
.photo-share-fallback{display:grid;gap:8px;min-width:0;width:100%;font-size:13px}
.photo-share-fallback input{box-sizing:border-box;min-width:0;width:100%;padding:12px;border:1px solid #aebaa7;background:#fffdf6;color:#283d30;font:inherit}
[data-share-status]:empty,[data-gallery-status]:empty{display:none}
.estate-photo-dialog img{max-height:calc(100dvh - 380px)}
@media(max-width:600px){.estate-photo-dialog img{max-height:calc(100dvh - 420px);min-height:100px}.estate-photo-dialog .photo-dialog-controls{gap:10px}.estate-photo-dialog .photo-dialog-controls>*{flex:0 1 auto}}
.instagram-likes{font-size:12px;font-weight:600;color:#8a5a33;background:#f7efe4;border-radius:5px;padding:2px 8px}
.instagram-follow{display:flex;flex-wrap:wrap;gap:10px 24px;margin:0 0 20px;font-size:15px}
.estate-photo-dialog video.photo-dialog-video{max-width:min(92vw,760px);max-height:calc(100dvh - 380px);min-height:180px;border-radius:6px;background:#000}
@media(max-width:600px){.estate-photo-dialog video.photo-dialog-video{max-height:calc(100dvh - 420px)}}
.instagram-archive-toggle{margin-top:10px;background:transparent;border:1px dashed #aebaa7;color:#425b4e;border-radius:7px;padding:8px 14px;font:inherit;font-size:13px}
.instagram-archive-toggle:hover{border-style:solid;color:#244a38}
