/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

/* Стили скроллбара */
:root {
  scrollbar-color: var(--primary) var(--muted);
  scrollbar-width: thin;
}

html {
  scrollbar-gutter: stable;
}

.brxe-button {
	cursor: pointer;
}

/* Стили чекбоксов политики */
.policy-link {
	text-decoration: underline;
	&:hover {
		color: var(--primary);
	}
}

input[type="checkbox"] {
	accent-color: var(--primary);
}

/* Отступы для текстов */
*:is(h1, h2, h3, h4, h5, h6):not([class]), .wp-block-heading {
  margin-block-end: 1rem;
  
  &:not(:first-child) {
    margin-block-start: 2rem;
  }
}

p {
  margin: 0;
}

p:not([class]):not(:last-child) {
  margin-block-end: 1rem;
}