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

   /* Cards with category - Type 1 */
  .brxe-33ca42.brxe-block {
      display: flex;
      flex-direction: column;
      height: 100%;
  }

  .brxe-22c700.brxe-image {
      flex-shrink: 0;
      height: 175px;
      overflow: hidden;
  }

  .brxe-22c700.brxe-image img {
      width: 100%;
      height: 100%;
      object-fit: contain;
  }

  .brxe-886786.brxe-text-basic {
      flex-shrink: 0;
      margin-top: 15px;
  }

  .brxe-cluivg.brxe-text-basic {
      flex-grow: 1;
      margin-top: 10px;
  }

  .brxe-0644c0.brxe-button {
      margin-top: auto;
      flex-shrink: 0;
  }

  CSS for Cards WITHOUT Category (Second Card Type)

  /* Cards without category - Type 2 */
  .brxe-5fb6e5.brxe-block {
      display: flex;
      flex-direction: column;
      height: 100%;
  }

  .brxe-48fa2e.brxe-image {
      flex-shrink: 0;
      height: 175px;
      overflow: hidden;
  }

  .brxe-48fa2e.brxe-image img {
      width: 100%;
      height: 100%;
      object-fit: contain;
  }

  .brxe-wfdydn.brxe-text-basic {
      flex-grow: 1;
      margin-top: 15px; /* Reduced from previous - closer to logo */
  }

  .brxe-pefakp.brxe-button {
      margin-top: auto;
      flex-shrink: 0;
  }

  Keep the Grid Container CSS

  .your-query-loop-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
      max-width: 100%;
  }

  @media (min-width: 1200px) {
      .your-query-loop-container {
          grid-template-columns: repeat(4, 1fr);
      }
  }

/* Hide all Gravity Forms CAPTCHA fields */
.gfield--type-captcha {
    display: none !important;
}
