/*
Theme Name:        Die Kunstwerkstatt
Theme URI:         https://diekunstwerkstatt.net/
Author:            Julius Rimmele
Description:       Maßgeschneidertes Theme für Die Kunstwerkstatt (Ulrike Laub, Hoßkirch). Kurse und Termine, Galerie-Werke, Kreativwerkstatt-Termine und Kontaktdaten werden im WordPress-Admin gepflegt – ohne zusätzliche Plugins.
Version:           1.3.3
Requires at least: 6.4
Tested up to:      7.1
Requires PHP:      8.0
Text Domain:       kunstwerkstatt
*/

/*
 * Das eigentliche Design liegt unverändert in assets/css/site.css.
 * Hier stehen nur Ergänzungen, die WordPress braucht.
 */

/* Admin-Leiste (nur für eingeloggte Nutzer sichtbar): Kopfzeile darunter schieben */
.admin-bar .site-header { top: 32px; }
.admin-bar .month__title { top: calc(var(--header-h) + 32px); }
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar .month__title { top: calc(var(--header-h) + 46px); }
}
@media (max-width: 600px) {
  .admin-bar .site-header { top: 0; }
  .admin-bar .month__title { top: var(--header-h); }
}

/* Texte für Screenreader (WordPress-Standardklasse) */
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* Termine „ausgebucht“ */
.full-label { font-size: 0.75rem; color: var(--muted); white-space: nowrap; }
.dates li.is-past .full-label { display: none; }

/* Inhalte aus dem Block-Editor (Impressum, Datenschutz …) */
.prose > * + * { margin-top: 1em; }
.prose img { max-width: 100%; height: auto; }
.prose .wp-block-image { margin-inline: 0; }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin-inline: auto; }

/* Hinweis, wenn keine Termine vorhanden sind */
.upcoming__empty { margin: 0; color: var(--muted); }
