/* The Plays of William Shakespeare (0.30.0, look "product_shakespeare"): the series' product pages, after product.css.
   The covers share one design, a cloth of the play's own colour with gold lettering, so this look is the same for every
   play and the colour is the page's: the top line (sh_bar) sets --sh-cloth (Macbeth #470E0E, A Midsummer Night's Dream
   #064524, Richard III #17294D), and the hero, the dark bands and the closing band take it, with a faint weave like the
   cover's cloth. Gold from the covers; Cormorant Garamond (italic for the title, as the covers' lettering), Nunito Sans.
   The kit's four sections (lib/render/sections/shakespeare.js) are styled here too. */

.th-product_shakespeare{
  --sh-cloth:#470E0E;--sh-gold:#C9A050;--sh-gold2:#E2C68A;--sh-cream:#F4EEE4;--sh-warm:#E3D6C4;
  --night:var(--sh-cloth);--night2:color-mix(in srgb,var(--sh-cloth) 78%,#000);--gold:var(--sh-gold);--pd-rose:var(--sh-gold2);
  /* the cover's cloth: two faint weaves */
  --sh-weave:repeating-linear-gradient(0deg,rgba(255,255,255,.022) 0 1px,transparent 1px 3px),repeating-linear-gradient(90deg,rgba(0,0,0,.07) 0 1px,transparent 1px 4px);
}
.th-product_shakespeare .pd-hero,.th-product_shakespeare .bg-dark,.th-product_shakespeare .sec-sh-bar,.th-product_shakespeare .sec-pd-closing{background-color:var(--night);background-image:var(--sh-weave)}
.th-product_shakespeare .sec-pd-closing{background-color:var(--night2)}

/* ---------- the top line ---------- */
.sec-sh-bar{border-bottom:1px solid rgba(201,160,80,.28)}
.sh-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 24px;padding-block:13px}
.sh-crumbs{display:flex;flex-wrap:wrap;gap:6px 9px;font-size:13.5px;color:var(--sh-warm)}
.sh-crumbs a{color:#fff;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.35)}
.sh-crumbs a:hover{border-bottom-color:#fff}
.sh-crumbs span[aria-hidden]{color:rgba(227,214,196,.6)}
.sh-series{margin:0;font:600 12px/1.3 var(--disp);letter-spacing:.32em;text-transform:uppercase;color:var(--sh-gold)}

/* ---------- the hero: gold on the cloth ---------- */
.th-product_shakespeare .pd-kicker{color:var(--sh-gold);letter-spacing:.2em}
.th-product_shakespeare .pd-title{font:italic 600 clamp(56px,7.4vw,92px)/1 var(--disp);color:var(--sh-gold2)}
.th-product_shakespeare .pd-sub{color:var(--sh-cream)}
.th-product_shakespeare .pd-credits{color:var(--sh-warm)}
.th-product_shakespeare .pd-strap{color:#fff}
.th-product_shakespeare .pd-after{color:var(--sh-warm)}
.th-product_shakespeare .pd-after a{color:#fff}
.th-product_shakespeare .pd-hero .pd-cv{box-shadow:0 26px 60px rgba(0,0,0,.55),0 2px 6px rgba(0,0,0,.35)}
.th-product_shakespeare .pd-sku{color:var(--sh-warm)}

/* ---------- the product kit in the series' colours ---------- */
.th-product_shakespeare .pd-aside{border-top-color:var(--sh-cloth)}
.th-product_shakespeare .pd-aside li::before{background:var(--sh-cloth)}
.th-product_shakespeare .pd-close-l{color:var(--sh-warm)}
.th-product_shakespeare .pd-close .pd-btn{background:var(--sh-gold);color:#1E0A0A}
.th-product_shakespeare .pd-close .pd-btn:hover{background:#fff;color:#1E0A0A}
.th-product_shakespeare .bg-dark .pd-ul{border-bottom-color:var(--sh-gold)}

/* ---------- the kit: shared ---------- */
.sh-eb{margin:0;font:800 11.5px/1.3 var(--sans);letter-spacing:.16em;text-transform:uppercase;color:var(--ink2)}
.sh-h2{margin:10px 0 0;font:600 clamp(30px,3.6vw,44px)/1.1 var(--disp);color:var(--ink);text-wrap:balance}
.sh-lede{margin:14px 0 0;max-width:640px;font-size:16.5px;line-height:1.6;color:var(--pd-text,#33404F)}
.bg-dark .sh-eb{color:var(--sh-gold)}
.bg-dark .sh-h2{color:#fff}
.bg-dark .sh-lede{color:var(--sh-warm)}

/* ---------- sh_guide: the spread with its numbered marks, the key under it ---------- */
.sh-guide-t{text-align:center;display:flex;flex-direction:column;align-items:center}
.sh-spread{position:relative;margin:clamp(26px,4vw,40px) auto 0;max-width:1200px}
.sh-spread-img{display:block;width:100%;height:auto;background:#fff;box-shadow:0 2px 0 rgba(0,0,0,.04),0 22px 50px rgba(30,15,10,.18);border-radius:2px}
/* the fold between the two pages */
.sh-spread::after{content:"";position:absolute;top:0;bottom:24px;left:50%;width:44px;margin-left:-22px;pointer-events:none;background:linear-gradient(90deg,transparent,rgba(0,0,0,.05) 42%,rgba(0,0,0,.09) 50%,rgba(0,0,0,.05) 58%,transparent)}
.sh-spread figcaption{margin-top:10px;text-align:right;font-size:13px;color:var(--ink2)}
.sh-pins{list-style:none;margin:0;padding:0}
.sh-pins li{position:absolute;width:30px;height:30px;margin:-15px 0 0 -15px;border-radius:50%;display:grid;place-items:center;background:var(--sh-cloth);color:var(--sh-gold2);font:800 14px/1 var(--sans);box-shadow:0 0 0 3px rgba(255,255,255,.95),0 4px 10px rgba(0,0,0,.3)}
.sh-keys{list-style:none;margin:clamp(24px,3vw,34px) auto 0;padding:0;max-width:1200px;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px 28px}
.sh-keys li{display:flex;gap:14px;align-items:flex-start}
.sh-n{flex:none;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--sh-cloth);color:var(--sh-gold2);font:800 14px/1 var(--sans)}
.sh-keys b{display:block;font:700 17px/1.3 var(--serif);color:var(--ink)}
.sh-keys p{margin:4px 0 0;font-size:15px;line-height:1.5;color:var(--pd-text,#33404F)}
.sh-note{margin:clamp(22px,3vw,30px) auto 0;max-width:1200px;padding-top:18px;border-top:1px solid var(--rule);font-size:15.5px;line-height:1.5;color:var(--ink)}
.sh-note .pd-ul{margin-left:6px}

/* ---------- sh_quote: the emblem and a line from the play ---------- */
.sh-q{margin:0 auto;max-width:860px;text-align:center;padding-block:clamp(8px,2vw,16px)}
.sh-emblem{display:block;width:auto;height:clamp(84px,9vw,112px);margin:0 auto 22px}
.sh-q blockquote{margin:0;font:italic 500 clamp(30px,4.2vw,50px)/1.18 var(--disp);color:var(--sh-gold2);text-wrap:balance}
.sh-q figcaption{margin-top:18px;font:600 13px/1.4 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--sh-warm)}
.sh-q figcaption b{color:#fff;font-weight:800}
.bg-white .sh-q blockquote,.bg-tint .sh-q blockquote{color:var(--sh-cloth)}
.bg-white .sh-q figcaption,.bg-tint .sh-q figcaption{color:var(--ink2)}
.bg-white .sh-q figcaption b,.bg-tint .sh-q figcaption b{color:var(--ink)}

/* ---------- sh_series: the plays, cover by cover ---------- */
.sh-ser-t{text-align:center;display:flex;flex-direction:column;align-items:center}
.sh-pls{list-style:none;margin:clamp(26px,4vw,40px) auto 0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:28px clamp(20px,3.4vw,44px)}
.sh-pl{flex:0 1 210px;min-width:0;text-align:center}
.sh-pl a,.sh-pl>div{display:flex;flex-direction:column;align-items:center;gap:6px;color:inherit;text-decoration:none}
.sh-cvb{position:relative;display:block;width:100%;max-width:100%;aspect-ratio:5.5/8.5;margin-bottom:10px}
.sh-cv{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;box-shadow:0 14px 34px rgba(30,15,10,.28),0 1px 3px rgba(0,0,0,.25);transition:transform .2s ease}
.sh-pl a:hover .sh-cv{transform:translateY(-4px)}
.sh-pl b{font:600 20px/1.2 var(--disp);color:var(--ink);text-wrap:balance}
.sh-pl-n{font-size:13.5px;color:var(--ink2)}
.sh-pl.here .sh-pl-n{font-weight:800;color:var(--sh-cloth)}
.sh-pl.soon .sh-pl-n{font-style:italic}
.bg-dark .sh-pl b{color:#fff}
.bg-dark .sh-pl-n{color:var(--sh-warm)}
.bg-dark .sh-pl.here .sh-pl-n{color:var(--sh-gold2)}

@media (prefers-reduced-motion:reduce){.sh-cv{transition:none}.sh-pl a:hover .sh-cv{transform:none}}
@media (max-width:760px){
  .sh-bar{padding-block:11px}
  .sh-series{font-size:10.5px;letter-spacing:.24em}
  .sh-pins li{width:22px;height:22px;margin:-11px 0 0 -11px;font-size:11.5px;box-shadow:0 0 0 2px rgba(255,255,255,.95),0 3px 8px rgba(0,0,0,.3)}
  .sh-spread::after{width:24px;margin-left:-12px}
  .sh-pl{flex-basis:42%}
  .sh-pl b{font-size:17px}
}
