/*
Theme Name: ASK Child Theme 26
Theme URI: https://blumeblau.com/
Description: Schlankes Block-Child-Theme für Twenty Twenty-Five mit Adobe Fonts Kit uxl5xrh und Schriftwahl im Block-Editor.
Author: blumeblau agentur
Author URI: https://blumeblau.com/
Template: twentytwentyfive
Version: 1.4.0
Requires at least: 6.6
Text Domain: ask-child-theme-26
*/

/* Projektbezogene CSS-Anpassungen hier ergänzen. Das Layout des Parent-Themes bleibt zunächst erhalten. */

/* ASK Event Details — respects inherited colors and fonts. */
.ask26-event-details { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.ask26-event-date, .ask26-event-location { display: inline-block; }
.ask26-event-ticket { display: inline-flex; align-items: center; justify-content: center; padding: .55em 1.15em; background: var(--wp--preset--color--contrast, #111); color: var(--wp--preset--color--base, #fff); border-radius: 999px; text-decoration: none; }
.ask26-event-ticket:hover, .ask26-event-ticket:focus-visible { opacity: .85; }

/* v1.2.0: event-date and event-location are native-style individual blocks.
 * Inherit block typography, colours, margin, padding, and border controls.
 * The Event Ticket variant intentionally has NO bespoke button CSS; core/button
 * and the theme's global styles control its appearance completely.
 */
.ask26-event-editor-placeholder { opacity: 0.65; }

/* ASK Startseiten-Header: unabhängig vom Slider, aber nur auf der echten
 * Startseite überlagert. Keine Slider- oder globalen Header-Styles ändern.
 * Auf Unterseiten bleibt der Block ein normaler Inhalt, falls eingefügt.
 */
body.home .wp-site-blocks { position: relative; }
body.home .ask26-home-header-overlay {
    position: absolute;
    inset-block-start: 0;
    inset-inline: 0;
    width: 100%;
    max-width: none;
    z-index: 100;
    box-sizing: border-box;
    margin-block-start: 0;
}
/* Im visuellen Editor muss der Block anklickbar und verschiebbar bleiben. */
.editor-styles-wrapper .ask26-home-header-overlay,
body.home .editor-styles-wrapper .ask26-home-header-overlay {
    position: relative;
    inset: auto;
    z-index: auto;
}
