/*
Theme Name: HC Hagemann
Description: 1:1-Nachbau des Drupal-Themes aurum_sub (hchagemann.de) als klassisches WordPress-Theme. Lädt das Original-CSS/JS aus legacy/ und gibt das Drupal-Markup aus. Inhalte bleiben im Block-Editor pflegbar.
Version: 2.0.0
Requires at least: 6.7
Requires PHP: 8.1
Text Domain: hch
*/

/* Ergänzungen, die es in Drupal nicht gab (WordPress-spezifisch) */
/* Admin-Leiste (nur eingeloggt): wie Drupals Toolbar/admin_menu schiebt sie die Seite um ihre Höhe nach unten
   (WP setzt html { margin-top: 32px / 46px }); der beim Scrollen fixierte Kopf rückt unter die Leiste. */
body.admin-bar .pi-header-row-fixed .pi-header-sticky,
body.admin-bar.pi-header-row-fixed .pi-header-sticky,
body.admin-bar .pi-header-rows-fixed .pi-header-sticky,
body.admin-bar.pi-header-rows-fixed .pi-header-sticky { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .pi-header-row-fixed .pi-header-sticky,
  body.admin-bar.pi-header-row-fixed .pi-header-sticky,
  body.admin-bar .pi-header-rows-fixed .pi-header-sticky,
  body.admin-bar.pi-header-rows-fixed .pi-header-sticky { top: 46px; }
}
@media screen and (max-width: 600px) {
  /* WP-Leiste scrollt hier mit (position: absolute) */
  body.admin-bar .pi-header-row-fixed .pi-header-sticky,
  body.admin-bar.pi-header-row-fixed .pi-header-sticky,
  body.admin-bar .pi-header-rows-fixed .pi-header-sticky,
  body.admin-bar.pi-header-rows-fixed .pi-header-sticky { top: 0; }
}
.contentContainer .wp-block-gallery { display: none; } /* Galerien werden als Slider ausgegeben */
.hch-form-meldung { padding: 10px 15px; margin: 0 15px 15px; background: #e9eaea; }
.hch-captcha-frage { display: block; width: 180px; height: 60px; line-height: 60px; overflow: hidden; box-sizing: border-box; text-align: center; font-size: 22px; letter-spacing: 3px; background: #e9eaea; } /* Platz wie Drupals Bild-Captcha (180x60) */
details.hch-akkordeon { border-bottom: 1px solid #e9eaea; padding: 10px 0; }
details.hch-akkordeon summary { cursor: pointer; font-family: HelveticaNeueBold, sans-serif; }
