/* Im Admin gepflegte Seiten (html/page_view.html, "Page Seiten" mit Inhalts-Boxen).
 * Eigene Datei statt Vite-Build, wird nur auf diesen Seiten geladen. Typografie (h1, h2, p) kommt aus dem Shop-CSS. */

.seite-boxen {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0 40px;
}
.seite-box { grid-column: span 12; min-width: 0; }
.seite-box-small { grid-column: span 6; }
.seite-box-third { grid-column: span 4; }
.seite-box-four { grid-column: span 3; }

.seite-subline { margin-top: -.4em; font-weight: bold; }
.seite-text::after { content: ""; display: table; clear: both; }

.seite-bild { margin: 0 0 16px; }
.seite-bild img { display: block; width: 100%; height: auto; border-radius: 10px; }
.seite-bild-left { float: left; width: var(--bildbreite, 40%); margin: 4px 28px 12px 0; }
.seite-bild-right { float: right; width: var(--bildbreite, 40%); margin: 4px 0 12px 28px; }
.seite-bild-below { margin: 16px 0 0; }

/* Bearbeiten-Links nur für Admins */
.seite-box { position: relative; }
.seite-bearbeiten {
  float: right;
  margin: 4px 0 8px 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #1d3b2a;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  text-decoration: none;
}
.seite-bearbeiten:hover { background: #2d5a40; color: #fff; }
.seite-bearbeiten-box { position: absolute; top: 0; right: 0; float: none; margin: 0; opacity: .85; }

@media (max-width: 900px) {
  .seite-box-third, .seite-box-four { grid-column: span 6; }
}
@media (max-width: 640px) {
  .seite-box-small, .seite-box-third, .seite-box-four { grid-column: span 12; }
  .seite-bild-left, .seite-bild-right { float: none; width: 100%; margin: 0 0 16px; }
}

/* Hinweis für Admins über der Überschrift: Seite kommt aus dem Page-Modul */
.seite-hinweis {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px;
  margin: 16px 0 8px; padding: 10px 14px;
  border-left: 4px solid #1d3b2a; border-radius: 6px;
  background: #dcebe2; color: #1d3b2a; font-size: 14px;
}
.seite-hinweis code { font-size: 13px; }
.seite-hinweis .seite-bearbeiten { float: none; margin: 0 0 0 auto; }
