/* Page styling */
body {
  background-color: #f8f9fa;
  font-family: Arial, sans-serif;
  color: #212529;
  margin: 0;
  padding: 20px;
  line-height: 1.6;
}

/* Headings */
h1, h2 {
  color: #2c3e50;
}

h1 {
  text-align: left;
  margin-bottom: 30px;
  border-bottom: 2px solid #d8c7b8;
  padding-bottom: 10px;
}

/* Shared card styling */
.flowsketch,
.prototype,
.corefunctiondraft,
.functionmap {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 2px solid #dee2e6;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

/* List styling */
ul {
  margin-left: 20px;
}

li {
  margin-bottom: 18px;
}

/* Bold labels */
b {
  color: #7a1f1f;
  margin-right: 5px;
}

/* Italics */
em {
  color: #555;
}

/* Prototype image layout */
.prototype {
  align-items: center;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 2px solid #dee2e6;
  margin: 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Make prototype images display nicely side-by-side */
.prototype img {
  display: inline-block;
}

/* Responsive image row on larger screens */
@media (min-width: 900px) {
  .prototype {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }

  body {
    max-width: 1200px;
    margin: auto;
  }
}

/* Subtle hover effect */
.flowsketch:hover,
.prototype:hover {
  transform: translateY(-2px);
  transition: 0.2s ease;
}