.peek-tile-image-description-wrap { background-color: rgba(1, 198,2 33, .7); }
.peek-primary-button {background-color: aliceblue; }
.peek-tile-image-wrap {max-height:70px; background: none !important; background-image: none; }
.peek-tile-image-container-wrap {min-height:80px !important; max-height:80px !important; align: top; background-color: #005F85;}
.peek-tile-image-info {font-size: 1.4em; line-height: 1.0em; }
.peek-tile-image-description-wrap {background-color: #005F85;}
.peek-embeddable-header {display:none;}
/* ============================================================
   Peek three-column-tiles override
   Force a real 3-col grid, equal-height tiles, top-aligned,
   even gaps, no empty filler space.
   ============================================================ */

/* 1. Make the body a CSS grid: 3 even columns, even gaps.
      Grid auto-rows + align-items:start kills the whitespace
      because rows size to content and tiles top-align. */
.peek-embeddable-body {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 16px !important;
  align-items: stretch !important;   /* tiles in a row match height */
}

/* 2. Tile fills the stretched grid cell. Content still expands it,
      but stretch makes it match the tallest tile in the row. */
.peek-tile.three-column-tiles {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: 100% !important;        /* fill the stretched cell */
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

/* 3. Container fills the tile height. */
.peek-tile-image-container-wrap {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;      /* grow to fill tile */
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
}

/* 4. No image band in this layout. */
.peek-tile-image-wrap {
  display: none !important;
}

/* 5. The blue bar fills all remaining height, so a short tile's
      blue grows to match the tallest tile. Title left, button right,
      vertically centered. */
.peek-tile-image-description-wrap {
  position: static !important;
  flex: 1 1 auto !important;       /* fill, don't hug */
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 14px 18px !important;
  box-sizing: border-box !important;
  background-color: #005F85 !important;
}

.peek-tile-image-info {
  flex: 1 1 auto !important;
  width: auto !important;
}
.peek-tile-image-cta {
  flex: 0 0 auto !important;
  width: auto !important;
  white-space: nowrap !important;
}
/* 6. Mobile: single column stack, even spacing preserved. */
@media (max-width: 767px) {
  .peek-embeddable-body {
    grid-template-columns: 1fr !important;
  }
}

/* CTA button: cream, ADA-compliant on #005F85 teal */
.peek-primary-button {
  background-color: #F5F0E6 !important;   /* cream */
  color: #0E3D4D !important;              /* dark teal text, 9.1:1 on cream */
  border: none !important;
  border-radius: 6px !important;
  padding: 8px 18px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25) !important;
  transition: background-color 0.15s ease, transform 0.1s ease !important;
}

.peek-primary-button:hover {
  background-color: #FFFFFF !important;   /* brightens on hover, still AAA */
}

.peek-primary-button:focus-visible {
  outline: 3px solid #FFFFFF !important;  /* ADA 2.4.7 keyboard focus */
  outline-offset: 2px !important;
}

a.peek-tile:hover,
a.peek-tile:focus,
a.peek-tile:hover .peek-primary-button,
a.peek-tile:hover .peek-tile-image-info {
  text-decoration: none !important;
}