/* Layout and visual variants for the sheet pile supply pages. */
.tsp { color: #18242d; background: #f4f6f6; font-family: system-ui, sans-serif; line-height: 1.65; }
.tsp *, .tsp *::before, .tsp *::after { box-sizing: border-box; }
.tsp a { color: var(--tsp-dark); text-underline-offset: 3px; }
.tsp a:focus-visible, .tsp summary:focus-visible { outline: 3px solid var(--tsp-accent); outline-offset: 3px; }
.tsp h1, .tsp h2, .tsp h3 { color: var(--tsp-dark); line-height: 1.14; font-family: var(--tsp-font); }
.tsp h1 { font-size: clamp(1.95rem, 4.7vw, 3.6rem); margin: 0 0 14px; }
.tsp h2 { font-size: clamp(1.38rem, 2.5vw, 2rem); margin: 0 0 12px; }
.tsp h3 { font-size: 1.08rem; }
.tsp p { margin: 0 0 12px; }
.tsp .tsp-shell { width: min(1160px, calc(100% - 32px)); margin: 0 auto; padding: 14px 0 36px; }
.tsp-cta { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #222e3d; color: #fff; padding: 12px 16px; margin-bottom: 12px; border-radius: 15px; font-weight: 800; }
.tsp-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.tsp .tsp-buttons a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 15px; border: 1px solid transparent; border-radius: 9px; text-align: center; text-decoration: none; background: #ffd6ae; color: #2d2518; font-weight: 800; line-height: 1.3; }
.tsp .tsp-buttons a + a { background: #def1e4; color: #173b28; }
.tsp .tsp-buttons a:hover { text-decoration: underline; }
.tsp-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}
.tsp-hero {
  display: grid;
  place-items: center;
  min-width: 0;
  margin: 0;
  padding: 8px;
  background: #e7ebdc;
  border: 1px solid #d8dce0;
  border-radius: 15px;
  overflow: hidden;
}
.tsp-hero img {
  display: block;
  width: 100%;
  height: auto;
}
@media (min-width: 781px) {
  .tsp-top--has-hero {
    grid-template-columns: minmax(0, .86fr) minmax(0, 1fr);
  }
  .tsp-hero { min-height: clamp(220px, 28vw, 335px); }
}
.tsp-form { min-width: 0; background: #fff; border: 1px solid #d8dce0; padding: 14px 17px; border-radius: 15px; }
.tsp-form input, .tsp-form select, .tsp-form textarea { min-width: 0; max-width: 100%; }
.tsp-crumb ol, .tsp-toc ul { display: flex; flex-wrap: wrap; gap: 5px 10px; list-style: none; margin: 0; padding: 0; }
.tsp-crumb { margin: 12px 0; font-size: .88rem; }
.tsp-crumb li+li::before { content: "›"; margin-right: 9px; color: #52616b; }
.tsp-intro, .tsp-panel { background: white; border: 1px solid #dce2e4; padding: clamp(15px, 3vw, 26px); border-radius: 13px; min-width: 0; }
.tsp-intro p:last-child, .tsp-panel p:last-child { margin-bottom: 0; }
.tsp-intro a { font-weight: 750; }
.tsp-town-directory, .tsp-radius { margin-top: 12px; }
.tsp details { min-width: 0; }
.tsp summary { cursor: pointer; color: var(--tsp-dark); font-weight: 750; padding: 8px 0; }
.tsp-town-directory > div, .tsp-radius > div { background: var(--tsp-tint); padding: 10px 13px; border-radius: 9px; }
.tsp-town-directory p { margin: 0 0 7px; }
.tsp-radius h3 { margin: 10px 0 5px; }
.tsp-toc { margin: 12px 0; }
.tsp-toc a { display: inline-block; padding: 4px 9px; background: var(--tsp-tint); border-radius: 6px; font-size: .88rem; font-weight: 750; }
.tsp-sections { display: grid; gap: 12px; align-items: start; }
.tsp-panel { scroll-margin-top: 12px; }
.tsp-panel li { margin: 0 0 5px; }
.tsp-panel p { max-width: 85ch; }
.tsp-faq details { border-top: 1px solid #dce2e4; }
.tsp-faq details p { padding: 0 0 9px; }
.tsp-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tsp-gallery figure { margin: 0; min-width: 0; background: var(--tsp-tint); border-radius: 8px; overflow: hidden; }
.tsp-gallery img { width: 100%; height: auto; display: block; }
.tsp-gallery figcaption { padding: 8px 10px; font-weight: 750; }

/* Four article compositions; the wide directory and FAQs always span both columns. */
.tsp--splitline .tsp-intro { border-inline-start: 6px solid var(--tsp-accent); }
.tsp--splitline .tsp-panel { border-radius: 0; border-inline-start: 4px solid var(--tsp-accent); }
.tsp--tiles .tsp-sections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tsp--tiles .tsp-wide { grid-column: 1/-1; }
.tsp--tiles .tsp-intro { background: var(--tsp-tint); }
.tsp--index .tsp-panel:not(.tsp-wide) { display: grid; grid-template-columns: minmax(0,.4fr) minmax(0,1fr); column-gap: 16px; }
.tsp--index .tsp-intro { border-top: 6px solid var(--tsp-accent); }
.tsp--stripe .tsp-panel { border-radius: 9px; }
.tsp--stripe .tsp-panel:nth-child(odd) { background: var(--tsp-tint); }
.tsp--stripe .tsp-intro { border-bottom: 6px solid var(--tsp-accent); }
@media (max-width: 760px) {
  .tsp--tiles .tsp-sections { grid-template-columns: minmax(0,1fr); }
  .tsp--index .tsp-panel:not(.tsp-wide) { display: block; }
  .tsp-gallery { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 480px) {
  .tsp .tsp-shell { width: calc(100% - 20px); }
  .tsp-cta { flex-direction: column; align-items: stretch; padding: 10px; gap: 6px; }
  .tsp-buttons { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7px; }
  .tsp .tsp-buttons a { padding: 7px 5px; font-size: .84rem; }
  .tsp-gallery { grid-template-columns: minmax(0,1fr); }
}

/* Batch 2: alternate surfaces and framing. */
.tsp--splitline .tsp-panel{border-inline-start:0;border-bottom:3px solid var(--tsp-accent);border-radius:8px}
.tsp--tiles .tsp-panel{border-top:3px solid var(--tsp-accent)}
.tsp--index .tsp-panel:not(.tsp-wide) h2{border-inline-start:4px solid var(--tsp-accent);padding-inline-start:9px}
.tsp--stripe .tsp-panel:nth-child(odd){background:#fff;border-inline-start:7px solid var(--tsp-accent)}
