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

/* ---------------------------------------------------------------------------
   Listing rows — whole-row click target
   ---------------------------------------------------------------------------
   Used by the shared listing-row family (suppliers, forms, guides, home doors).

   This is the compiled output of ACSS's `clickable-parent` mixin, reproduced
   here on purpose. The mixin itself only works inside the Automatic.css Custom
   SCSS area, and site component CSS does not belong in the framework layer —
   it would live in a plugin option, invisible to anyone reading the theme.
   (The acss_import_clickable-parent global class in Bricks is a stale import
   from ACSS 3 and compiles to nothing.)

   It also cannot live in a Bricks global class: the _cssCustom parser silently
   strips position offsets, which makes the overlay zero-size.

   If ACSS ever changes the mixin, re-diff against it.
   --------------------------------------------------------------------------- */
.listing-row {
  /* the overlay anchors to this; listing-row also sets it, kept as a guard */
  position: relative;
}

.listing-row .listing-row__link {
  position: static;
}

.listing-row .listing-row__link::after {
  content: "";
  position: absolute;
  inset: 0;
  cursor: pointer !important;
  display: flex;
  z-index: 1;
}


/* situation-card whole-card click - same compiled clickable-parent recipe as .listing-row above.
   The card class sets position: relative natively; the guard + overlay live here (2026-08-11, hub Six doors). */
.situation-card .arrow-link {
  position: static;
}
.situation-card .arrow-link::after {
  content: "";
  position: absolute;
  inset: 0;
  cursor: pointer !important;
  display: flex;
  z-index: 1;
}
