/* The Real price drops page (/drops/; DESIGN.md §7 "Real price drops"; step 6 batch 2).
   The cards, the yarn and the binder clips are shared (desk.css, macros yarnline and
   dropcard); this file places them: the head, the lines of three, the empty line and its
   note, and the small print. Owned by the drops page type. No inline styles. */

/* the head: label, headline, what a real price drop is; the PRICE CHECKED postmark right */
.dr-head .sw{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:end;padding-block:30px 18px}
.dr-head .pm{margin-right:12px}
.dr-rule{font-size:14px;color:color-mix(in srgb,var(--ink) 74%,transparent);max-width:60ch;margin:10px 0 0}

/* the lines: three cards to each, a yarn line per row; room under each for the clips */
.dr-lines{padding-block:22px clamp(44px,6vw,80px)}
.dr-lines .line-row + .line-row{margin-top:58px}

/* no drops: the empty line (three clips, nothing hung) over a paper note */
.eline{position:relative;height:96px;margin-top:22px}
.eline .yarn{position:absolute;left:-24px;top:0;width:calc(100% + 48px);height:44px;overflow:visible}
.eline .clip{position:absolute;top:0;width:30px;height:46px;margin-left:-15px;filter:drop-shadow(0 2px 2px rgba(37,40,72,.18))}
.eline .clip.c1{left:16.7%;top:4px;transform:rotate(-6deg)}
.eline .clip.c2{left:50%;top:5px;transform:rotate(4deg)}
.eline .clip.c3{left:83.3%;top:4px;transform:rotate(-3deg)}
.enote{position:relative;background:var(--paper);padding:24px 28px 26px;max-width:620px;margin:0 auto;
  box-shadow:0 10px 24px var(--shadow);transform:rotate(-.6deg)}
.enote::after{content:"";position:absolute;inset:9px;border:1.2px dashed color-mix(in srgb,var(--ink) 22%,transparent);pointer-events:none}
.enote .lbl{margin-bottom:10px}
.enote .disp{font-size:clamp(22px,2.4vw,28px);line-height:1.15}
.enote p:not(.lbl):not(.disp):not(.hand){margin:12px 0 0;color:color-mix(in srgb,var(--ink) 78%,transparent);max-width:52ch}
.enote .hand{font-size:26px;margin-top:14px}

/* the small print */
.dr-small{padding-block:0 34px}
.dr-small p{margin:6px 0 0}

/* phone: one column, no yarn (desk.css hides the cards' yarn); the empty line goes too */
@media (max-width:900px){
  .dr-lines .line-row + .line-row{margin-top:46px}
  .eline{display:none}
  .dr-empty{padding-top:6px}
}
@media (max-width:560px){
  .dr-head .pm.lg{width:72px;height:72px}
  .enote{padding:22px 20px 24px}
}
