
/* Grid Layout */
.grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}
.grid-layout .card {
  background: #f9f9f9;
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 8px;
  transition: box-shadow 0.3s ease;
}
.grid-layout .card:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Flowchart Layout */
.flowchart-layout {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  position: relative;
}
.flowchart-layout .step {
  background: #e6f7ff;
  border-left: 4px solid #1890ff;
  padding: 15px 20px;
  margin-bottom: 15px;
  width: 100%;
  position: relative;
}
.flowchart-layout .step::after {
  content: '';
  position: absolute;
  left: 10px;
  bottom: -15px;
  width: 2px;
  height: 15px;
  background: #1890ff;
}
.flowchart-layout .step:last-child::after {
  display: none;
}

/* Accordion Layout */
.accordion-layout {
  padding: 20px;
}
.accordion-layout .accordion-item {
  border-bottom: 1px solid #ccc;
}
.accordion-layout .accordion-header {
  background: #f1f1f1;
  padding: 12px 16px;
  cursor: pointer;
  font-weight: bold;
}
.accordion-layout .accordion-content {
  display: none;
  padding: 12px 16px;
  background: #fff;
}
.accordion-layout .accordion-item.active .accordion-content {
  display: block;
}

/* Default Layout */
.default-layout {
  padding: 20px;
}
.default-layout .post-item {
  margin-bottom: 15px;
  padding: 12px 16px;
  border: 1px solid #eee;
  border-radius: 4px;
  background: #fff;
}
