/* =========================================================
   Project detail pages (single-techpro_project.php)
   Only what is unique to this page type -- hero, breadcrumb,
   ticked list, white/dark/product cards, carousels and buttons
   are shared `tp-` classes in page-components.css.
   ========================================================= */

.pd-page {
  padding-bottom: 100px;
}

/* Layout: main column + sticky sidebar */
.pd-layout {
  display: grid;
  grid-template-columns: minmax(0, 770fr) minmax(0, 300fr);
  gap: 100px;
  align-items: start;
  padding-top: 50px;
}
.pd-main {
  min-width: 0;
}
.pd-block {
  margin: 0 0 48px;
  scroll-margin-top: 110px;
}
.pd-block h2 {
  margin: 0 0 16px;
  color: #121417;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.25;
}
.pd-block p {
  margin: 0 0 12px;
  color: #333;
  font-size: 14.5px;
  line-height: 1.65;
}
.pd-block .tp-product-card__ref {
  margin: auto 0 0;
  color: #4f4f4f;
  font-size: 12.5px;
}
.pd-checklist {
  margin-top: 16px;
}
.pd-checklist li {
  font-weight: 500;
}

/* Large image */
.pd-image {
  overflow: hidden;
  border-radius: 20px;
}
.pd-image img {
  display: block;
  width: 100%;
  aspect-ratio: 770 / 380;
  object-fit: cover;
}

/* Supply scope */
.pd-block .pd-supply-label {
  margin-bottom: 18px;
  color: #121417;
  font-size: 16px;
  font-weight: 500;
}
.pd-supply-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}
.pd-supply-ico {
  margin-bottom: 26px;
}

/* Photo carousel */
.pd-photo {
  overflow: hidden;
  border-radius: 16px;
  background: #dfe3e8;
}
.pd-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 370 / 330;
  object-fit: cover;
}
.pd-center {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* Sidebar */
.pd-sticky {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 40px;
}
.pd-toc {
  padding: 30px;
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 16px;
}
.pd-toc h2,
.pd-cta h2 {
  margin: 0 0 22px;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.25;
}
.pd-toc h2 {
  color: #121417;
}
.pd-toc ul {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
}
.pd-toc li + li {
  margin-top: 14px;
}
.pd-toc a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #333;
  font-size: 15px;
  text-decoration: none;
}
.pd-toc a .tp-check {
  color: #4f4f4f;
}
.pd-toc a:hover,
.pd-toc a.is-active,
.pd-toc a.is-active .tp-check {
  color: var(--green, #00a551);
}
.pd-cta {
  padding: 30px;
  background: #101923;
  border-radius: 16px;
}
.pd-cta-ico {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  border-radius: 6px;
  background: rgba(0, 165, 81, 0.16);
  color: #2fd07a;
}
.pd-cta h2 {
  margin-bottom: 12px;
  color: #fff;
}
.pd-cta p {
  margin: 0 0 30px;
  color: #c3cad2;
  font-size: 14.5px;
  line-height: 1.55;
}

/* Contact + Explore More Projects */
.pd-contact {
  padding-top: 40px;
  scroll-margin-top: 90px;
}
.pd-more {
  padding-top: 20px;
}
.pd-more h2 {
  margin: 0 0 40px;
  color: #121417;
  font-size: 40px;
  font-weight: 600;
  text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
  .pd-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .pd-sticky {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}
@media (max-width: 767px) {
  .pd-page {
    padding-bottom: 64px;
  }
  .pd-block h2,
  .pd-more h2 {
    font-size: 26px;
  }
  .pd-supply-grid,
  .pd-sticky {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
}
