/*
Theme Name: Blumenstyle Editorial
Description: A custom block theme scaffolded by Studio Code.
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.2
Version: 0.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blumenstyle-editorial
Tags: full-site-editing, block-patterns, block-styles, wide-blocks, accessibility-ready, style-variations
*/

/* WordPress inserts a margin-block-start equal to the block gap (24px unless
   theme.json sets styles.spacing.blockGap) between the template's top-level
   sections (header part, main, footer part) — a gap that exists even when no
   markup asks for it. Zero it so sections butt edge-to-edge and own their
   vertical rhythm via padding; this does not affect block gaps inside nested
   layouts. */
.wp-site-blocks > * + * {
	margin-block-start: 0;
}

/* With that gap gone, main carries its own vertical padding so templates this
   theme does not author (WooCommerce shop, product, cart…) still clear the
   header and footer. A descendant selector, not a child one: WooCommerce wraps
   the single-product main in an extra group. Templates built from full-bleed
   sections opt out with is-flush and let the sections own the rhythm. */
.wp-site-blocks main {
	padding-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--70);
}
.wp-site-blocks main.is-flush {
	padding-block: 0;
}

/* The palette slug "text" also creates .has-text-color, which conflicts
   with the core marker class. Explicitly resolve the light-text combination. */
.has-background-color.has-text-color { color: var(--wp--preset--color--background) !important; }
html { scroll-behavior: smooth; }
body { overflow-wrap: anywhere; }
.wp-site-blocks main:not(.is-flush) { padding-block: 4rem 6rem; }
.site-masthead { padding-block: 26px; border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--text) 20%, transparent); }
.site-masthead .wp-block-site-title { font-family: var(--wp--preset--font-family--playfair-display); font-size: 32px; font-weight: 400; line-height: 1.2; }
.site-masthead .wp-block-site-title a { color: inherit; text-decoration: none; }
.brand-note { margin-top: 8px; letter-spacing: .13em; font-size: var(--wp--preset--font-size--label); }
.brand-lockup { gap: 16px; }
.brand-lockup .wp-block-site-logo { flex-shrink: 0; }
.brand-lockup .wp-block-site-logo img { display: block; height: auto; filter: none; }
.site-masthead .wp-block-navigation { font-size: 14px; }
.site-masthead .wp-block-navigation__container { gap: 28px; }
body.home .site-masthead { position: absolute; inset: 0 0 auto; z-index: 10; color: var(--wp--preset--color--background); border-color: color-mix(in srgb, var(--wp--preset--color--background) 28%, transparent); }
body.home .site-masthead .wp-block-navigation a { color: inherit; }
.wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--background); color: var(--wp--preset--color--text); padding: 28px; }
.floral-hero { min-height: 85dvh; padding: 170px var(--wp--style--root--padding-right) 65px var(--wp--style--root--padding-left); }
.floral-hero .wp-block-cover__background { opacity: 1; background-color: transparent !important; background-image: linear-gradient(90deg, color-mix(in srgb, var(--wp--preset--color--text) 82%, transparent), color-mix(in srgb, var(--wp--preset--color--text) 50%, transparent) 60%, color-mix(in srgb, var(--wp--preset--color--text) 65%, transparent)); }
.floral-hero .wp-block-cover__image-background { filter: sepia(.08) contrast(1.02); }
.hero-columns { gap: 48px; margin-bottom: 0; }
.hero-columns > .hero-text-column { flex-grow: 2 !important; }
.hero-columns > .hero-logo-column { flex-grow: 1; }
.hero-logo-detail { max-width: 360px; margin: 0 auto 0 0; }
.hero-logo-detail img { display: block; width: 100%; height: auto; filter: none; }
.hero-copy h1 { max-width: 730px; font-size: clamp(2.7rem, 5.5vw, 5rem) !important; letter-spacing: -.025em; line-height: 1.05; margin-top: 24px; }
.hero-copy > p:not(.eyebrow):not(.image-credit) { max-width: 460px; margin-top: 28px; }
.hero-copy .wp-block-buttons { margin-top: 36px; }
.floral-hero .wp-block-cover__inner-container { position: static; }
.floral-hero .image-credit { position: absolute; right: var(--wp--style--root--padding-right); bottom: 24px; max-width: calc(100% - var(--wp--style--root--padding-left) - var(--wp--style--root--padding-right)); margin: 0; padding: 6px 10px; box-sizing: border-box; text-align: right; line-height: 1.5; letter-spacing: .04em; color: var(--wp--preset--color--background); background: color-mix(in srgb, var(--wp--preset--color--text) 72%, transparent); border-radius: var(--wp--preset--rounded--sm, 2px); z-index: 2; }
.eyebrow { letter-spacing: .18em; text-transform: uppercase; }
.flower-band, .visit-band, .contact-band, .occasion-band { padding-block: 96px; margin-block-start: 0; }
.occasion-band .wp-block-columns { gap: 64px; }
.occasion-band h2 { margin-top: 20px; }
.occasion-band a { color: var(--wp--preset--color--background); text-underline-offset: 5px; }
.section-heading { margin-bottom: 48px; gap: 28px; }
.section-heading h2 { margin-top: 16px; }
.flower-links { gap: 32px; }
.flower-links .wp-block-image img { aspect-ratio: 3/4; object-fit: cover; width: 100%; filter: sepia(.08) contrast(1.02); }
.flower-links h3 { font-size: 25px; margin-top: 24px; }
.flower-links h3 a { color: var(--wp--preset--color--text); text-decoration: none; }
.flower-links p { font-size: 15px; }
.visit-band .wp-block-columns, .contact-band .wp-block-columns { gap: 64px; }
.visit-band .wp-block-image img { width: 100%; filter: sepia(.08) contrast(1.02); }
.visit-band a, .site-footer a { color: var(--wp--preset--color--background); text-underline-offset: 6px; }
.visit-band h2 { margin-block: 24px; }
.contact-band a { text-underline-offset: 5px; }
.directions { margin-top: 64px; padding-top: 48px; border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--text) 20%, transparent); scroll-margin-top: 24px; }
.directions .map-note { max-width: 760px; line-height: 1.6; }
.map-consent-panel { margin-top: 32px; padding: clamp(20px, 4vw, 40px); border: 1px solid color-mix(in srgb, var(--wp--preset--color--text) 20%, transparent); background: color-mix(in srgb, var(--wp--preset--color--primary) 6%, var(--wp--preset--color--background)); }
.map-consent-panel > p { max-width: 760px; }
.map-consent-panel .map-status { font-size: 15px; }
.map-consent-panel [hidden] { display: none !important; }
.private-map-slot { margin-top: 24px; }
.private-map-frame { display: block; width: 100%; height: 380px; border: 0; }
.map-frame-document { margin: 0; padding: 0; }
.map-frame-document .leaflet-map { margin: 0; }
.map-frame-document .leaflet-container img { max-width: none; }
.contact-phone { font-family: var(--wp--preset--font-family--playfair-display); font-size: 36px; margin-top: 0; }
.site-footer { padding-block: 36px; font-size: 13px; }
.wp-block-post-title { font-size: var(--wp--preset--font-size--headline); margin-bottom: 48px; }
.wp-block-post-content img { max-width: 100%; height: auto; }
.wp-block-post-content .metaslider { margin-inline: auto; }
.wp-block-post-content .aligncenter { display: block; margin-inline: auto; }
.wp-block-post-content > .entry-content strong { font-weight: 400; }
.wp-block-post-content > .entry-footer { display: none; }
.page-id-118 .wp-block-post-content > h3:first-child,
.page-id-119 .wp-block-post-content > h3:first-child,
.page-id-120 .wp-block-post-content > h2:first-child { display: none; }
body:not(.home) .wp-block-post-content > img,
body:not(.home) .wp-block-post-content > p > img,
body:not(.home) .wp-block-post-content > h3 > img { display: block; margin: 24px auto; }
.wp-site-blocks { min-height: 100dvh; }
body:not(.home) .wp-site-blocks main { min-height: calc(100dvh - 230px); }
#blumenwelt, #kontakt { scroll-margin-top: 24px; }
@media (max-width: 781px) {
 .site-masthead { padding-block: 20px; }
 .site-masthead .wp-block-site-title { font-size: 27px; }
 .brand-note { font-size: 9px; }
 .brand-lockup { gap: 12px; }
 .brand-lockup .wp-block-site-logo img { width: 72px; }
 .site-masthead .wp-block-site-title { font-size: 24px; }
 .site-masthead .wp-block-navigation__container { gap: 18px; }
 .floral-hero { min-height: 76dvh; padding-top: 150px; padding-bottom: 88px; }
 .hero-columns { gap: 32px; }
 .hero-logo-detail { max-width: 260px; margin-inline: auto; }
 .floral-hero .wp-block-cover__image-background { object-position: 65% center; }
 .floral-hero .wp-block-cover__background { background-image: linear-gradient(color-mix(in srgb, var(--wp--preset--color--text) 58%, transparent), color-mix(in srgb, var(--wp--preset--color--text) 58%, transparent)); }
 .hero-copy h1 { font-size: clamp(2.7rem, 10vw, 4.5rem); }
 .flower-band, .visit-band, .contact-band, .occasion-band { padding-block: 56px; }
 .occasion-band .wp-block-columns { gap: 48px; }
 .section-heading { margin-bottom: 32px; }
 .flower-links, .visit-band .wp-block-columns, .contact-band .wp-block-columns { gap: 36px; }
 .flower-links .wp-block-image img { aspect-ratio: 4/3; }
 .contact-phone { font-size: 30px; }
 .floral-hero .image-credit { bottom: 16px; }
 .site-footer .wp-block-group { gap: 14px; }
 .wp-site-blocks main:not(.is-flush) { padding-block: 40px 56px; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *, *::before, *::after { animation: none !important; transition: none !important; }
}
