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

.text--secondary {
  color: var(--at-secondary);
}

.backline--primary {
  --backline-color: var(--at-primary, red);
  --backline-height: 0.18em;   /* bar thickness, scales with font-size */
  --backline-offset: .23em;      /* push the bar down/up from the baseline area */

  display: inline;
  background-image: linear-gradient(
    to bottom,
    var(--backline-color),
    var(--backline-color)
  );
  background-repeat: no-repeat;
  background-size: 100% var(--backline-height);
  background-position: 0 calc(100% - var(--backline-offset));
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;   /* bar continues correctly on wrapped lines */
}