
.markisen-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.markisen-card {
  width: 180px;
  cursor: pointer;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 0.5rem;
  text-align: center;
  background: white;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.markisen-card img {
  width: 100%;
  height: auto;
}
.card-title {
  margin-top: 0.5rem;
  font-weight: bold;
  font-size: 0.95rem;
}
.markisen-modal {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.modal-content {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  width: 80%;
  max-height: 90%;
  overflow-y: auto;
  position: relative;
  text-align: center;
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
}
.modal-nav {
  position: absolute;
  top: 50%;
  font-size: 2rem;
  color: green;
  cursor: pointer;
  user-select: none;
  background: white;
  width: 48px;
  height: 48px;
  text-align: center;
  line-height: 48px;
  border-radius: 24px;
  transform: translateY(-50%);
}
.modal-nav.prev { left: 10px; }
.modal-nav.next { right: 10px; }
#modal-img {
  max-width: 100%;
  height: auto;
  margin: 1rem 0;
}
#modal-links a.button {
  display: inline-block;
  padding: 8px 16px;
  margin: 4px;
  background: #84bd00;
  color: white;
  border-radius: 4px;
  text-decoration: none;
}
