﻿/* Rich municipal project detail — extends news-article shell */

.project-detail__hero-summary {
  margin: 18px 0 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 600;
}

.project-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 28px;
}

.project-fact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 16px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid rgba(16, 32, 22, 0.08);
  box-shadow: 0 14px 36px rgba(22, 52, 34, 0.07);
}

.project-fact__icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eef6f9;
  color: #006088;
  margin-bottom: 4px;
}

.project-fact__label {
  color: #647267;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-fact__value {
  color: #15271d;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 900;
}

.project-section-title {
  color: #15271d;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 900;
  margin: 34px 0 16px;
}

.project-section-title:first-child {
  margin-top: 0;
}

.project-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 22px;
  padding: 18px;
  border-radius: 10px;
  background: #f4f8f5;
  border: 1px solid rgba(16, 32, 22, 0.06);
}

.project-progress__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  text-align: center;
  color: #8a968d;
}

.project-progress__step:not(:last-child):after {
  content: "";
  position: absolute;
  top: 11px;
  left: calc(50% + 18px);
  width: calc(100% - 36px);
  height: 2px;
  background: rgba(16, 32, 22, 0.12);
}

.project-progress__step.is-done:not(:last-child):after {
  background: #d9a441;
}

.project-progress__dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(16, 32, 22, 0.18);
  background: #ffffff;
  z-index: 1;
}

.project-progress__step.is-done .project-progress__dot {
  border-color: #d9a441;
  background: #d9a441;
}

.project-progress__step.is-current .project-progress__dot {
  box-shadow: 0 0 0 4px rgba(217, 164, 65, 0.28);
}

.project-progress__label {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-progress__step.is-done .project-progress__label,
.project-progress__step.is-current .project-progress__label {
  color: #15271d;
}

.project-progress-bar {
  position: relative;
  height: 42px;
  margin: 0 0 28px;
  border-radius: 999px;
  background: #e8efe6;
  overflow: hidden;
}

.project-progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, #006088, #0a7aa3);
  border-radius: 999px;
  transition: width 400ms ease;
}

.project-progress-bar__text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #102016;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-status-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  padding: 14px 16px;
  border-radius: 10px;
  font-weight: 800;
}

.project-status-banner--suspended {
  background: #fff4e8;
  color: #8a4b12;
  border: 1px solid rgba(138, 75, 18, 0.18);
}

.project-checklist {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.project-checklist li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 10px;
  background: #f7faf8;
  border: 1px solid rgba(16, 32, 22, 0.06);
  color: #3f4f45;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 650;
}

.project-checklist li i {
  color: #006088;
  margin-top: 3px;
}

.project-checklist--outcomes li i {
  color: #1f7a4d;
}

.project-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 0 8px;
  border-radius: 10px;
  overflow: hidden;
  background: #102016;
}

.project-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 8px;
}

.project-gallery__item {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: #e8efe6;
}

.project-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 280ms ease;
}

.project-gallery__item:hover img {
  transform: scale(1.04);
}

.project-gallery__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  background: linear-gradient(0deg, rgba(12, 29, 20, 0.85), transparent);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.project-docs {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.project-docs a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #eef6f9;
  color: #102016;
  font-weight: 800;
  border: 1px solid rgba(0, 96, 136, 0.12);
}

.project-docs a:hover {
  background: #006088;
  color: #ffffff;
  border-color: #006088;
}

.project-docs a i:first-child {
  color: #006088;
}

.project-docs a:hover i {
  color: #ffffff;
}

.project-glance {
  list-style: none;
  margin: 0;
  padding: 18px 22px 22px;
  display: grid;
  gap: 14px;
}

.project-glance li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.project-glance i {
  color: #d9a441;
  margin-top: 4px;
}

.project-glance span {
  display: block;
  color: #647267;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.project-glance strong {
  display: block;
  color: #15271d;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 900;
}

@media (max-width: 1199px) {
  .project-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .project-facts {
    grid-template-columns: 1fr;
  }

  .project-progress {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .project-progress__step:not(:last-child):after {
    display: none;
  }

  .project-gallery {
    grid-template-columns: 1fr;
  }

  .project-detail__hero-summary {
    font-size: 16px;
  }

  .project-section-title {
    font-size: 24px;
  }
}
