/* Terry.ism v38 — compact modern visual diary and Reels gallery */

body:not(.has-media) .instagram-hub{
  width:min(960px,calc(100% - 32px))!important;
  margin:20px auto 0!important;
  padding:clamp(24px,3.4vw,34px)!important;
  border:1px solid #e4e6e9!important;
  border-radius:24px!important;
  background:linear-gradient(180deg,#fff 0%,#fcfcfb 100%)!important;
  box-shadow:0 18px 50px rgba(22,27,34,.065)!important;
}

body:not(.has-media) .instagram-hub::before{
  right:auto!important;
  left:clamp(24px,3.4vw,34px)!important;
  width:54px!important;
  height:3px!important;
  background:#c76335!important;
}

body:not(.has-media) .reels-heading-v110{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:start!important;
  gap:24px!important;
  margin:0 0 20px!important;
}

body:not(.has-media) .archive-title-lockup{max-width:570px!important}
body:not(.has-media) .instagram-hub .social-kicker{font-family:"Inter","Noto Sans KR",system-ui,sans-serif!important;font-size:9.5px!important;font-weight:800!important;line-height:1.3!important;letter-spacing:.14em!important}

body:not(.has-media) .reels-heading-v110 h2,
html[lang="ko"] body:not(.has-media) .reels-heading-v110 h2{
  margin:7px 0 7px!important;
  font-family:"Inter","Noto Sans KR",system-ui,sans-serif!important;
  font-size:clamp(28px,3.2vw,34px)!important;
  font-weight:760!important;
  line-height:1.13!important;
  letter-spacing:-.045em!important;
}

html[lang="ko"] body:not(.has-media) .reels-heading-v110 h2{font-family:"Noto Sans KR","Inter","Apple SD Gothic Neo",sans-serif!important;font-size:clamp(27px,3vw,32px)!important}
body:not(.has-media) .instagram-hub .reels-subcopy{max-width:520px!important;margin:0!important;color:#656c75!important;font-size:13.5px!important;line-height:1.55!important;text-wrap:pretty}

body:not(.has-media) .archive-heading-actions{display:flex!important;min-width:180px!important;flex-direction:column!important;align-items:flex-end!important;justify-content:flex-start!important;gap:8px!important}
body:not(.has-media) .archive-edition{position:static!important;display:inline-flex!important;align-items:center!important;gap:7px!important;padding:6px 9px!important;border:1px solid #e1e3e6!important;border-radius:999px!important;background:#fafafa!important;color:#717780!important}
body:not(.has-media) .archive-edition b{font-family:"Inter",system-ui,sans-serif!important;font-size:11px!important;font-weight:800!important;line-height:1!important;letter-spacing:-.02em!important}
body:not(.has-media) .archive-edition small{display:inline!important;font-size:8.5px!important;font-weight:750!important;line-height:1!important;letter-spacing:.09em!important}
body:not(.has-media) .archive-instagram-link{min-height:38px!important;padding:0 13px!important;border-radius:10px!important;font-size:11px!important;font-weight:750!important}
body:not(.has-media) .instagram-hub .reels-status{padding:0!important;color:#777e86!important;font-size:10px!important;font-weight:750!important;letter-spacing:.08em!important}

body:not(.has-media) .instagram-reels-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:stretch!important;
  gap:12px!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
}

body:not(.has-media) .instagram-reels-grid>.reel-card,
body:not(.has-media) .instagram-reels-grid>.reel-card:nth-child(2),
body:not(.has-media) .instagram-reels-grid>.reel-card:nth-child(3){width:100%!important;min-width:0!important;margin:0!important;padding:0!important}

body:not(.has-media) .instagram-hub .reel-card{
  overflow:hidden!important;
  border:1px solid #e4e6e8!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 8px 24px rgba(25,30,37,.065)!important;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease!important;
}

body:not(.has-media) .instagram-hub .reel-card:hover{border-color:#d1d5d9!important;transform:translateY(-2px)!important;box-shadow:0 13px 30px rgba(25,30,37,.09)!important}
body:not(.has-media) .reel-poster{aspect-ratio:4/5!important;border-radius:0!important;background:#edf0f2!important}
body:not(.has-media) .reel-poster>img:not(.reel-poster-fallback img){width:100%!important;height:100%!important;object-fit:cover!important}
body:not(.has-media) .reel-sequence{top:10px!important;left:10px!important;width:28px!important;height:28px!important;border-radius:9px!important;font-family:"Inter",system-ui,sans-serif!important;font-size:10px!important;font-weight:800!important}
body:not(.has-media) .reel-play-badge{right:10px!important;bottom:10px!important;width:39px!important;height:39px!important;border-radius:12px!important;font-size:11px!important}

body:not(.has-media) .reel-card-footer{display:flex!important;min-height:72px!important;align-items:center!important;gap:10px!important;padding:11px 12px!important;border:0!important;border-top:1px solid #eceef0!important;background:#fff!important}
body:not(.has-media) .reel-card-copy-link{display:flex;min-width:0;flex:1;flex-direction:column;gap:4px;color:inherit;text-decoration:none}
body:not(.has-media) .reel-card-copy-link:focus-visible{outline:2px solid #c76335;outline-offset:3px;border-radius:4px}
body:not(.has-media) .reel-card-footer b,
html[lang="ko"] body:not(.has-media) .reel-card-footer b{display:-webkit-box!important;overflow:hidden!important;color:#242930!important;font-family:"Inter","Noto Sans KR",system-ui,sans-serif!important;font-size:12.5px!important;font-weight:680!important;line-height:1.35!important;letter-spacing:-.025em!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important}
html[lang="ko"] body:not(.has-media) .reel-card-footer b{font-family:"Noto Sans KR","Inter","Apple SD Gothic Neo",sans-serif!important}
body:not(.has-media) .reel-card-footer small{color:#858b92!important;font-size:10px!important}
body:not(.has-media) .reel-card-footer>a[data-reel-link-copy],
body:not(.has-media) .reel-card-footer>span{display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;color:#9c4e29!important;font-size:9.5px!important;font-weight:800!important;text-decoration:none!important;white-space:nowrap!important}
body:not(.has-media) .reel-card-footer>a[data-reel-link-copy]:focus-visible{outline:2px solid #c76335;outline-offset:3px;border-radius:4px}
body:not(.has-media) .instagram-feed-note{margin:12px 1px 0!important;color:#747b83!important;font-size:11.5px!important;line-height:1.5!important}

body:not(.has-media) .exhibition-note{margin-top:18px!important;padding-top:17px!important;border-top-color:#e2e4e6!important}

@media(max-width:720px){
  body:not(.has-media) .instagram-hub{width:calc(100% - 16px)!important;margin-top:14px!important;padding:19px 14px 16px!important;border-radius:19px!important}
  body:not(.has-media) .instagram-hub::before{left:14px!important;width:42px!important}
  body:not(.has-media) .reels-heading-v110{grid-template-columns:1fr!important;gap:12px!important;margin-bottom:15px!important}
  body:not(.has-media) .instagram-hub .social-kicker{font-size:9px!important;letter-spacing:.1em!important}
  body:not(.has-media) .reels-heading-v110 h2,
  html[lang="ko"] body:not(.has-media) .reels-heading-v110 h2{margin:6px 0 5px!important;font-size:22px!important;line-height:1.18!important;letter-spacing:-.045em!important;white-space:nowrap!important}
  body:not(.has-media) .instagram-hub .reels-subcopy{max-width:310px!important;font-size:12.5px!important;line-height:1.5!important}
  body:not(.has-media) .archive-heading-actions{min-width:0!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important}
  body:not(.has-media) .archive-edition{display:none!important}
  body:not(.has-media) .archive-instagram-link{min-height:36px!important;padding:0 12px!important;border-radius:10px!important;font-size:10.5px!important}
  body:not(.has-media) .instagram-hub .reels-status{margin-left:auto!important;font-size:9.5px!important}
  body:not(.has-media) .instagram-reels-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;margin:0!important;padding:0!important;overflow:visible!important;scroll-snap-type:none!important}
  body:not(.has-media) .instagram-reels-grid>.reel-card:first-child{grid-column:1/-1!important}
  body:not(.has-media) .instagram-reels-grid>.reel-card:first-child .reel-poster{aspect-ratio:16/9!important}
  body:not(.has-media) .instagram-reels-grid>.reel-card:first-child .reel-poster>img{object-position:center 30%!important}
  body:not(.has-media) .instagram-reels-grid>.reel-card:not(:first-child) .reel-poster{aspect-ratio:4/5!important}
  body:not(.has-media) .instagram-hub .reel-card{border-radius:13px!important}
  body:not(.has-media) .reel-card-footer{min-height:62px!important;padding:9px 10px!important}
  body:not(.has-media) .instagram-reels-grid>.reel-card:first-child .reel-card-footer{min-height:58px!important}
  body:not(.has-media) .reel-card-footer b,
  html[lang="ko"] body:not(.has-media) .reel-card-footer b{font-size:12px!important;line-height:1.35!important}
  body:not(.has-media) .instagram-reels-grid>.reel-card:first-child .reel-card-footer b{font-size:12.5px!important;-webkit-line-clamp:1!important}
  body:not(.has-media) .reel-card-footer>a[data-reel-link-copy]{display:grid!important;width:29px!important;height:29px!important;place-items:center!important;overflow:hidden!important;border:1px solid #e0e3e6!important;border-radius:9px!important;font-size:0!important}
  body:not(.has-media) .reel-card-footer>a[data-reel-link-copy]::after{content:"↗";font-size:12px!important}
  body:not(.has-media) .instagram-feed-note{margin-top:10px!important;font-size:11px!important}
  body:not(.has-media) .exhibition-note{margin-top:14px!important;padding-top:14px!important}
}

@media(max-width:360px){
  body:not(.has-media) .reels-heading-v110 h2,
  html[lang="ko"] body:not(.has-media) .reels-heading-v110 h2{font-size:20px!important}
  body:not(.has-media) .instagram-reels-grid{gap:8px!important}
  body:not(.has-media) .reel-card-footer{padding:8px!important}
}

@media(prefers-reduced-motion:reduce){
  body:not(.has-media) .instagram-hub .reel-card{transition:none!important}
}
