/* letter-of-claim-pre-action-protocol-for-debt-claims-template (build_letter_of_claim_pre_action_protocol_for_debt_claims_template.py). Every rule starts with .th-lc.
   Centrepiece: the letter and the three documents the protocol says to enclose, drawn as a pack. */
.th-lc .lc-pack{background:var(--ink);color:#fff;padding:64px 0 76px}
.th-lc .lc-docp p{color:#e6dfe2;margin-top:8px;font-size:1.02rem}
.th-lc .lc-desk{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:64px;align-items:start;margin-top:34px}
.th-lc .lc-letter{background:#fff;color:var(--ink);border-radius:3px;padding:36px 40px 30px;box-shadow:12px 12px 0 var(--cfield)}
.th-lc .lc-title{font-family:var(--head);font-weight:700;font-size:1.5rem;letter-spacing:-.025em;padding-bottom:16px;border-bottom:2px solid var(--ink)}
.th-lc .lc-secs{list-style:none;margin:0;padding:0;counter-reset:s}
.th-lc .lc-secs li{counter-increment:s;display:grid;grid-template-columns:30px minmax(0,1fr);padding:13px 0 15px;border-bottom:1px solid var(--line)}
.th-lc .lc-secs li:before{content:counter(s) ".";font-family:var(--head);font-weight:700;color:var(--cd)}
.th-lc .lc-secs span{font-family:var(--head);font-weight:600;font-size:1rem}
.th-lc .lc-secs .lc-ln{grid-column:2}
.th-lc .lc-secs .lc-enc{border-bottom:0;position:relative;padding-bottom:4px}
.th-lc .lc-secs .lc-enc span{color:var(--cd)}
.th-lc .lc-encl h3{color:#fff;font-size:1.2rem;padding-bottom:12px;border-bottom:2px solid var(--cfield)}
.th-lc .lc-fan{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:40px;align-items:start}
.th-lc .lc-pg{background:#fff;color:var(--ink);border-radius:3px;padding:18px 16px 22px;min-height:400px}
.th-lc .lc-pg p{font-family:var(--head);font-weight:700;font-size:1.05rem;line-height:1.2;letter-spacing:-.015em;min-height:2.5em;margin-bottom:8px}
.th-lc .lc-a{transform:rotate(-3deg)}
.th-lc .lc-b{transform:translateY(22px)}
.th-lc .lc-c{transform:rotate(3deg) translateY(6px)}
.th-lc .lc-tick{display:block;height:16px;margin-top:16px;background:linear-gradient(var(--line),var(--line)) 28px 5px/calc(100% - 28px) 7px no-repeat}
.th-lc .lc-tick:before{content:"";display:block;width:14px;height:14px;border:2px solid var(--ink);border-radius:2px}
.th-lc .lc-cell{display:block;height:26px;margin-top:-1.5px;border:1.5px solid var(--ink);background:linear-gradient(var(--ink),var(--ink)) 62% 0/1.5px 100% no-repeat}
.th-lc .lc-cell:first-of-type{margin-top:8px;background-color:#ffe1ea}
.th-lc .lc-cap{margin-top:60px;font-size:.95rem;color:#e6dfe2}
.th-lc .lc-time{padding:68px 0 20px}
.th-lc .lc-days{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:28px 0 0;border-top:2px solid var(--ink)}
.th-lc .lc-days>div{padding:22px 28px 8px 0}
.th-lc .lc-days>div+div{padding-left:28px;border-left:1px solid var(--line)}
.th-lc .lc-days dt{font-family:var(--head);font-weight:700;font-size:clamp(2.6rem,5vw,4rem);letter-spacing:-.04em;line-height:1;color:var(--cd)}
.th-lc .lc-days dt small{font-size:1.05rem;letter-spacing:-.01em;color:var(--ink);font-weight:700}
.th-lc .lc-days dd{margin:12px 0 0;font-size:1.04rem;line-height:1.55;color:var(--ink);max-width:30ch}
.th-lc .lc-use{padding:56px 0 64px}
.th-lc .lc-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;align-items:start}
.th-lc .lc-before{margin-top:34px;padding-top:20px;border-top:2px solid var(--cfield)}
.th-lc .lc-law{background:#fff0f4;border-radius:var(--r);padding:26px 30px 30px}
.th-lc .lc-law p{font-size:.98rem}
@media(max-width:980px){
.th-lc .lc-desk{grid-template-columns:1fr;gap:48px}
.th-lc .lc-two{grid-template-columns:1fr;gap:36px}
}
@media(max-width:700px){
.th-lc .lc-pack{padding:44px 0 52px}
.th-lc .lc-letter{padding:24px 20px 20px;box-shadow:8px 8px 0 var(--cfield)}
.th-lc .lc-fan{grid-template-columns:1fr;gap:14px;margin-top:22px}
.th-lc .lc-pg{min-height:0;transform:none}
.th-lc .lc-cap{margin-top:22px}
.th-lc .lc-days{grid-template-columns:1fr}
.th-lc .lc-days>div+div{padding-left:0;border-left:0;border-top:1px solid var(--line)}
.th-lc .lc-time{padding:44px 0 8px}
.th-lc .lc-use{padding:40px 0 44px}
.th-lc .lc-law{padding:20px 18px 22px}
}

/* shared shape of the kept blocks */
.th-lc .lc-in{max-width:1220px;margin:0 auto;padding:0 28px}
.th-lc section[class^="lc-"] h2{font-size:clamp(1.5rem,2.3vw,2rem);font-weight:700;letter-spacing:-.028em;line-height:1.14;margin:0}
.th-lc section[class^="lc-"] h3{font-size:1.12rem;font-weight:700;letter-spacing:-.015em;margin:0}
.th-lc .lc-tx{font-size:1.04rem;line-height:1.68;color:#3d3b41;max-width:68ch}
.th-lc .lc-fill p{font-size:1.14rem;line-height:1.6;color:var(--ink);max-width:60ch;margin-top:12px}
.th-lc .lc-law p{font-size:.95rem;line-height:1.72;color:#3d3b41;max-width:74ch;margin-top:10px}
.th-lc .lc-before p{font-size:1rem;line-height:1.65;color:var(--ink);margin-top:8px;max-width:62ch}
.th-lc .lc-ln{display:block;height:7px;border-radius:2px;background:var(--line);margin-top:9px}
.th-lc .lc-ln.w20{width:20%}.th-lc .lc-ln.w30{width:30%}.th-lc .lc-ln.w40{width:40%}.th-lc .lc-ln.w50{width:50%}.th-lc .lc-ln.w60{width:60%}
.th-lc .lc-ln.w70{width:70%}.th-lc .lc-ln.w80{width:80%}.th-lc .lc-ln.w90{width:90%}.th-lc .lc-ln.w100{width:100%}
.th-lc .lc-bl{display:block;height:24px;border-bottom:1.5px solid var(--ink)}

/* the subscription box (#tpl), kept from the source */
.th-lc .lc-buy{min-width:0}
.th-lc .lc-buy .tpl{border:2px solid var(--ink);border-radius:14px;margin:0;max-width:none}
.th-lc .lc-buy .tplbar{display:none}
.th-lc .lc-buy .tpl:has(.tpldoc:not(.hidden-guide)) .tplbar{display:flex}
.th-lc .lc-buy .tplgate{background:var(--cfield);text-align:left;padding:30px 28px}
.th-lc .lc-buy .tplgate h3,.th-lc .lc-buy .tplgate>p{color:var(--ink)}
.th-lc .lc-buy .tplgate>p{margin-left:0}
.th-lc .lc-buy .tplgate h3{margin-bottom:12px}
.th-lc .lc-buy .tplcta{justify-content:flex-start}
.th-lc .lc-buy .tplcta .btn{background:var(--ink);color:#fff;border-color:var(--ink);max-width:100%;text-align:center}
.th-lc .lc-buy .tplsignin,.th-lc .lc-buy .tplplans{color:var(--ink);text-decoration:underline}
.th-lc .lc-buy .tpldfy{background:#fff;margin:24px -28px -30px;padding:26px 28px;border-top:2px solid var(--ink);text-align:left;max-width:none}
.th-lc .lc-buy .tpldfy form{display:grid;grid-template-columns:1fr;gap:10px}

/* questions */
.th-lc .lc-faq{padding:64px 0 60px;border-top:1px solid var(--line)}
.th-lc .lc-faq .lc-in{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,8fr);gap:48px;align-items:start}
.th-lc .lc-qs{border-top:2px solid var(--ink)}

/* related templates: the SEO-LINKS block, set as a plain list */
.th-lc .art-rel{padding-block:0 64px}
.th-lc .art-rel>h2{font-size:1.25rem;letter-spacing:-.02em;margin-bottom:12px}
.th-lc .art-rel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 48px;border-top:2px solid var(--ink)}
.th-lc .art-rel-grid a{flex-direction:row;align-items:center;min-height:0;padding:15px 2px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:none;font-size:1rem;gap:16px;transition:none}
.th-lc .art-rel-grid a:first-child{background:none;border-color:var(--line)}
.th-lc .art-rel-grid a:hover{transform:none;box-shadow:none;color:var(--c)}

@media(max-width:980px){
.th-lc .lc-faq .lc-in{grid-template-columns:1fr;gap:22px}
}
@media(max-width:700px){
.th-lc .lc-in{padding:0 18px}
.th-lc .lc-faq{padding:44px 0}
.th-lc .art-rel-grid{grid-template-columns:1fr}
.th-lc .art-rel{padding-block:0 44px}
.th-lc .lc-buy .tplgate{padding:24px 20px}
.th-lc .lc-buy .tplcta .btn{padding-inline:14px}
.th-lc .lc-buy .tpldfy{margin:22px -20px -24px;padding:22px 20px}
}

/* layout: the subscription box as a band of its own, plans on the left, drafting form on the right */
.th-lc .lc-get{padding:0 0 72px}
.th-lc .lc-buy .tplgate{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:48px;align-content:start;padding:34px 36px}
.th-lc .lc-buy .tplgate>*{grid-column:1}
.th-lc .lc-buy .tplgate .tpldfy{grid-column:2;grid-row:1/span 5;margin:-34px -36px -34px 0;padding:34px 36px;border-top:0;border-left:2px solid var(--ink)}
@media(max-width:860px){
.th-lc .lc-buy .tplgate{display:block;padding:24px 20px}
.th-lc .lc-buy .tplgate .tpldfy{margin:22px -20px -24px;padding:22px 20px;border-left:0;border-top:2px solid var(--ink)}
.th-lc .lc-get{padding-bottom:48px}
}
