/*
 * Franklin Paths & Trails custom shortcode styles
 */

/* --------------------------------------------------------------------------
   Location map
   -------------------------------------------------------------------------- */

.acf-map {
  width: 100%;
  height: 300px;
  border: 1px solid #ccc;
  margin-top: 1rem;
}

/* Hide the marker's HTML content in the page itself.
   Google Maps reads it to create the marker/info window. */
.acf-map > .marker {
  display: none;
}

/* --------------------------------------------------------------------------
   Project timeline
   -------------------------------------------------------------------------- */

.project-status-bar {
  background: #efeff0;
  border-radius: 1rem;
  padding: 3rem 2rem;
}

.timeline-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: nowrap;
  width: 100%;
  text-align: center;
}

.timeline-phase {
  flex: 1;
  min-width: 120px;
  padding: 0 0.5rem;
}

.timeline-label {
  font-weight: 500;
  color: #444;
  margin-bottom: 0.5rem;
}

.timeline-bar {
  height: 2rem;
  border-radius: 0.25rem;
  background: white;
  margin-bottom: 0.5rem;
}

.timeline-note {
  font-size: 0.9rem;
  color: #333;
}

.timeline-phase.past .timeline-bar {
  background: #1a1616;
}

.timeline-phase.current .timeline-bar {
  background: #9be1e2;
}

.timeline-phase.current .timeline-label {
  font-weight: 700;
  color: #000;
}

.timeline-phase.current .timeline-note {
  font-weight: 700;
  color: #000;
}

@media (max-width: 1000px) {
  .timeline-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .timeline-phase {
    width: 100%;
    margin-bottom: 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   Project town
   -------------------------------------------------------------------------- */

.trail-project-town a {
  font-size: 20px;
  font-weight: 700;
  color: #333;
}

/* --------------------------------------------------------------------------
   Project documents
   -------------------------------------------------------------------------- */

.project-doc-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}

.project-doc-buttons a {
  display: inline-block;
  background-color: #221f1f;
  color: #a1e5e5;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  font-size: 1rem;
  margin: 0.5rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.project-doc-buttons a:hover {
  background-color: #a1e5e5;
  color: #221f1f;
}

/* --------------------------------------------------------------------------
   Local contributors
   -------------------------------------------------------------------------- */

.local-contributors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.contributor-item {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.contributor-logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contributor-logo-wrapper a {
  text-decoration: none;
}

.contributor-logo {
  max-width: 180px;
  height: auto;
}

/* --------------------------------------------------------------------------
   Status shortcode
   No original module CSS was recovered. These are intentionally minimal so
   existing Divi/global styles can continue to control the appearance.
   -------------------------------------------------------------------------- */

.trail-project-status {
  display: inline-block;
}

/* --------------------------------------------------------------------------
   Dynamic project menu
   No original module CSS was recovered.
   -------------------------------------------------------------------------- */

.project-dropdown {
  margin: 0;
  padding: 0;
  list-style: none;
}
