/* Take My Clutter: the guide template (lead-engine ADR-0261). Loaded after base.css, menu.css, home.css, pages.css and national.css.
   Only what a guide has that the other pages do not: the "on this page" strip, the section rhythm, text blocks, the guide list. */

/* On this page: the way to each section, under the hero */
.gd-toc{background:var(--cream);border-bottom:1px solid var(--line);padding:16px 0}
.gd-toc .wrap{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px}
.gd-toc b{font:800 12.5px var(--body);letter-spacing:.09em;text-transform:uppercase;color:var(--muted);margin-right:8px}
.gd-toc a{display:inline-block;padding:8px 14px;border:1.5px solid var(--line);border-radius:999px;background:#fff;font:700 14px/1.2 var(--body);color:var(--deep);text-decoration:none;transition:border-color .15s,color .15s}
.gd-toc a:hover,.gd-toc a:focus-visible{border-color:var(--blue);color:var(--blue)}
main section[id]{scroll-margin-top:84px}

/* Section rhythm: white, then cream, with no rule between */
.gd{border-top:0}
.gd.gd-cream{background:var(--cream)}
.gd-toc + .gd{padding-top:76px}
.gd-cream .go-note,.gd-cream .i-card{background:#fff;border:1px solid var(--line)}
.gd .go-note{margin-top:22px;max-width:none}
.gd .e-table + .go-note{margin-top:18px}

/* Short-answer cards */
.g-grid.n2{grid-template-columns:1fr 1fr}
.g-grid.n4{grid-template-columns:repeat(4,1fr)}
.g-grid.n5,.g-grid.n6{grid-template-columns:repeat(3,1fr)}

/* Cards that carry a link sit it at the foot */
.gd-lnk{margin-top:16px;white-space:normal}
.ty-best + .gd-lnk{margin-top:10px}
.gd-cards .ty-card p + p:not(.ty-best){margin-top:10px}

/* Text blocks */
.gd-prose{display:grid;gap:34px 64px}
.gd-prose.n2{grid-template-columns:1fr 1fr}
.gd-prose.n1{grid-template-columns:1fr}
.gd-block h3{font-size:22px;margin-bottom:10px}
.gd-block p{margin:0 0 12px;font-size:16.5px;line-height:1.6;max-width:64ch}
.gd-block p:last-child{margin-bottom:0}
.gd-ph{display:grid;grid-template-columns:.85fr 1.15fr;gap:56px;align-items:start}
.gd-img img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:14px;display:block}

/* Sizes: fewer than five skips still stand on one ground line */
.sz-grid.n2{grid-template-columns:repeat(2,1fr)}
.sz-grid.n3{grid-template-columns:repeat(3,1fr)}
.sz-grid.n4{grid-template-columns:repeat(4,1fr)}
.sz-est{margin:12px 0 0;font:900 18px var(--head);color:var(--blue);white-space:nowrap}

/* The guide list on a group page */
.gd-guides{display:grid;gap:14px}
.gd-guides.n1{grid-template-columns:minmax(0,640px)}
.gd-guides.n2{grid-template-columns:1fr 1fr}
.gd-guides.n3{grid-template-columns:repeat(3,1fr)}
.gd-guide{padding:20px 22px;border-left:5px solid var(--yellow)}
.gd-guide b{font-size:19px}
.gd-guide small{font-size:14.5px;line-height:1.45;margin-top:4px}

/* The way to a paid job */
.gd-help .s-card .lnk{white-space:normal}

/* Read next */
.gd-more .n-col .lrow{font-size:15.5px}

@media (max-width:1180px){
  .g-grid.n4{grid-template-columns:1fr 1fr}
  .gd-guides.n3{grid-template-columns:1fr 1fr}
}
@media (max-width:980px){
  .gd-toc{padding:14px 0}
  .gd-toc .wrap{gap:7px}
  .gd-toc b{flex:0 0 100%;margin:0 0 2px}
  .gd-toc a{padding:7px 12px;font-size:13.5px}
  .gd-toc + .gd{padding-top:52px}
  .g-grid.n2,.g-grid.n4,.g-grid.n5,.g-grid.n6,.gd-prose.n2,.gd-ph,.gd-guides.n2,.gd-guides.n3,.gd-guides.n1{grid-template-columns:1fr}
  .sz-grid.n2,.sz-grid.n3,.sz-grid.n4{grid-template-columns:1fr}
  .gd-prose{gap:26px}
  .gd-ph{gap:24px}
  .gd-img img{aspect-ratio:16/10}
  .gd-block h3{font-size:20px}
  .gd-help .sec-head.row .btn{width:100%;margin-top:14px}
  .sz-est{margin-top:6px;font-size:16.5px}
  .gd-lnk{padding:10px 0}
}
