/* A flat, full-bleed section; each issue overlaps its neighbors without hiding its label or link. */
#si-magazine-shelf.si-shelf {
  --pink:#ff1493;box-sizing:border-box;scroll-margin-top:74px;
  width:var(--si-shelf-viewport,100%);max-width:none;
  margin:10px calc((100% - var(--si-shelf-viewport,100%))/2);
  padding:clamp(20px,3vw,42px) clamp(10px,3vw,42px) clamp(20px,3.2vw,46px);
  color:#fff;background:#000;border:0;border-radius:0;text-align:left;overflow:clip
}
.si-shelf *,.si-shelf *::before,.si-shelf *::after {box-sizing:border-box}
.si-shelf .si-shelf-head {display:flex;justify-content:space-between;align-items:end;gap:10px;margin:0 0 clamp(12px,2.5vw,42px)}
.si-shelf .si-shelf-head p,.si-shelf .si-shelf-note {display:block;color:#ff86c2;font:800 clamp(.59rem,1.05vw,.76rem)/1.3 Lato,sans-serif;letter-spacing:.14em;text-transform:uppercase;margin:0;padding:0}
.si-shelf .si-shelf-head h2 {color:#fff;margin:.25em 0 0!important;font:400 clamp(2rem,5vw,4.9rem)/1 Impact,sans-serif;letter-spacing:.055em}
.si-shelf img.si-shelf-wordmark {display:block;height:clamp(31px,4.8vw,78px);width:auto;max-width:100%;margin:0!important}
.si-shelf .si-shelf-archive {color:#fff;text-decoration:none;font-weight:800;flex:none}
.si-shelf .si-shelf-archive:hover,.si-shelf .si-shelf-archive:focus-visible {color:#fff;text-shadow:0 0 10px var(--pink)}
.si-shelf .si-shelf-list {display:grid;grid-template-columns:repeat(var(--si-shelf-count,5),minmax(0,1fr));gap:0;isolation:isolate;list-style:none!important;margin:0!important;padding:0!important}
.si-shelf .si-shelf-list li {position:relative;margin:0!important;padding:0!important;list-style:none!important;min-width:0;z-index:1;--yaw:-19deg;--size:.90}
.si-shelf .si-shelf-list li:nth-child(2) {z-index:2;--yaw:-12deg;--size:.97}
.si-shelf .si-shelf-list .si-shelf-featured {z-index:4;--yaw:0deg;--size:1.035}
.si-shelf .si-shelf-list li:nth-child(4) {z-index:2;--yaw:12deg;--size:.97}
.si-shelf .si-shelf-list li:nth-child(5) {--yaw:19deg;--size:.90}
.si-shelf .si-shelf-list li:focus-within {z-index:6}
@media(hover:hover) {.si-shelf .si-shelf-list li:hover {z-index:6}}
.si-shelf .si-shelf-link {display:flex;flex-direction:column;align-items:center;text-align:center;color:#fff;text-decoration:none;gap:4px;padding:3px 0}
.si-shelf .si-shelf-link strong {font:900 clamp(.72rem,1.7vw,1.4rem)/1.2 Lato,sans-serif;margin:0}
.si-shelf .si-shelf-stage {display:flex;justify-content:center;align-items:end;position:relative;width:100%;height:clamp(124px,31.6vw,620px);margin:0 auto clamp(8px,1.5vw,24px);perspective:clamp(480px,90vw,1800px);pointer-events:none}
.si-shelf .si-shelf-book {display:block;flex:none;width:129%;position:relative;transform-style:preserve-3d;transform:rotateY(var(--yaw)) rotateX(2deg) scale(var(--size));transform-origin:50% 95%;transition:transform .5s cubic-bezier(.2,.75,.24,1);box-shadow:4px 10px 12px -5px #000f, 14px 24px 38px -7px #000f;border-radius:2px 4px 4px 2px;pointer-events:auto}
.si-shelf .si-shelf-book::after {content:"";position:absolute;top:1%;bottom:1%;width:clamp(6px,1vw,15px);left:100%;transform:rotateY(76deg);transform-origin:left center;background:repeating-linear-gradient(90deg,#ded7d6 0 1px,#afa3a8 1px 2px);border-radius:0 3px 3px 0;pointer-events:none}
.si-shelf .si-shelf-book::before {content:"";position:absolute;inset:0 auto 0 0;width:12%;background:linear-gradient(90deg,#0006,transparent);z-index:1;pointer-events:none}
.si-shelf .si-shelf-cover {width:100%;height:auto;aspect-ratio:17/22!important;object-fit:contain;display:block;margin:0!important;border-radius:inherit;background:#151515}
@media (hover:hover) {.si-shelf .si-shelf-link:hover .si-shelf-book {transform:rotateY(0) translateY(-8px) scale(1.04)}}
.si-shelf .si-shelf-archive:focus-visible {outline:2px solid #ff82c0;outline-offset:2px}
.si-shelf .si-shelf-link:focus-visible .si-shelf-book {transform:rotateY(0) translateY(-5px) scale(1.02)}
@media(max-width:530px) {
  #si-magazine-shelf.si-shelf {padding:18px 4.5vw 24px}
  .si-shelf .si-shelf-head {align-items:end}
  .si-shelf .si-shelf-note {font-size:.47rem;letter-spacing:.035em;white-space:nowrap}
  .si-shelf .si-shelf-list li:not(.si-shelf-featured) .si-shelf-note {visibility:hidden}
  .si-shelf .si-shelf-archive {font-size:.68rem}
  .si-shelf .si-shelf-stage {height:clamp(100px,34vw,178px)}
}
@media(prefers-reduced-motion:reduce) {
  .si-shelf .si-shelf-book,.si-shelf .si-shelf-link:focus-visible .si-shelf-book,.si-shelf .si-shelf-link:hover .si-shelf-book {transition:none;transform:rotateY(var(--yaw)) scale(var(--size))}
}

/* Keep the homepage shelf close to its neighbors without clipping the 3D covers. */
#si-magazine-shelf.si-shelf[data-si-shelf-location="homepage"] {
  margin-block:0;
  padding-block:clamp(19px,2.65vw,40px) 5px;
}
.si-shelf[data-si-shelf-location="homepage"] .si-shelf-stage {
  height:auto;
  margin-bottom:clamp(4px,.6vw,9px);
}
.si-shelf[data-si-shelf-location="homepage"] .si-shelf-more {
  display:flex;justify-content:flex-end;margin:1px 0 0;line-height:1.2;
}

/* The homepage card grid outlines all focused list items; issues use text-only keyboard focus instead. */
#skinink-home-feature-grid #si-magazine-shelf .si-shelf-list > li:focus-within,
#si-magazine-shelf .si-shelf-list > li > .si-shelf-link:is(:active,:focus) {
  outline:none!important;
  box-shadow:none!important;
}
#si-magazine-shelf .si-shelf-link {-webkit-tap-highlight-color:transparent}
#si-magazine-shelf .si-shelf-link:focus-visible > strong {
  color:#ffb1dc;
  text-decoration:underline;
  text-decoration-thickness:2px;
  text-underline-offset:.25em;
}

/* Back Issues: meet the header without the shop row's white top padding. */
body.page-id-5712 #ajax-content-wrap .main-content > .row > .wpb_row:has(#grid-5752) {
  padding-top:0!important;
}
#si-magazine-shelf.si-shelf[data-si-shelf-location="archive"] {
  margin-top:0;
}


/* Light only the floor so the larger black contact shadows read on a black shelf. */
.si-shelf .si-shelf-list {
  background:radial-gradient(ellipse 52% clamp(22px,5vw,85px) at 50% calc(100% - clamp(16px,2.5vw,41px)),
    #373737 5%, #232323 39%, #0c0c0c 73%, #0000 100%);
}
.si-shelf .si-shelf-stage::before {
  content:"";position:absolute;pointer-events:none;z-index:-1;
  left:-12%;bottom:calc(-1 * clamp(7px,1vw,16px));width:138%;
  height:clamp(16px,3.4vw,52px);
  background:radial-gradient(ellipse at 48% 40%,#000 11%,#000e 33%,#0009 55%,#0000 76%);
}
