/* The share page. Rides on /style.css for the palette, the top bar, typography
   and .band/.honest/.contact, and only adds what is new here. */

.sh-hero h1{margin-bottom:.35em}
.sh-hero{padding-bottom:clamp(1.2rem,3vw,2rem)}

.sh-step{position:relative}
.sh-num{
  font-family:"Fraunces",Georgia,serif;font-weight:700;font-size:1rem;
  width:2.1rem;height:2.1rem;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:var(--rust);color:#fff;margin:0 0 .9rem;
}
.sh-step h2{margin-bottom:.4em}
.sh-sub{margin:1.6rem 0 .7rem;font-size:.88rem;font-weight:700;color:var(--ink-soft)}
/* Divider between the two printable flyers. They are alternatives, not a sequence,
   so the second one gets a rule above it rather than its own numbered step. */
.sh-split{margin:2.6rem 0 .5rem;padding-top:1.9rem;border-top:1px solid var(--line)}

/* ---- buttons ---- */
/* An author display rule beats the UA stylesheet's [hidden]{display:none}, so
   .sh-btn would have un-hidden the share-sheet button on every browser that has
   no share sheet to open. Put the attribute back in charge. */
[hidden]{display:none !important}
.sh-actions{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1.2rem}
.sh-btn{
  font:inherit;font-size:.98rem;font-weight:700;
  display:inline-flex;align-items:center;justify-content:center;
  padding:.72rem 1.25rem;border-radius:999px;cursor:pointer;
  background:var(--paper);color:var(--ink);
  border:2px solid var(--line);text-decoration:none;
  -webkit-tap-highlight-color:transparent;
}
.sh-btn:hover{border-color:var(--rust);color:var(--rust-dark)}
.sh-btn-main{background:var(--rust);border-color:var(--rust);color:#fff}
.sh-btn-main:hover{background:var(--rust-dark);border-color:var(--rust-dark);color:#fff}
.sh-btn.sh-sm{font-size:.9rem;padding:.55rem 1rem}
.sh-btn.is-done{background:var(--rust);border-color:var(--rust);color:#fff}

/* ---- the two graphics ---- */
.sh-grid{display:grid;gap:clamp(1.4rem,4vw,2.4rem);margin-top:1.8rem}
.sh-asset{margin:0;display:grid;gap:1rem}
.sh-asset img{
  width:100%;max-width:300px;border-radius:12px;
  border:1px solid var(--line);
  box-shadow:0 18px 40px -24px rgba(var(--ink-rgb),.55);
}
.sh-asset figcaption{display:grid;gap:.5rem;align-content:start}
.sh-asset h3{margin:0}
.sh-dim{margin:0;font-size:.85rem;color:var(--ink-soft)}
.sh-asset .sh-btn{justify-self:start;margin-top:.3rem}
.sh-asset .note{margin:.4rem 0 0}

/* ---- captions ---- */
.sh-cap{
  background:var(--paper);border:1px solid var(--line);border-radius:12px;
  padding:1.1rem 1.2rem;margin-top:1.2rem;
}
.sh-cap-head{display:flex;align-items:center;gap:1rem;margin-bottom:.7rem}
.sh-cap-head h3{margin:0;flex:1;font-size:1rem}
.sh-copy{
  font:inherit;font-size:.85rem;font-weight:700;cursor:pointer;
  background:var(--rust);color:#fff;border:0;border-radius:999px;
  padding:.45rem 1.1rem;white-space:nowrap;
}
.sh-copy:hover{background:var(--rust-dark)}
.sh-copy.is-done{background:var(--ink)}
.sh-cap-body{
  margin:0;font-size:.96rem;color:var(--ink-soft);line-height:1.55;
  border-left:3px solid var(--line);padding-left:1rem;
}
.sh-cap-body p{margin:0 0 .8em}
.sh-cap-body p:last-child{margin-bottom:0}

/* ---- flyer ---- */
.sh-flyer{display:grid;gap:clamp(1.2rem,4vw,2.2rem);margin-top:1.8rem;align-items:start}
.sh-flyer img{
  width:100%;max-width:300px;border-radius:10px;border:1px solid var(--line);
  box-shadow:0 18px 40px -24px rgba(var(--ink-rgb),.55);
}
.sh-flyer h3{margin:1.6rem 0 .8rem}
.sh-flyer .sh-actions{margin-top:0}
.sh-flyer .note{margin-top:1.1rem}

.sh-end .btn{margin-top:1rem}

@media (min-width:760px){
  .sh-grid{grid-template-columns:1fr 1fr}
  .sh-asset{grid-template-columns:260px 1fr;align-items:start}
  .sh-asset img{max-width:260px}
  .sh-flyer{grid-template-columns:300px 1fr}
}
@media (min-width:1040px){
  .sh-asset{grid-template-columns:200px 1fr}
  .sh-asset img{max-width:200px}
}
