/* Home module: style themes selection. */

.bjs-themes {
  padding-bottom: 80px;
  border-bottom: 1px solid var(--home-line);
  text-align: center;
}

.bjs-themes__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0 clamp(24px, 7vw, 112px);
  text-align: left;
}

.bjs-theme {
  display: flex;
  min-height: 170px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--home-line);
  background: linear-gradient(160deg, var(--home-panel-2), var(--home-panel));
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}

.bjs-theme:hover { border-color: #3d4854; transform: translateY(-3px); }

.bjs-theme__name { color: var(--home-copy); font: 600 clamp(24px, 2.4vw, 34px)/1 'Barlow Condensed', sans-serif; text-transform: uppercase; }
.bjs-theme__cta { color: var(--home-red); font: 700 11px/1 Inter, sans-serif; text-transform: uppercase; }

.bjs-themes__all { display: inline-flex; margin-top: 34px; }

@media (max-width: 900px) {
  .bjs-themes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .bjs-themes__grid { grid-template-columns: 1fr; padding-inline: 18px; }
  .bjs-theme { min-height: 130px; }
}
