.academy-instagram[hidden],.academy-instagram [hidden],.instagram-admin [hidden]{display:none!important}
.academy-instagram{padding:80px max(24px,calc((100vw - 1160px)/2));background:#f6f4ee;color:#191919;scroll-margin-top:110px}
.academy-instagram-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:34px}
.academy-instagram-label{font-size:12px!important;font-weight:700;letter-spacing:1.5px;color:#796525!important;margin:0 0 18px!important}
.academy-instagram-heading h2{font-size:clamp(30px,3.4vw,48px);line-height:1.3;letter-spacing:-1.8px;margin:0 0 18px}
.academy-instagram-heading p{font-size:15px;line-height:1.8;color:#5c5b56;margin:0}
.academy-instagram-profile,.academy-instagram-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:13px 22px;border:1px solid #b99a45;border-radius:30px;font-size:14px;font-weight:700;white-space:nowrap;flex-shrink:0;background:transparent;cursor:pointer}
.academy-instagram-profile:hover,.academy-instagram-actions button:hover{background:#ecc04c}
.academy-instagram-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:start}
.academy-instagram-card{min-width:0;background:white;border:1px solid #e4e0d5;border-radius:16px;overflow:hidden}
.academy-instagram-post-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px;font-size:13px;font-weight:700}
.academy-instagram-post-head time{font-size:11px;font-weight:400;color:#777}
.academy-instagram-gallery{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;background:#171717}
.academy-instagram-frame{flex:0 0 100%;min-width:0;aspect-ratio:4/5;scroll-snap-align:start;display:flex;align-items:center;justify-content:center}
.academy-instagram-frame img,.academy-instagram-frame video{width:100%;height:100%;object-fit:contain;display:block}
.academy-instagram-gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px;font-size:12px}
.academy-instagram-gallery-controls button{width:38px;height:36px;border:1px solid #ddd;border-radius:18px;background:white;cursor:pointer}
.academy-instagram-gallery-controls button:disabled{opacity:.3;cursor:default}
.academy-instagram-caption{white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;padding:20px;margin:0;font-size:14px;line-height:1.85}
.academy-instagram-original{display:block;padding:17px 20px;border-top:1px solid #eeeae1;font-size:13px;font-weight:600;text-align:center}
.academy-instagram-original:hover{text-decoration:underline;text-underline-offset:4px}
.academy-instagram-status{font-size:12px;color:#6d6a61;text-align:center;line-height:1.8;margin:24px 0 0}
.academy-instagram-actions{text-align:center;margin-top:28px}
.instagram-admin-body{margin:0;background:#f6f4ee;color:#191919;font:16px/1.7 system-ui,sans-serif}
.instagram-admin{max-width:700px;margin:50px auto;padding:28px;background:white;border:1px solid #dedbd2;border-radius:16px}
.instagram-admin h1{font-size:28px}.instagram-admin a{color:#675119}.instagram-admin form{display:grid;gap:14px;margin:20px 0}.instagram-admin label{display:grid;gap:8px}
.instagram-admin input{box-sizing:border-box;width:100%;padding:12px;border:1px solid #ccc;border-radius:8px;font:inherit}.instagram-admin button{min-height:44px;padding:10px 20px;background:#24242b;color:white;border:0;border-radius:8px;font:inherit;cursor:pointer}.instagram-admin button:disabled{opacity:.5}.instagram-admin details{margin:28px 0}.instagram-admin summary{cursor:pointer}.instagram-admin dt{font-weight:700}.instagram-admin dd{margin:0 0 14px}
@media(max-width:999px){.academy-instagram-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.academy-instagram-heading{align-items:flex-start;flex-direction:column}.academy-instagram{padding-top:60px;padding-bottom:60px}}
@media(max-width:599px){.academy-instagram{padding:48px 16px}.academy-instagram-grid{grid-template-columns:minmax(0,1fr);gap:24px;max-width:460px;margin:auto}.academy-instagram-heading{gap:20px}.academy-instagram-heading h2{letter-spacing:-1px}.academy-instagram-heading p{font-size:14px}.instagram-admin{margin:16px;padding:20px}}
