:root {
  --background-image: url("http://marseille.dk/wp-content/uploads/2026/04/Asta-Konfirmation-148-x-210-mm-scaled.jpg");
  --card: #ffffff;
  --text: #2a2420;
  --muted: #6c625b;
  --accent: #ef9d9d;
  --accent-dark: #c87373;
  --danger: #9b2c2c;
  --border: #e7ddd4;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-image: url("http://marseille.dk/wp-content/uploads/2026/04/Asta-Konfirmation-148-x-210-mm-scaled.jpg");
  color: var(--text);
}
.container {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 3rem;
}
.hero {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin: 1rem 0 1.5rem;
  flex-wrap: wrap;
}
.hero h1 { margin: 0 0 .4rem; }
.hero p { margin: 0; color: var(--muted); max-width: 700px; }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.03);
  margin-bottom: 1rem;
}
.narrow { max-width: 560px; }
label { display: block; margin: .8rem 0 .35rem; font-weight: 600; }
input[type="text"], input[type="password"], input[type="file"] {
  width: 100%;
  padding: .85rem .9rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}
.button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: .8rem 1rem;
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
}
.button:hover { background: var(--accent-dark); }
.button-secondary { background: #ede2d8; color: var(--text); }
.button-secondary:hover { background: #e4d5c7; }
.danger { background: var(--danger); }
.flash {
  padding: .9rem 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}
.flash.success { background: #e7f7ec; color: #1f5f39; }
.flash.error { background: #fdecec; color: #8a2323; }
.gallery {
  columns: 3 260px;
  column-gap: 1rem;
}
.photo-card {
  break-inside: avoid;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin: 0 0 1rem;
}
.photo-card img, .admin-item img {
  width: 100%;
  display: block;
  height: auto;
}
.photo-card figcaption {
  padding: .85rem;
  font-size: .95rem;
  color: var(--muted);
}
.small { color: var(--muted); font-size: .95rem; }
.split {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.admin-list { display: grid; gap: 1rem; }
.admin-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1rem;
  align-items: start;
}
.inline-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .6rem; }
@media (max-width: 700px) {
  .admin-item { grid-template-columns: 1fr; }
}
.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}
