/* blog-hiring-first-employee-legal (build_blog_hiring_first_employee_legal.py). Every rule starts with .bb-hire.
   Centrepiece: the five things that must exist before day one, drawn as five tabbed papers in a starter file. */

/* reading column, contents and the small print: shared shape, scoped to this page */
.bb-hire .b-art{max-width:1220px;margin:0 auto;padding:60px 28px 24px}
.bb-hire .b-sec{display:grid;grid-template-columns:minmax(0,41rem) minmax(0,1fr);column-gap:72px;align-items:start;padding-top:68px}
.bb-hire .b-sec.b-first{padding-top:0}
.bb-hire .b-sec>*{min-width:0}
.bb-hire .b-sec>.b-tx{grid-column:1}
.bb-hire .b-sec>.b-side{grid-column:2}
.bb-hire .b-sec>.b-wide{grid-column:1/-1}
.bb-hire :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-hire :where(.b-art) p{font-size:1.06rem;line-height:1.72;color:#2a2629;margin:0 0 16px}
.bb-hire :where(.b-art .b-tx)>p:last-child{margin-bottom:0}
.bb-hire .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-hire :where(.b-art) p a,.bb-hire :where(.b-art) li a,.bb-hire .b-legal a{color:var(--cd);font-weight:700;text-decoration:underline;text-underline-offset:3px}
.bb-hire :where(.b-art) strong{color:var(--ink)}
.bb-hire :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-hire .b-toc{counter-reset:toc;border-top:3px solid var(--ink);padding-top:14px}
.bb-hire .b-toc b{display:block;font-family:var(--head);font-size:1.02rem;font-weight:700;margin-bottom:6px}
.bb-hire .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-hire .b-toc a:before{content:counter(toc);font-family:var(--head);font-weight:700;color:var(--c)}
.bb-hire .b-toc a:hover{color:var(--cd)}
.bb-hire .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-hire .b-legal b{display:block;color:var(--ink);font-size:.92rem;margin-bottom:4px}
.bb-hire .b-eg{font-size:.84rem;line-height:1.5;color:var(--mute);margin:14px 0 0}
.bb-hire .b-art+section.g{padding-top:40px}
.bb-hire .cap+.faqs{margin-top:40px}
.bb-hire .b-relbox{margin-top:62px;border-top:3px solid var(--ink);padding-top:14px}
.bb-hire .b-relbox>b{display:block;font-family:var(--head);font-weight:700;font-size:1.02rem;margin-bottom:8px}
.bb-hire .b-relbox p{font-size:.98rem;line-height:1.65;margin:0}
.bb-hire .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-hire :where(.b-band) h2{color:#fff}
.bb-hire :where(.b-band) p{color:#efe8eb}
.bb-hire :where(.b-band) mark.kf{background:linear-gradient(180deg,transparent 58%,var(--cd) 58%);color:#fff}
.bb-hire :where(.b-band) p a{color:#fff}
@media(max-width:980px){
.bb-hire .b-sec{grid-template-columns:minmax(0,1fr);padding-top:52px}
.bb-hire .b-sec>.b-side,.bb-hire .b-sec>.b-tx,.bb-hire .b-sec>.b-wide{grid-column:1}
.bb-hire .b-sec>.b-side{margin-top:26px}
.bb-hire .b-relbox{margin-top:26px}
}
@media(max-width:600px){
.bb-hire .b-art{padding:40px 18px 12px}
.bb-hire .b-band{margin:52px -18px 0;padding:52px 18px 60px}
.bb-hire .b-first .b-tx>p:first-child{font-size:1.14rem}
}

/* the starter file */
.bb-hire .hr-papers{list-style:none;counter-reset:p;margin:34px 0 0;padding:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:44px 22px}
.bb-hire .hr-papers li{counter-increment:p;grid-column:span 2;position:relative;background:#fff;color:var(--ink);border-radius:0 4px 4px 4px;padding:26px 24px 26px;margin-top:34px}
.bb-hire .hr-papers li:nth-child(n+4){grid-column:span 3}
.bb-hire .hr-papers li:after{content:"";position:absolute;right:0;bottom:0;border-style:solid;border-width:0 0 26px 26px;border-color:transparent transparent var(--ink) #ffc9d6}
.bb-hire .hr-tab{position:absolute;left:0;bottom:100%;height:34px;display:flex;align-items:center;padding:0 16px;background:var(--cfield);color:var(--ink);border-radius:8px 8px 0 0;font-family:var(--head);font-weight:700;font-size:.86rem;white-space:nowrap}
.bb-hire .hr-papers li>div{font-size:.98rem;line-height:1.62;color:#2a2629}
.bb-hire .hr-papers li>div:before{content:counter(p);float:right;margin:-6px 0 6px 14px;font-family:var(--head);font-weight:700;font-size:2.6rem;line-height:1;letter-spacing:-.04em;color:#ffc9d6}
.bb-hire .hr-papers li>div>strong:first-child{font-family:var(--head);font-size:1.06rem;letter-spacing:-.016em}
.bb-hire .hr-pen{max-width:41rem;margin-top:40px}
.bb-hire .hr-pen p{margin:0}

/* statement and contract as one sheet */
.bb-hire .hr-doc{border:2px solid var(--ink);border-radius:4px;margin-top:6px;box-shadow:8px 8px 0 #ffc9d6}
.bb-hire .hr-doc>div{padding:20px 22px 20px}
.bb-hire .hr-doc p{font-family:var(--head);font-weight:700;font-size:1.02rem;margin:0 0 12px;color:var(--ink)}
.bb-hire .hr-doc ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:7px}
.bb-hire .hr-doc li{padding:6px 11px;border-radius:6px;font-size:.9rem;line-height:1.3;background:#fff0f4;color:var(--ink)}
.bb-hire .hr-adds{background:var(--cfield);border-top:2px solid var(--ink)}
.bb-hire .hr-adds li{background:#fff}

/* the status facts */
.bb-hire .hr-status{margin-top:8px}
.bb-hire .hr-status ul{list-style:none;margin:0;padding:0;border-top:2px solid var(--ink)}
.bb-hire .hr-status li{position:relative;padding:11px 0 11px 34px;border-bottom:1px solid var(--line);font-size:.98rem;color:var(--ink)}
.bb-hire .hr-status li:before{content:"";position:absolute;left:2px;top:17px;width:16px;height:3px;background:var(--cfield)}
.bb-hire .hr-status li:after{content:"";position:absolute;left:8.5px;top:10.5px;width:3px;height:16px;background:var(--cfield)}
.bb-hire .hr-status p{margin:0;padding:14px 16px;background:var(--ink);color:#fff;font-family:var(--head);font-weight:600;font-size:.98rem;line-height:1.4;border-radius:0 0 10px 10px}

/* what sits on top of the salary */
.bb-hire .hr-stack{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:4px}
.bb-hire .hr-stack li{padding:10px 16px;background:#ffd3e0;font-size:.95rem;font-weight:700;color:var(--ink);border-radius:4px}
.bb-hire .hr-stack .hr-oth{background:#fff0f4}
.bb-hire .hr-stack .hr-pay{padding:26px 16px;background:var(--cfield);font-family:var(--head);font-size:1.15rem}
.bb-hire .hr-eg{margin-top:44px;border:2px solid var(--ink);border-left:10px solid var(--cfield);border-radius:4px 16px 16px 4px;padding:26px 30px 28px;display:grid;grid-template-columns:8rem minmax(0,1fr);column-gap:24px}
.bb-hire .hr-eg>b{font-family:var(--head);font-weight:700;font-size:1.3rem;letter-spacing:-.02em}
.bb-hire .hr-eg p{margin:0;max-width:50rem;color:var(--ink)}

/* two years, six months */
.bb-hire .hr-qual{margin-top:8px}
.bb-hire .hr-ql{font-family:var(--head);font-weight:700;font-size:1.02rem;line-height:1.35;color:var(--ink);margin:0 0 18px}
.bb-hire .hr-bar{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:12px;align-items:baseline;margin-bottom:18px}
.bb-hire .hr-bar i{grid-column:1/-1;display:block;height:26px;border-radius:4px;margin-bottom:8px}
.bb-hire .hr-now i{width:100%;background:var(--ink)}
.bb-hire .hr-new i{width:25%;background:var(--cfield)}
.bb-hire .hr-bar b{font-family:var(--head);font-weight:700;font-size:1.2rem;letter-spacing:-.02em}
.bb-hire .hr-bar span{font-size:.92rem;color:var(--mute)}
.bb-hire .hr-qn{font-size:.92rem;line-height:1.5;color:#2a2629;margin:0;padding-top:14px;border-top:1px solid var(--line)}

@media(max-width:980px){
.bb-hire .hr-papers{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.bb-hire .hr-papers li,.bb-hire .hr-papers li:nth-child(n+4){grid-column:auto}
.bb-hire .hr-doc,.bb-hire .hr-status,.bb-hire .hr-stack,.bb-hire .hr-qual{max-width:32rem}
}
@media(max-width:600px){
.bb-hire .hr-papers{grid-template-columns:minmax(0,1fr);row-gap:30px}
.bb-hire .hr-eg{grid-template-columns:minmax(0,1fr);row-gap:10px;padding:22px 20px}
.bb-hire .hr-tab{font-size:.8rem;padding:0 12px}
}
