/*
 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
*/

/* Overscroll Behavior */
@media (hover: hover) and (pointer: fine) {
  html, body {
    overscroll-behavior: none;
  }
}

/* WordPress Figure Fix */
figure {
  margin-bottom: 0;
}

/* Line Trim Lora */
:is(h1, h2)::before {
  content: "";
  display: table;
  margin-bottom: calc(-0.5lh + 0.39em);
}

:is(h1, h2)::after {
	content: "";
	display: table;
	margin-bottom: calc(-0.5lh + 0.365em);
}

/* Line Trim Figtree */
:is(h3, h4, h5, h6, p, blockquote, li:not(.custom-list li, .brxe-dropdown))::before {
  content: "";
	display: table;
	margin-bottom: calc(-0.5lh + 0.35em);
}
:is(h3, h4, h5, h6, p, blockquote, li:not(.custom-list li, .brxe-dropdown))::after {
  content: "";
	display: table;
	margin-bottom: calc(-0.5lh + 0.35em);
}

/* Text Wrap Style */
h1, h2, h3, h4, h5, h6, p {
  text-wrap-style: pretty;
}

/* Icons Styling */
svg:not([height]) {
  min-height: unset;
}

svg:not([width]) {
  min-width: unset;
}

.brxe-svg {
  overflow: visible;
}

/* Button Link Styling */
.bricks-button {
  align-items: baseline;
  cursor: pointer;
}

.bricks-button svg {
  overflow: visible;
}

.brxe-text-link svg {
  overflow: visible;
}