/* ===== Lista yrittäjistä ===== */
.entrepreneurs-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}


.entrepreneur {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background-color: #fff;
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.entrepreneur:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.info {
  display: flex;
  flex-direction: column;
}

.nickname {
  font-family: 'Pacifico', cursive;
  font-size: 1.2rem;
  color: #0073e6;
  text-decoration: none;
}

.nickname:hover {
  text-decoration: underline;
}



/* ===== Alalaidan neljä kuvaa ===== */
.bottom-images {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.bottom-images img {
  width: 100%;
  border-radius: 0.5rem;
  object-fit: cover;
}

/* ===== Responsiivisuus ===== */
@media (max-width: 900px) {
  .entrepreneur {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .bottom-images {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
}

@media (max-width: 500px) {
  .bottom-images {
    grid-template-columns: 1fr;
  }
}

/* ===== Main layout: hakupaneeli + lista ===== */
.main-content {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 250px 1fr; /* 250px hakupaneelille, loput lista */
  gap: 2rem;
}

/* ===== Hakupaneeli ===== */

.search-panel {
  position: sticky;
  top: 2rem;
}

.search-panel h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-family: 'Pacifico', cursive;
  font-size: 1.2rem;
}

.search-panel label {
  display: block;
  margin-top: 0.8rem;
  margin-bottom: 0.3rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.search-panel select,
.search-panel input {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 0.8rem;
  border-radius: 0.4rem;
  border: 1px solid #ccc;
  font-size: 0.95rem;
}

.search-panel button {
  width: 100%;
  padding: 0.6rem;
  background-color: #0073e6;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.search-panel button:hover {
  background-color: #005bb5;
}

/* ===== Responsiivisuus ===== */
@media (max-width: 900px) {
  .main-content {
    grid-template-columns: 1fr; /* hakupaneeli päälle, lista alle */
  }
}

.desc-row {
  display: flex;
  align-items: center;
}

.short-desc {
  margin: 0;
  color: #555;
  font-size: 0.95rem;
}



.location {
  margin-left: auto;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  background-color: #f0f0f0;
  border-radius: 1rem;
  color: #444;
}

.name-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nickname {
  font-size: 1.2rem;
  text-decoration: none;
}

.process-list {
  margin-left: 1rem;
  padding-left: 0;
  
}

.process-list li {
  margin-bottom: 0.5rem; /* väli listaelementtien välillä */
}

.process-list h3 {
  margin-bottom: 0rem; /* väli otsikon ja kuvauksen välillä */
}

.description {
  margin-left: 1.5rem; /* sisennys kuvaukselle */
  margin-bottom: 0rem; /* aiemmin oli oletusarvo 0.5rem */

}

.links-toggle {
  margin-left: 1.5rem; /* sisennys linkkiosuudelle */
  margin-top: 0; /* aiemmin saattoi olla 0.5rem */
}

.toggle-link {
  cursor: pointer;
  font-weight: bold;
  user-select: none;
  display: inline-block;
  margin-top: 0rem;
}

.toggle-link::before {
  content: "+ ";
  font-weight: bold;
  margin-right: 0rem;
}

.toggle-link.open::before {
  content: "- ";
}

.toggle-content {
  display: none; /* piilotetaan aluksi */
  margin-top: 0.5rem;
}