/*
Theme Name: Trumolea
Theme URI: https://trumolea.com/
Author: Trumolea
Author URI: https://trumolea.com/
Description: Block theme for trumolea.com, the website of the Trumolea casino management system. White sheet, Switzer, product fragments that work.
Requires at least: 6.6
Requires PHP: 8.1
Version: 0.1.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: trumolea
*/

/* The landing page styles live in assets/site.css. These rules fit WordPress around them. */

.wp-site-blocks { padding: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }

/* Keep the bar below the admin toolbar when logged in */
.admin-bar .bar { top: 32px; }
.admin-bar .hero__stage { top: 100px; height: calc(100svh - 100px); }
@media (max-width: 782px) {
  .admin-bar .bar { top: 46px; }
}

/* Plain pages: Impressum, Datenschutz */
.page-sheet { max-width: 720px; padding-block: 96px 160px; }
.page-sheet .wp-block-post-title { font-size: clamp(2rem, 1.3rem + 3.2vw, 4rem); letter-spacing: -0.035em; line-height: 1.05; margin: 0 0 48px; font-weight: 500; }
.page-sheet .wp-block-post-content h2 { font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem); letter-spacing: -0.02em; margin: 48px 0 12px; font-weight: 500; }
.page-sheet .wp-block-post-content p,
.page-sheet .wp-block-post-content li { max-width: 65ch; }
.page-sheet .wp-block-post-content > * + * { margin-block-start: 1em; }
