.mazzella-case .line-copy {
  width: clamp(365px, 70svh, 760px);
}

.mazzella-case .line-copy:not(.line-light) { background: #262626; }
.mazzella-case .line-copy.mazzella-green { background: #173c2a; }
.mazzella-case .line-copy.mazzella-campaign-copy { background: #382315; }
.mazzella-case .line-copy :is(h1, h2) { margin-bottom: clamp(18px, 3.2vh, 30px); }
.mazzella-case .line-copy h2 { font-size: clamp(1.7rem, 2.8vw, 2.8rem); }
.mazzella-case .mazzella-intro { width: clamp(365px, 41vw, 680px); }
.mazzella-intro h1 { font-size: clamp(2.2rem, 3.5vw, 3.5rem); }
.mazzella-logo {
  display: block;
  width: 66px;
  height: auto;
  margin: 0 auto 20px;
}

.mazzella-case .line-image { width: min(94vw, calc(100svh * var(--image-ratio))); }
.mazzella-case .mazzella-hero { width: min(59vw, 115svh); }
.mazzella-campaign-cover { background: #064a2f; }

.mazzella-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 21px;
}

.mazzella-actions .line-watch { margin: 0; }
.mazzella-case .mazzella-link { color: inherit; border: 1px solid currentColor; background: transparent; }
.mazzella-case .mazzella-link:hover { background: rgb(128 128 128 / 15%); }

.mazzella-gallery {
  display: grid;
  width: min(94vw, 142svh);
  grid-template-columns: repeat(var(--gallery-columns, 3), minmax(0, 1fr));
  align-content: center;
  align-items: center;
  gap: 8px;
  padding: clamp(64px, 9.5vh, 85px) clamp(12px, 2vw, 32px);
  background: #fcfcfc;
}

.mazzella-gallery-pair { --gallery-columns: 2; }
.mazzella-gallery-stack {
  --gallery-columns: 1;
  width: min(94vw, 56svh);
}

.mazzella-gallery-dark { background: #191714; }
.mazzella-tile { position: relative; margin: 0; }
.mazzella-case .mazzella-tile img { display: block; width: 100%; height: auto; }
.mazzella-case .mazzella-tile .line-expand {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 34px;
  height: 34px;
  margin: 0;
}
.mazzella-tile .line-expand svg { width: 17px; height: 17px; }

.mazzella-campaign-video {
  display: grid;
  width: min(100vw, 142svh);
  place-items: center;
  padding: clamp(12px, 2vw, 32px);
  background: #191714;
}

.mazzella-campaign-video video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 72svh;
  object-fit: contain;
}

@media (max-width: 680px) {
  .mazzella-case .line-image, .mazzella-case .line-copy, .mazzella-gallery { width: 100vw; }
  .mazzella-case .line-image img { width: 100%; }
  .mazzella-gallery { --gallery-columns: 2; gap: 6px; }
  .mazzella-gallery-pair { --gallery-columns: 1; }
  .mazzella-gallery-pair .mazzella-tile { width: min(100%, 53dvh); margin-inline: auto; }
}
