/* "Fix it" / "Make it look good" tiles (www/mcc-job-tiles.js), 2026-10-21.
   Used by index.html, hackensack.html and members.html. Two equal tiles side
   by side; stacked full-width on narrow phones. Colours come from the page's
   own theme variables (both pages define the same names). */

.mcc-jt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: stretch;
  width: 100%;
}
@media (max-width: 560px) {
  .mcc-jt { grid-template-columns: 1fr; }
}

.mcc-jt-tile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-lg, 14px);
  background: var(--bg-card, #151a22);
  border: 1px solid var(--border-subtle, rgba(255,255,255,0.10));
  transition: border-color .15s ease, box-shadow .15s ease;
  min-width: 0;
}
.mcc-jt-tile.is-active {
  border-color: var(--accent-gold, #c9a227);
  box-shadow: 0 0 0 1px var(--accent-gold, #c9a227);
}

.mcc-jt-main {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 2px;
  align-items: center;
  text-align: left;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-primary, #f2f2f2);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}
.mcc-jt-main:focus-visible,
.mcc-jt-chip:focus-visible {
  outline: 2px solid var(--accent-gold, #c9a227);
  outline-offset: 3px;
}
.mcc-jt-icon {
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-gold-soft, rgba(201,162,39,0.14));
  color: var(--accent-gold, #c9a227);
}
.mcc-jt-tile--look .mcc-jt-icon {
  background: var(--accent-teal-soft, rgba(34,211,238,0.12));
  color: var(--accent-teal, #22d3ee);
}
.mcc-jt-title {
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.2;
}
.mcc-jt-sub {
  color: var(--text-secondary, #b8bec8);
  font-size: 0.86rem;
  line-height: 1.35;
}

.mcc-jt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.mcc-jt-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle, rgba(255,255,255,0.12));
  background: var(--bg-input, rgba(255,255,255,0.04));
  color: var(--text-primary, #f2f2f2);
  font: inherit;
  font-size: 0.82rem;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.mcc-jt-chip svg { color: var(--text-muted, #8b93a1); flex: 0 0 auto; }
.mcc-jt-chip:hover { border-color: var(--accent-gold, #c9a227); }
.mcc-jt-chip.is-selected {
  border-color: var(--accent-gold, #c9a227);
  background: var(--accent-gold-soft, rgba(201,162,39,0.14));
}
.mcc-jt-chip.is-selected svg { color: var(--accent-gold, #c9a227); }

/* First step of the New Job form */
#mcc-jt-modal { margin-bottom: 18px; }
.mcc-jt-step {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-secondary, #b8bec8);
  margin-bottom: 10px;
}
.mcc-jt--modal .mcc-jt-tile { padding: 14px; }

/* Member home */
.mcc-jt-home { margin: 4px 0 8px; }
#mcc-jt-home-classic { margin: 0 0 28px; }

/* Public pages (homepage, /hackensack): a little more room */
.mcc-jt--link .mcc-jt-tile { padding: 18px; }
.mcc-jt--link .mcc-jt-main { cursor: pointer; }
.mcc-jt--link .mcc-jt-main:hover .mcc-jt-title { text-decoration: underline; text-underline-offset: 3px; }

/* Homepage / landing hero slot */
.hero-job-tiles { margin: 18px 0 22px; max-width: 640px; text-align: left; }
@media (max-width: 768px) { .hero-job-tiles { margin-left: auto; margin-right: auto; } }
