/*
Theme Name: Tutschku 2027 Blocks
Template: twentytwentyfive
Version: 0.4.0
Description: Editable multilingual homepage and performance-card templates for Hans Tutschku.
*/
:where(.wp-site-blocks) { padding-block:0; }
:where(.wp-site-blocks > *, .tt-home, .tt-home > .wp-block-post-content, .ht-homepage) { margin-block:0; }
:where(.tt-home, .tt-home > .wp-block-post-content) { max-width:none; padding-inline:0; }
:where(.ht-homepage .tt-section) { box-sizing:border-box; }
:where(.ht-homepage figure) { margin:0; }
:where(.ht-homepage img) { max-width:100%;height:auto; }
:where(.ht-homepage figcaption) { text-align:center;font-size:16px; }
:where(.ht-performance-card p:first-child) { margin-block-start:0; }
:where(.ht-performance-card p:last-child) { margin-block-end:0; }
:where(.tt-header a) { text-decoration:none; }
:where(.tt-header a:hover, .tt-header a:focus) { color:#d1a44a; }

/* The footer language menu opens upward, clear of the bottom of the page. */
.wp-block-navigation.ht-footer-language-menu .wp-block-navigation-submenu .wp-block-navigation__submenu-container { top:auto;bottom:100%;background:#383838;color:#ddd; }

/* Shared static-page framing. Sizes, colors and spacing remain block settings. */
:where(.ht-static-page, .ht-static-page > .wp-block-post-content, .ht-static-content) { max-width:none;margin-block:0;padding-inline:0; }
:where(.ht-static-content .wp-block-image) { margin:0; }
:where(.ht-title-banner) { position:relative;overflow:hidden;box-sizing:border-box; }
:where(.ht-title-banner)::after { content:"";position:absolute;inset:auto 0 0;height:55px;background:url("assets/title-wave.svg") center bottom / 100% 100% no-repeat;pointer-events:none; }
:where(.ht-title-banner > *) { position:relative;z-index:1; }
