/*
Theme Name: D-Marche
Theme URI: 
Author: Team Tangible
Author URI: 
Description: 
Requires at least: 7.1
Tested up to: 7.1
Requires PHP: 5.7
Version: 0.0.14
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfive
Text Domain: d-marche
Tags: 
*/

/* =====================================================================
   Wave Field + Wave Separator — two Figma components, three Group block
   styles (a block can only have one style, so the combination is its own):
     is-style-wave-field            → hills only          (::before)
     is-style-wave-separator        → white curve only    (::after)
     is-style-wave-field-separator  → both
   Confetti + Gradient Rings are added with the class .dm-confetti.
   All positions/sizes come from the Figma hero frame (1920 × 450).
   ===================================================================== */

:root {
	--header-height: 92px;
	--footer-height: 84px;
}


body.admin-bar {
  --admin-bar-height: 32px;
}
@media (max-width: 782px) {
  body.admin-bar {
    --admin-bar-height: 46px;
  }
}
header + main,
body footer {
  margin-block-start: 0;
}
:root :where(.wp-block-site-title) {
  font-weight: 400;
}
main {
  min-height: calc(100vh - (var(--header-height, 0px) + var(--footer-height, 0px) + var(--admin-bar-height, 0px)));
}

/* Disabled button */
button:disabled,
.button:disabled,
button.is-disabled,
.button.is-disabled,
.wp-element-button:disabled,
.wp-element-button[aria-disabled="true"],
.wp-block-button.is-disabled .wp-block-button__link {
	background-color: var(--wp--custom--gray--disabled, #BDBDBD);
	border-color: var(--wp--custom--gray--disabled, #BDBDBD);
	color: var(--wp--custom--gray--600, #666666);
	cursor: not-allowed;
	pointer-events: none;
}


/* Beaver Themer layouts (rendered via header.php/footer.php):
   remove the root block gap above/below the Themer content. */
.wp-site-blocks > .fl-builder-content {
	margin-block-start: 0;
	margin-block-end: 0;
}
