.pw-home-works-rotator{margin:20px 0 8px;position:relative;width:100%;box-sizing:border-box}
.pw-home-works-grid{display:grid!important;grid-template-columns:minmax(0,1.65fr) minmax(150px,.75fr)!important;grid-template-rows:repeat(3,125px)!important;gap:10px!important;width:100%;min-height:395px;opacity:1;transition:opacity .36s ease}
.pw-home-works-grid.is-changing{opacity:.68}
.pw-home-work-card{position:relative;display:flex!important;align-items:center;justify-content:center;min-width:0!important;width:auto!important;overflow:hidden;padding:8px!important;background:#f1ebe2!important;border-radius:6px!important;text-decoration:none!important;color:inherit!important;border:0!important;box-shadow:none!important;margin:0!important}
.pw-home-work-card.is-featured{grid-column:1;grid-row:1 / 4}
.pw-home-work-card:not(.is-featured){grid-column:2}

/* Home image adapter — desktop/tablet.
 * Keep the existing asymmetric grid, but place every artwork inside a real
 * 4:3 media frame. The frame is height-led because every desktop Home slot
 * is wider than 4:3; this preserves the ratio without changing grid logic. */
.pw-home-works-rotator .pw-home-work-image{
  height:100%;
  width:auto;
  max-width:100%;
  max-height:100%;
  aspect-ratio:4/3;
  flex:0 1 auto;
}
.pw-home-works-rotator .pw-home-work-image > img.pw-media-img{
  width:100%;
  height:100%;
  margin:0;
  transition:transform .45s ease;
}
.pw-home-work-card:hover .pw-home-work-image img{transform:scale(1.025)}
.pw-home-work-copy{position:absolute;left:8px;right:8px;bottom:8px;display:none;padding:44px 16px 14px;color:#fff;background:linear-gradient(to top,rgba(0,0,0,.72),rgba(0,0,0,0));pointer-events:none}
.pw-home-work-card.is-featured .pw-home-work-copy{display:block}
.pw-home-work-copy strong{display:block;font-family:"Cormorant Garamond",serif;font-size:24px;font-weight:600;line-height:1.05;color:#fff}
.pw-home-work-copy span{display:block;margin-top:4px;font-size:12px;line-height:1.3;color:#fff;opacity:.92}
.pw-home-works-nav{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:14px}
.pw-home-works-nav button{width:38px;height:38px;border:1px solid rgba(65,91,76,.2);border-radius:50%;background:#fff;color:#385746;font-size:20px;line-height:1;display:grid;place-items:center;padding:0;box-shadow:0 3px 10px rgba(36,47,42,.06)}
.pw-home-works-counter{min-width:68px;text-align:center;font-size:13px;color:#68736d;font-variant-numeric:tabular-nums}
.pw-home-original-works-hidden{display:none!important}

@media(max-width:1000px){
  .pw-home-works-grid{grid-template-columns:1.5fr .8fr!important;grid-template-rows:repeat(3,115px)!important;min-height:365px}
}

@media(max-width:760px){
  .pw-home-works-rotator{margin:18px 0 8px}

  /* 1.10.102 — Home mobile Variant C.
   * Presentation-only change: one natural/adaptive featured artwork above
   * three equal secondary thumbnails. Existing carousel/data/navigation logic
   * is unchanged. No forced ratio is applied to the featured artwork. */
  .pw-home-works-grid{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    grid-template-rows:auto clamp(78px,23vw,118px)!important;
    gap:8px!important;
    width:100%;
    min-height:0!important;
  }
  .pw-home-work-card{height:auto!important;min-height:0!important}
  .pw-home-work-card.is-featured{
    grid-column:1 / -1!important;
    grid-row:1!important;
  }
  .pw-home-work-card:not(.is-featured){
    grid-column:auto!important;
    grid-row:2!important;
  }

  /* Featured artwork follows its own natural orientation. The wrapper does
   * not impose 1:1/4:3; max-height is only a safety bound for tall artworks. */
  .pw-home-work-card.is-featured .pw-home-work-image{
    width:100%;
    height:auto;
    max-width:100%;
    max-height:none;
    aspect-ratio:auto;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .pw-home-work-card.is-featured .pw-home-work-image > img.pw-media-img{
    width:auto;
    height:auto;
    max-width:100%;
    max-height:58vh;
    object-fit:contain;
    object-position:center center;
  }

  /* Secondary works are compact navigation previews in three equal slots. */
  .pw-home-work-card:not(.is-featured) .pw-home-work-image{
    width:100%;
    height:100%;
    max-width:100%;
    max-height:100%;
    aspect-ratio:auto;
  }
  .pw-home-work-card:not(.is-featured) .pw-home-work-image > img.pw-media-img{
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center center;
  }

  .pw-home-work-copy{padding:38px 14px 12px}
  .pw-home-work-copy strong{font-size:21px}
  .pw-home-works-nav{margin-top:12px}
}

@media(max-width:520px){
  .pw-home-work-copy{padding:34px 11px 10px}
  .pw-home-work-copy strong{font-size:18px}
  .pw-home-work-copy span{font-size:11px}
}


/* v1.10.119 — HOME Works only. Home was explicitly reopened.
   Fixed editorial frames, light crop allowed, no distortion. */

/* DESKTOP: preserve 1 lead + 3 secondary composition; make every frame visually full. */
@media(min-width:761px){
  .pw-home-works-rotator .pw-home-work-image{
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
    aspect-ratio:auto!important;
    overflow:hidden!important;
    background:transparent!important;
  }
  .pw-home-works-rotator .pw-home-work-image > img.pw-media-img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:cover!important;
    object-position:center center!important;
  }
}

/* MOBILE: preserve 1 lead + 3 equal thumbnails; use stable filled frames. */
@media(max-width:760px){
  .pw-home-works-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    grid-template-rows:auto clamp(82px,24vw,116px)!important;
    gap:8px!important;
  }
  .pw-home-work-card.is-featured{
    grid-column:1/-1!important;
    grid-row:1!important;
  }
  .pw-home-work-card:not(.is-featured){
    grid-column:auto!important;
    grid-row:2!important;
  }
  .pw-home-work-card.is-featured .pw-home-work-image{
    width:100%!important;
    height:auto!important;
    aspect-ratio:4/3!important;
    overflow:hidden!important;
    background:transparent!important;
  }
  .pw-home-work-card.is-featured .pw-home-work-image > img.pw-media-img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:cover!important;
    object-position:center center!important;
  }
  .pw-home-work-card:not(.is-featured) .pw-home-work-image{
    width:100%!important;
    height:100%!important;
    aspect-ratio:auto!important;
    overflow:hidden!important;
    background:transparent!important;
  }
  .pw-home-work-card:not(.is-featured) .pw-home-work-image > img.pw-media-img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:cover!important;
    object-position:center center!important;
  }
}
