.social-study { padding-top: clamp(2rem, 5vw, 4rem); font-family: var(--font-body); }
.social-study__intro { padding-bottom: 2rem; }
.social-study__title { margin-top: .75rem; font-family: var(--font-title); font-size: clamp(2rem, 4.5vw, 4rem); letter-spacing: -.045em; }
.social-study__title span { color: #05aff2; }
.social-gallery { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.social-gallery__item { min-width: 0; }
.social-gallery__item--overview { grid-column: 1 / -1; }
.social-gallery a { display: block; cursor: zoom-in; }
.social-gallery img { width: 100%; height: auto; }
.social-gallery figcaption, .social-study__note { margin-top: .75rem; color: var(--color-muted); font-size: .8125rem; }
.social-study__note { margin-top: 2.5rem; }
@media (max-width: 40rem) {
  .social-gallery { grid-template-columns: 1fr; }
}

.brandfolder-summary { max-width: 65ch; margin-bottom: 2rem; }
.social-study__description { max-width: 65ch; margin-bottom: 2.5rem; }
.social-study__description p + p { margin-top: 1rem; }

/* Let the A to Z artwork grow beyond the text column while retaining viewport margins. */
.social-study--atoz .social-gallery {
  position: relative;
  left: 50%;
  width: min(125%, calc(100vw - 3rem));
  transform: translateX(-50%);
}

/* XKIG's editorial gallery; shared A to Z and Brandfolder styles stay above. */
.social-study--xkig { --editorial-gap: clamp(2rem, 6vw, 5rem); }
.social-editorial__intro,
.social-editorial__overview,
.social-editorial__details {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: var(--editorial-gap);
  align-items: start;
}
.social-editorial__intro { padding-bottom: var(--editorial-gap); }
.social-study--xkig .social-study__title { max-width: 12ch; line-height: 1.05; }
.social-editorial__summary { padding-top: 2rem; max-width: 54ch; font-size: 1.125rem; line-height: 1.6; }
.social-editorial__meta { margin-top: 1.5rem; color: var(--color-muted); font-size: .875rem; }
.social-editorial__section-heading h2 {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -.04em;
  max-width: 12ch;
}
.social-editorial__section-heading h2 span { color: #05aff2; }
.social-editorial__section-heading p { max-width: 36ch; margin-top: 1.25rem; line-height: 1.6; }
.social-study--xkig figure { min-width: 0; margin: 0; }
.social-study--xkig figure a { display: block; cursor: zoom-in; }
.social-study--xkig figure img { display: block; width: 100%; height: auto; }
.social-study--xkig figcaption,
.social-editorial__grid-note { margin-top: .75rem; color: var(--color-muted); font-size: .8125rem; }
.social-editorial__posts-section { margin-block: var(--editorial-gap); }
.social-editorial__posts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
.social-editorial__posts a { display: block; cursor: zoom-in; }
.social-editorial__posts img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.social-editorial__posts a:focus-visible { outline: 3px solid #05aff2; outline-offset: 2px; }
.social-editorial__pairs { display: grid; gap: 2.5rem; }
@media (max-width: 50rem) {
  .social-editorial__intro,
  .social-editorial__overview,
  .social-editorial__details { grid-template-columns: 1fr; gap: 1.75rem; }
  .social-study--xkig .social-study__title { max-width: 20ch; }
  .social-editorial__summary { padding-top: 0; }
  .social-editorial__section-heading h2 { max-width: none; }
  .social-editorial__posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
