/* Take My Clutter trust pages (lead-engine ADR-0261): about, how it works, editorial policy, complaints, privacy, terms.
   Loaded after base.css, menu.css, home.css and pages.css, so the header, menu, footer, type and colours are the site's.
   This file adds one plain reading layout: a blue band for the page head, a jump list, and one column of words.
   Every class here starts with tp- so nothing on another page changes. */

/* The page head with no photo and no form: the hero's blue, without the flap cut */
.tp-band{min-height:0}
.tp-band:before,.tp-band:after{display:none}
.tp-head{padding-top:128px;padding-bottom:62px}
.d-trust .tp-band .big{max-width:880px;margin:14px 0 16px;font-size:clamp(26px,2.5vw,36px)}
.d-trust .tp-band .lede{max-width:70ch;margin-bottom:20px}
.tp-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 0;margin:0;font:700 13.5px/1.4 var(--body);color:var(--ondarkm)}
.tp-meta span + span:before{content:"";display:inline-block;width:4px;height:4px;border-radius:50%;background:var(--yellow);margin:0 12px;vertical-align:middle}
.tp-meta a{color:#fff;text-underline-offset:3px;display:inline-block;padding:5px 0}
.hero-grid .tp-meta{margin-top:22px}

/* The words: a jump list beside one reading column */
.tp-doc{padding:72px 0 88px;border-top:0}
.tp-grid{display:grid;grid-template-columns:250px minmax(0,760px);gap:76px;align-items:start}
.tp-toc{position:sticky;top:116px;border-left:3px solid var(--yellow);padding:2px 0 2px 20px}
.tp-toc p{margin:0 0 8px;font:800 13.5px var(--body);letter-spacing:.09em;text-transform:uppercase;color:var(--muted)}
.tp-toc ol{list-style:none;margin:0;padding:0}
.tp-toc a{display:block;padding:7px 0;font-weight:700;font-size:15px;line-height:1.35;color:var(--deep);text-decoration:none}
.tp-toc a:hover{color:var(--blue);text-decoration:underline;text-underline-offset:3px}
.tp-body h2{font-size:clamp(25px,2.2vw,31px);line-height:1.15;margin:50px 0 14px;scroll-margin-top:112px}
.tp-body h2:first-child{margin-top:0}
.d-page .tp-body h3{margin:28px 0 8px;font-size:20px}
.tp-body p{margin:0 0 16px;font-size:17.5px;line-height:1.65}
.tp-body p a,.tp-body .tp-list a{color:var(--blue);font-weight:700;text-underline-offset:3px;padding:4px 0}
.tp-list{list-style:none;margin:0 0 18px;padding:0}
.tp-list li{position:relative;padding:0 0 12px 26px;font-size:17.5px;line-height:1.6}
.tp-list li:before{content:"";position:absolute;left:2px;top:10px;width:9px;height:9px;border-radius:3px;background:var(--blue)}

/* Steps, cards and link rows inside the reading column */
.tp-steps{list-style:none;margin:6px 0 22px;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.tp-steps li{border:1px solid var(--line);border-radius:12px;padding:20px 22px 22px;background:#fff}
.tp-steps i{font:900 16px var(--head);font-style:normal;display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:var(--yellow);color:var(--deep);margin-bottom:14px}
.tp-steps b{display:block;font:900 19px/1.2 var(--head);color:var(--deep)}
.tp-steps p{margin:6px 0 0;font-size:15px;line-height:1.5;color:var(--muted)}
.tp-body .tr-cards{margin:6px 0 22px}
.tp-body .tr-card p{margin:3px 0 0;font-size:14.5px;line-height:1.5}
.tp-rows{grid-template-columns:1fr 1fr;column-gap:40px;margin:6px 0 22px}
.tp-rows .lrow{font-size:16px}

/* Helpful next: the cards under a legal page */
.tp-next{background:var(--cream);padding:60px 0 64px;border-top:1px solid var(--line)}
.tp-next h2{font-size:clamp(25px,2.2vw,31px);margin-bottom:22px}
.tp-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:14px}
.tp-nx{display:block;background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px 22px 22px;text-decoration:none;transition:border-color .15s,transform .15s}
.tp-nx:hover,.tp-nx:focus-visible{border-color:var(--blue);transform:translateY(-2px);outline:none}
.tp-nx b{display:block;font:900 19.5px/1.2 var(--head);color:var(--blue)}
.tp-nx span{display:block;margin-top:6px;font-size:15px;line-height:1.5;color:var(--muted)}

/* Where this information comes from */
.tp-src{padding:44px 0 46px;border-top:1px solid var(--line)}
.tp-src h2{font-size:20px;color:var(--deep);margin-bottom:10px}
.tp-src ul{margin:0;padding-left:18px;font-size:14px;line-height:1.5;color:var(--muted);max-width:90ch}
.tp-src li{padding:2px 0}
.tp-src p{margin:10px 0 0;font-size:14px;color:var(--muted)}
.tp-src a{color:var(--deep);display:inline-block;padding:4px 0}

/* More on this site */
.tp-more{padding:52px 0 64px;border-top:1px solid var(--line)}
.tp-more h2{font-size:22px;color:var(--deep);margin-bottom:16px}
.tp-more .tp-rows{grid-template-columns:repeat(4,1fr);column-gap:32px;margin:0}

@media (max-width:980px){
  .tp-head{padding-top:104px;padding-bottom:44px}
  .d-trust .tp-band .big{font-size:27px}
  .tp-meta{flex-direction:column;align-items:flex-start;gap:0}
  .tp-meta span + span:before{display:none}
  .tp-doc{padding:44px 0 56px}
  .tp-grid{grid-template-columns:1fr;gap:34px}
  .tp-toc{position:static}
  .tp-toc a{padding:9px 0}
  .tp-body h2{margin-top:40px}
  .tp-body p,.tp-list li{font-size:16.5px}
  .tp-steps,.tp-rows,.tp-more .tp-rows{grid-template-columns:1fr}
  .tp-next{padding:44px 0 48px}
  .tp-more{padding:40px 0 48px}
  .tp-src a{padding:8px 0}
}
