[data-curated-gallery],
[data-curated-gallery] *,
.curated-works-hero,
.curated-works-hero * {
  box-sizing: border-box;
  font-family: inherit;
  letter-spacing: 0;
}

.works-hero.curated-works-hero h1 { max-width: 900px; font-size: 56px; line-height: 1.1; letter-spacing: 0; }
.works-hero.curated-works-hero p { color: #dadada; }
.works-grid.curated-gallery { grid-template-columns: minmax(0, 1fr); gap: 56px; background: #000; color: #dadada; }
.curated-group > h2 { margin: 0 0 40px; font-size: 36px; line-height: 1.2; color: #fff; }
.curated-work { min-width: 0; padding: 0 0 40px; margin-bottom: 48px; border-bottom: 1px solid #dadada40; }
.curated-work-heading { margin-bottom: 24px; }
.curated-work-heading h3 { margin: 0 0 12px; font-size: 24px; line-height: 1.3; color: #fff; overflow-wrap: anywhere; }
.curated-work-heading p { margin: 8px 0 0; color: #dadada; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.curated-work-images { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.curated-home-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

[data-curated-gallery] figure.curated-photo,
[data-curated-gallery] figure.curated-video { width: 100%; min-width: 0; margin: 0; grid-column: auto; }
[data-curated-gallery] picture { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: #000; }
[data-curated-gallery] picture img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: none; }
[data-curated-gallery] figure.curated-cover { grid-column: 1 / -1; }
[data-curated-gallery] .curated-cover picture { aspect-ratio: 16 / 9; max-height: 560px; }
.curated-home-grid picture { aspect-ratio: 3 / 2; }
[data-curated-gallery] [data-gallery-image] { display: block; width: 100%; height: auto; aspect-ratio: auto; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
[data-curated-gallery] [data-gallery-image]:focus-visible { outline: 2px solid #ffde00; outline-offset: 5px; }
[data-curated-gallery] .curated-video { position: relative; }
[data-curated-gallery] video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; max-height: 560px; object-fit: cover; border-radius: 4px; background: #000; }
[data-curated-gallery] video:not([data-playing]) { object-fit: cover; }
[data-curated-gallery] video[data-playing] { object-fit: contain; }
[data-curated-gallery] [data-gallery-play] { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 72px; height: 72px; aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%; background: #ffde00; color: #000; cursor: pointer; }
[data-curated-gallery] [data-gallery-play][hidden] { display: none; }
[data-curated-gallery] [data-gallery-play]:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
[data-curated-gallery] figcaption { display: grid; justify-content: start; gap: 8px; padding-top: 14px; border: 0; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
[data-curated-gallery] figcaption strong { color: #fff; font-size: 18px; line-height: 1.4; font-weight: 600; }
[data-curated-gallery] .curated-kind { color: #ffde00; font-size: 13px; line-height: 1.6; }
[data-curated-gallery] .curated-pending { color: #dadada; font-size: 13px; line-height: 1.6; }

.curated-home-band { padding-top: 54px; padding-bottom: 54px; background: #000; color: #dadada; border-top: 1px solid #dadada40; }
.curated-home-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
.curated-home-heading h2 { margin: 0; font-size: 32px; line-height: 1.3; color: #fff; }
.curated-home-heading > a { padding: 12px 0; color: #ffde00; font-size: 14px; line-height: 1.5; text-decoration: underline; text-underline-offset: 5px; }
.curated-home-item { display: block; min-width: 0; color: inherit; text-decoration: none; }
[data-curated-gallery] a:focus-visible { outline: 2px solid #ffde00; outline-offset: 5px; }
.curated-home-item:hover figcaption strong { text-decoration: underline; text-underline-offset: 4px; }
.gallery-dialog [data-gallery-step] { top: 50%; right: 12px; transform: translateY(-50%); display: grid; place-items: center; width: 48px; height: 48px; padding: 0; background: #ffde00; color: #000; border: 0; cursor: pointer; }
.gallery-dialog [data-gallery-step="-1"] { left: 12px; right: auto; }
.gallery-dialog [data-gallery-step][hidden] { display: none; }
.gallery-dialog [data-gallery-count] { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); padding: 6px 12px; background: #000; color: #dadada; font-size: 14px; }
.gallery-dialog button:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.gallery-dialog img.curated-icon,
[data-curated-gallery] img.curated-icon { display: block; width: 24px; height: 24px; max-width: none; max-height: none; object-fit: contain; }

@media (min-width: 701px) and (max-width: 1100px) {
  .curated-work-images { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .works-hero.curated-works-hero h1 { font-size: 36px; }
  .works-grid.curated-gallery { gap: 36px; }
  .curated-work { padding-bottom: 28px; }
  .curated-group > h2 { font-size: 28px; margin-bottom: 28px; }
  .curated-work-images,
  .curated-home-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  [data-curated-gallery] picture,
  [data-curated-gallery] .curated-cover picture,
  [data-curated-gallery] video { aspect-ratio: 3 / 2; max-height: 280px; }
  [data-curated-gallery] video[data-playing] { aspect-ratio: 9 / 16; max-height: 560px; }
  .curated-home-band { padding-top: 40px; padding-bottom: 40px; }
  .curated-home-heading h2 { font-size: 28px; }
}
