/* Videos page: page-only styles. Tokens come from site.css. */
.ct-hero { padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(32px, 5vw, 56px); }
.ct-hero h1 { margin-bottom: 18px; }
.ct-ig { padding-bottom: clamp(64px, 9vw, 112px); display: grid; gap: 40px; }

/* Profile card */
.ig-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px 32px; background: var(--lime); border: var(--line); border-radius: var(--r-lg); box-shadow: 12px 12px 0 var(--ink); padding: clamp(24px, 4vw, 40px); max-width: 52rem; width: 100%; margin-inline: auto; }
.ig-card__logo { width: clamp(72px, 10vw, 96px); height: auto; background: var(--white); border: var(--line); border-radius: 50%; padding: 12px; box-sizing: content-box; }
.ig-card__text { display: grid; gap: 4px; }
.ig-card__text h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1; }
.ig-card__handle { font: 700 var(--t-label)/1.2 var(--f-mono); letter-spacing: .06em; }
.ig-card__btn { white-space: nowrap; background: var(--ink); color: var(--lime); }
.ig-card__btn:hover { background: var(--white); color: var(--ink); }

/* Recent posts (shown only when content-instagram.js has posts) */
.ig-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ig-grid[hidden] { display: none; }
.ig-tile { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border: var(--line); border-radius: var(--r-md); box-shadow: 6px 6px 0 var(--ink); background: var(--ink); color: var(--white); text-decoration: none; transition: transform .12s, box-shadow .12s; }
.ig-tile:hover { transform: translate(-2px, -3px); box-shadow: 8px 9px 0 var(--ink); }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ig-tile__cap { position: absolute; inset: auto 0 0 0; padding: 28px 14px 12px; font-size: 14px; line-height: 1.3; background: linear-gradient(transparent, rgba(20,20,20,.85)); }
.ig-tile__cap:empty { display: none; }

@media (max-width: 760px) {
  .ig-card { grid-template-columns: 1fr; justify-items: center; text-align: center; box-shadow: 8px 8px 0 var(--ink); }
  .ig-card__btn { width: 100%; white-space: normal; }
  .ig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .ig-tile { box-shadow: 4px 4px 0 var(--ink); }
}
