/* Prácticas de gigantismo — slightly larger heading with equal white space
   between the header and title, and between the title and introductory text.
   Keep the existing title baseline, right alignment and photograph geometry. */
.gigantismo-editorial-project {
  --gig-heading-gap: max(0px, calc(14.6667vw - 128px));
}
.gigantismo-editorial-project .gigantismo-intro {
  padding-top: var(--gig-heading-gap);
}
.gigantismo-editorial-project .gigantismo-copy h1 {
  font-size: clamp(13.2px, 1.144vw, 18.7px);
  text-align: right;
  margin: 0 0 var(--gig-heading-gap);
}

@media (max-width: 1024px), (max-width: 1366px) and (hover: none) and (pointer: coarse) {
  .gigantismo-editorial-project {
    --gig-heading-gap: 34px;
  }
  .gigantismo-editorial-project .gigantismo-copy h1 {
    font-size: 17.6px;
  }
}

/* Gigantismo: line up the cover photographs with the first line of body copy,
   below the separately positioned heading. The optical 38px adjustment aligns
   the visible photograph top with the first body-text line in the reference.
   Preserve the variable title gap, and do not affect phone/tablet layouts. */
@media (min-width: 1025px) and (not ((max-width: 1366px) and (hover: none) and (pointer: coarse))) {
  .gigantismo-editorial-project .gigantismo-covers {
    margin-top: calc(var(--gig-heading-gap) + clamp(15.84px, 1.3728vw, 22.44px) - 38px) !important;
  }
}

/* Mobile: enlarge the original typographic artwork and reduce the empty space
   between the first photographic credit and this image. Both ES and IT share
   the layout, and both language-specific image assets keep their proportions. */
@media (max-width: 1024px), (max-width: 1366px) and (hover: none) and (pointer: coarse) {
  .gigantismo-editorial-project .gigantismo-second-row {
    margin-top: clamp(46px, 7vw, 68px);
  }
  /* Center the PRINTED lettering, not the JPEG frame: both source images
     are almost horizontally centered internally, but have more blank paper
     above the lettering than below. Auto side margins place the visual center
     on the image-column axis; the bottom compensation balances the visible
     white space above and below the lettering, not its outer paper edges. */
  .gigantismo-editorial-project .gigantismo-type {
    width: 76%;
    max-width: 410px;
    justify-self: center;
    margin: 0 auto clamp(28px, 5vw, 55px) !important;
    transform: none;
  }
}
