/* FEChoices "Tiles" job listing style — compact tiles (4th option alongside traditional/card/vibrant).
   New file; loaded once by job-style-tiles.tpl. Uses the site's Bootstrap primary where available. */

/* Tight, uniform grid (matches the LA-edition tiles). This CSS only loads when the Tiles style is
   active, so it overrides the Bootstrap row/col gutters only for tiles — card/traditional untouched.
   Applies in the home listing (#joblisthome) and the search results list (#ja-search-root .jas-list). */
#joblisthome, #ja-search-root .jas-list{
  display:grid !important;
  grid-template-columns:repeat(auto-fill, minmax(225px, 1fr));
  gap:.6rem;
  margin:0;
}
#joblisthome > .jat-col, #ja-search-root .jas-list > .jat-col{
  padding:0; margin:0; max-width:none; width:auto; flex:none;
}
.jat-col{ display:flex; }
.jat-tile{
  border:1px solid #e7e7ee; border-radius:14px; padding:1rem 1.1rem; background:#fff;
  display:flex; flex-direction:column; gap:.5rem; width:100%;
  transition:box-shadow .15s, border-color .15s;
}
.jat-tile:hover{ box-shadow:0 6px 22px rgba(30,20,70,.10); border-color:#d7d7e4; }
.jat-tile.jat-feat{ border-color:var(--bs-primary,#4A4A8A); box-shadow:0 2px 10px rgba(74,74,138,.08); }
.jat-title{ font-size:1.04rem; margin:0; line-height:1.25; }
.jat-title a{ color:#1b1b2b; text-decoration:none; }
.jat-title a:hover{ text-decoration:underline; color:var(--bs-primary,#4A4A8A); }
.jat-meta{ font-size:.86rem; color:#555; display:flex; flex-direction:column; gap:.15rem; }
.jat-org{ font-weight:600; color:#2b2b3a; }
.jat-wage{ color:#2f7d42; font-weight:600; }
.jat-badges{ display:flex; flex-wrap:wrap; gap:.35rem; margin-top:.1rem; }
.jat-b{ font-size:.73rem; background:#eef0fb; border-radius:6px; padding:.16rem .52rem; color:#3a3a66; line-height:1.3; }
.jat-b.jat-bf{ background:var(--bs-primary,#4A4A8A); color:#fff; }
.jat-apply{ margin-top:auto; align-self:flex-start; font-weight:700; color:var(--bs-primary,#4A4A8A); text-decoration:none; font-size:.9rem; padding-top:.25rem; }
.jat-apply:hover{ text-decoration:underline; }
