/* blog-late-payment-rights (build_blog_late_payment_rights.py). Every rule starts with .bb-late.
   Centrepiece: the article's 6,000 pound invoice, 45 days late, as a statement of account. */

/* reading column, contents and the small print: shared shape, scoped to this page */
.bb-late .b-art{max-width:1220px;margin:0 auto;padding:60px 28px 24px}
.bb-late .b-sec{display:grid;grid-template-columns:minmax(0,41rem) minmax(0,1fr);column-gap:72px;align-items:start;padding-top:68px}
.bb-late .b-sec.b-first{padding-top:0}
.bb-late .b-sec>*{min-width:0}
.bb-late .b-sec>.b-tx{grid-column:1}
.bb-late .b-sec>.b-side{grid-column:2}
.bb-late .b-sec>.b-wide{grid-column:1/-1}
.bb-late :where(.b-art) h2{font-size:clamp(1.55rem,2.4vw,2rem);font-weight:700;letter-spacing:-.028em;line-height:1.14;margin:0 0 18px;scroll-margin-top:20px;max-width:24ch}
.bb-late :where(.b-art) p{font-size:1.06rem;line-height:1.72;color:#2a2629;margin:0 0 16px}
.bb-late :where(.b-art .b-tx)>p:last-child{margin-bottom:0}
.bb-late .b-first .b-tx>p:first-child{font-family:var(--head);font-size:1.28rem;line-height:1.55;font-weight:500;letter-spacing:-.012em;color:var(--ink)}
.bb-late :where(.b-art) p a,.bb-late :where(.b-art) li a,.bb-late .b-legal a{color:var(--cd);font-weight:700;text-decoration:underline;text-underline-offset:3px}
.bb-late :where(.b-art) strong{color:var(--ink)}
.bb-late :where(.b-art) mark.kf{background:linear-gradient(180deg,transparent 58%,#ffc9d6 58%);color:var(--ink);padding:0 2px;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.bb-late .b-toc{counter-reset:toc;border-top:3px solid var(--ink);padding-top:14px}
.bb-late .b-toc b{display:block;font-family:var(--head);font-size:1.02rem;font-weight:700;margin-bottom:6px}
.bb-late .b-toc a{counter-increment:toc;display:grid;grid-template-columns:28px minmax(0,1fr);padding:9px 0;border-bottom:1px solid var(--line);font-size:.95rem;line-height:1.4;color:var(--ink);font-weight:600}
.bb-late .b-toc a:before{content:counter(toc);font-family:var(--head);font-weight:700;color:var(--c)}
.bb-late .b-toc a:hover{color:var(--cd)}
.bb-late .b-legal{max-width:41rem;margin-top:44px;padding-top:20px;border-top:1px solid var(--line);font-size:.88rem;line-height:1.62;color:var(--mute)}
.bb-late .b-legal b{display:block;color:var(--ink);font-size:.92rem;margin-bottom:4px}
.bb-late .b-eg{font-size:.84rem;line-height:1.5;color:var(--mute);margin:14px 0 0}
.bb-late .b-art+section.g{padding-top:40px}
.bb-late .cap+.faqs{margin-top:40px}
.bb-late .b-relbox{margin-top:62px;border-top:3px solid var(--ink);padding-top:14px}
.bb-late .b-relbox>b{display:block;font-family:var(--head);font-weight:700;font-size:1.02rem;margin-bottom:8px}
.bb-late .b-relbox p{font-size:.98rem;line-height:1.65;margin:0}
.bb-late .b-band{margin:72px -28px 0;padding:72px 28px 80px;background:var(--ink);box-shadow:0 0 0 100vmax var(--ink);clip-path:inset(0 -100vmax);color:#fff}
.bb-late :where(.b-band) h2{color:#fff}
.bb-late :where(.b-band) p{color:#efe8eb}
.bb-late :where(.b-band) mark.kf{background:linear-gradient(180deg,transparent 58%,var(--cd) 58%);color:#fff}
.bb-late :where(.b-band) p a{color:#fff}
@media(max-width:980px){
.bb-late .b-sec{grid-template-columns:minmax(0,1fr);padding-top:52px}
.bb-late .b-sec>.b-side,.bb-late .b-sec>.b-tx,.bb-late .b-sec>.b-wide{grid-column:1}
.bb-late .b-sec>.b-side{margin-top:26px}
.bb-late .b-relbox{margin-top:26px}
}
@media(max-width:600px){
.bb-late .b-art{padding:40px 18px 12px}
.bb-late .b-band{margin:52px -18px 0;padding:52px 18px 60px}
.bb-late .b-first .b-tx>p:first-child{font-size:1.14rem}
}

/* the three things you can add */
.bb-late .lp-three{list-style:none;margin:8px 0 0;padding:0;display:grid;grid-template-columns:minmax(0,4fr) minmax(0,5fr) minmax(0,3fr);border-top:3px solid var(--ink)}
.bb-late .lp-three>li{padding:24px 30px 6px 0;font-size:1rem;line-height:1.65;color:#2a2629;display:flex;flex-direction:column;justify-content:space-between}
.bb-late .lp-three>li+li{padding-left:30px;border-left:1px solid var(--line)}
.bb-late .lp-three>li:last-child{padding-right:0}
.bb-late .lp-three strong{font-family:var(--head);font-size:1.12rem;letter-spacing:-.02em}
.bb-late .lp-big{font-family:var(--head);font-weight:700;font-size:3.6rem;line-height:1;letter-spacing:-.05em;color:var(--cfield);margin:22px 0 0}
.bb-late .lp-bands{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-items:end;margin-top:22px}
.bb-late .lp-bands>div{display:flex;flex-direction:column;justify-content:flex-end;padding:12px 12px;border-bottom:3px solid var(--ink)}
.bb-late .lp-bands>div:nth-child(1){min-height:70px;background:#fff0f4}
.bb-late .lp-bands>div:nth-child(2){min-height:96px;background:#ffd3e0}
.bb-late .lp-bands>div:nth-child(3){min-height:122px;background:var(--cfield)}
.bb-late .lp-bands b{font-family:var(--head);font-weight:700;font-size:1.4rem;letter-spacing:-.03em;line-height:1;color:var(--ink)}
.bb-late .lp-bands span{font-size:.82rem;line-height:1.3;margin-top:5px;color:var(--ink)}
.bb-late .lp-after{margin-top:34px}

/* where the rate comes from */
.bb-late .lp-rate{margin-top:6px}
.bb-late .lp-eq{display:grid;grid-template-columns:auto auto auto auto minmax(0,1fr);column-gap:12px;align-items:start}
.bb-late .lp-eq span{font-size:.84rem;line-height:1.3;color:#2a2629;max-width:7.5rem}
.bb-late .lp-eq b{display:block;font-family:var(--head);font-weight:700;font-size:1.7rem;letter-spacing:-.03em;line-height:1.1;color:var(--ink);margin-bottom:4px}
.bb-late .lp-eq i{font-style:normal;font-family:var(--head);font-weight:700;font-size:1.5rem;line-height:1.25;color:var(--mute)}
.bb-late .lp-eq .lp-res b{color:var(--cd)}
.bb-late .lp-rate table{width:100%;border-collapse:collapse;margin-top:24px;font-size:.94rem}
.bb-late .lp-rate th,.bb-late .lp-rate td{text-align:left;padding:10px 10px 10px 0;border-bottom:1px solid var(--line)}
.bb-late .lp-rate thead th{font-family:var(--head);font-size:.86rem;border-bottom:2px solid var(--ink)}
.bb-late .lp-rate td+td{font-weight:700}
.bb-late .lp-src{margin-top:22px;padding:16px 18px;background:#fff0f4;border-radius:10px}
.bb-late .lp-src>b{display:block;font-family:var(--head);font-size:.9rem;font-weight:700;margin-bottom:6px}
.bb-late .lp-src p{font-size:.86rem;line-height:1.55;color:var(--ink);margin:0}

/* the statement */
.bb-late .lp-clock{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:72px;align-items:center}
.bb-late .lp-eg{margin-top:26px;padding-left:22px;border-left:3px solid var(--cfield)}
.bb-late .lp-eg>b{display:block;font-family:var(--head);font-size:.9rem;font-weight:700;color:var(--cfield);margin-bottom:6px}
.bb-late .lp-eg p{margin:0;color:#fff}
.bb-late .lp-sheet{background:#fff;color:var(--ink);border-radius:4px;padding:32px 36px 28px;box-shadow:14px 14px 0 var(--cfield);margin-right:14px}
.bb-late .lp-st{font-family:var(--head);font-weight:700;font-size:1.3rem;letter-spacing:-.02em;color:var(--ink);margin:0 0 14px;padding-bottom:14px;border-bottom:2px solid var(--ink)}
.bb-late .lp-sheet dl{margin:0}
.bb-late .lp-sheet dl>div{display:flex;justify-content:space-between;align-items:baseline;gap:18px;padding:11px 0;border-bottom:1px solid var(--line)}
.bb-late .lp-sheet dt{font-size:.97rem;color:#2a2629}
.bb-late .lp-sheet dd{margin:0;font-family:var(--head);font-weight:700;font-size:1.05rem;white-space:nowrap}
.bb-late .lp-sheet .lp-add{background:#fff0f4;margin:0 -14px;padding:11px 14px;border-bottom-color:#fff}
.bb-late .lp-sheet .lp-add dd:before{content:"+ "}
.bb-late .lp-sheet .lp-tot{border-bottom:0;border-top:2px solid var(--ink);margin-top:6px;padding-top:14px}
.bb-late .lp-sheet .lp-tot dt{font-family:var(--head);font-weight:700;font-size:1.05rem;color:var(--ink)}
.bb-late .lp-sheet .lp-tot dd{font-size:2rem;letter-spacing:-.03em;color:var(--cd)}
.bb-late .lp-sn{font-size:.86rem;color:var(--mute);margin:8px 0 0}

/* day 0, 14, 30 */
.bb-late .lp-chase{list-style:none;margin:20px 0 0;padding:0;display:grid;grid-template-columns:14fr 16fr 12fr}
.bb-late .lp-chase li{position:relative;padding:34px 30px 0 0;border-top:3px solid var(--ink);font-size:1rem;line-height:1.62;color:#2a2629}
.bb-late .lp-chase li:last-child{border-top-color:var(--cfield);padding-right:0}
.bb-late .lp-chase li:before{content:"";position:absolute;left:0;top:-11px;width:19px;height:19px;border-radius:50%;background:var(--ink)}
.bb-late .lp-chase li:last-child:before{background:var(--cfield)}
.bb-late .lp-chase strong{display:block;font-family:var(--head);font-size:1.25rem;letter-spacing:-.02em;margin-bottom:6px}

/* escalation */
.bb-late .lp-ladder{list-style:none;counter-reset:l;margin:62px 0 0;padding:0}
.bb-late .lp-ladder li{counter-increment:l;display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;padding:14px 18px;font-family:var(--head);font-weight:600;font-size:1rem;color:var(--ink);background:#fff0f4;border-radius:8px}
.bb-late .lp-ladder li:before{content:counter(l);font-weight:700}
.bb-late .lp-ladder li:nth-child(2){margin:6px 0 6px 28px;background:#ffd3e0}
.bb-late .lp-ladder li:nth-child(3){margin-left:56px;background:var(--cfield)}

@media(max-width:980px){
.bb-late .lp-three{grid-template-columns:minmax(0,1fr)}
.bb-late .lp-three>li,.bb-late .lp-three>li+li{padding:24px 0;border-left:0;border-bottom:1px solid var(--line)}
.bb-late .lp-bands{max-width:26rem}
.bb-late .lp-clock{grid-template-columns:minmax(0,1fr);row-gap:40px}
.bb-late .lp-rate,.bb-late .lp-ladder{max-width:32rem}
.bb-late .lp-ladder{margin-top:26px}
.bb-late .lp-chase{grid-template-columns:minmax(0,1fr);border-left:3px solid var(--ink);margin-left:8px}
.bb-late .lp-chase li{border-top:0;padding:0 0 26px 26px}
.bb-late .lp-chase li:before{left:-11px;top:4px}
}
@media(max-width:600px){
.bb-late .lp-sheet{padding:24px 20px;box-shadow:8px 8px 0 var(--cfield);margin-right:8px}
.bb-late .lp-sheet dl>div{flex-wrap:wrap;gap:2px 18px}
.bb-late .lp-eq{grid-template-columns:auto auto auto;row-gap:12px}
.bb-late .lp-eq .lp-res{grid-column:1/-1}
.bb-late .lp-eq i:nth-of-type(2){display:none}
.bb-late .lp-ladder li:nth-child(2){margin-left:14px}
.bb-late .lp-ladder li:nth-child(3){margin-left:28px}
}
