/* Course catalog page. Kept separate so the shared theme and other routes stay untouched. */
:root {
  --je-catalog-ink: #17243b;
  --je-catalog-muted: #64748b;
  --je-catalog-orange: #f36b21;
  --je-catalog-line: #e6ebf2;
  --je-catalog-soft: #f5f8fc;
}
.je-catalog-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 7vw, 88px) 0;
  background: linear-gradient(120deg, #fff8f2 0%, #f5f8fc 72%);
  border-bottom: 1px solid var(--je-catalog-line);
}
.je-catalog-hero:after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -100px;
  top: -150px;
  border: 48px solid rgba(243, 107, 33, .07);
  border-radius: 50%;
  pointer-events: none;
}
.je-catalog-hero .container { position: relative; z-index: 1; }
.je-catalog-hero h1 {
  max-width: 760px;
  margin: 12px 0 14px;
  color: var(--je-catalog-ink);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.035em;
}
.je-catalog-hero p {
  max-width: 750px;
  margin: 0;
  color: var(--je-catalog-muted);
  font-size: 17px;
  line-height: 1.75;
}
.je-catalog-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--je-catalog-orange);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.je-catalog-label i { font-size: 15px; }
.je-catalog-hero form {
  display: flex;
  gap: 10px;
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(23, 36, 59, .1);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(23, 36, 59, .09);
}
.je-catalog-hero .je-form-control {
  min-width: 0;
  min-height: 48px;
  flex: 1;
  padding: 10px 13px;
  color: var(--je-catalog-ink);
  background: #fff;
  border: 1px solid transparent;
  border-radius: 9px;
  outline: 0;
  box-shadow: none;
}
.je-catalog-hero .je-form-control:focus {
  border-color: rgba(243, 107, 33, .55);
  box-shadow: 0 0 0 3px rgba(243, 107, 33, .12);
}
.je-catalog-hero .je-submit-btn {
  width: auto;
  flex: 0 0 auto;
  min-height: 48px;
  padding: 0 18px;
  color: #fff;
  background: var(--je-catalog-orange);
  border: 0;
  border-radius: 9px;
  font-weight: 700;
  transition: background .2s ease, transform .2s ease;
}
.je-catalog-hero .je-submit-btn:hover { background: #d95612; transform: translateY(-1px); }
.je-section { padding: clamp(36px, 5vw, 64px) 0; }
.je-catalog-card {
  display: flex;
  height: 100%;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--je-catalog-line);
  border-radius: 16px;
  box-shadow: 0 7px 24px rgba(23, 36, 59, .055);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.je-catalog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(243, 107, 33, .35);
  box-shadow: 0 18px 36px rgba(23, 36, 59, .12);
}
.je-catalog-card > a:first-child {
  display: block;
  overflow: hidden;
  background: var(--je-catalog-soft);
  aspect-ratio: 16 / 9;
}
.je-catalog-card > a:first-child img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.je-catalog-card:hover > a:first-child img { transform: scale(1.035); }
.je-catalog-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
}
.je-catalog-body .je-catalog-label {
  margin-bottom: 11px;
  padding: 6px 10px;
  background: #fff4ec;
  border-radius: 20px;
  font-size: 11px;
  letter-spacing: .025em;
}
.je-catalog-body h2 {
  margin: 0 0 10px;
  color: var(--je-catalog-ink);
  font-size: 21px;
  line-height: 1.35;
  font-weight: 750;
}
.je-catalog-body h2 a { color: inherit; text-decoration: none; }
.je-catalog-body h2 a:hover { color: var(--je-catalog-orange); }
.je-catalog-body p {
  margin: 0 0 16px;
  color: var(--je-catalog-muted);
  font-size: 14px;
  line-height: 1.7;
}
.je-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: auto 0 19px;
}
.je-chip-row span {
  display: inline-flex;
  padding: 5px 9px;
  color: #46556c;
  background: #f3f6fa;
  border: 1px solid #e9eef4;
  border-radius: 6px;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 600;
}
.je-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--je-catalog-orange);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}
.je-card-link:hover { color: #ca4d0d; }
.je-install-card {
  padding: clamp(24px, 4vw, 40px);
  background: var(--je-catalog-soft);
  border: 1px solid var(--je-catalog-line);
  border-radius: 16px;
}
.je-install-card h2 { color: var(--je-catalog-ink); }
.je-install-card p { color: var(--je-catalog-muted); }
@media (max-width: 991.98px) {
  .je-catalog-hero form { margin-top: 25px; }
}
@media (max-width: 575.98px) {
  .je-catalog-hero { padding: 42px 0; }
  .je-catalog-hero p { font-size: 15px; }
  .je-catalog-hero form { display: grid; padding: 9px; }
  .je-catalog-hero .je-submit-btn { width: 100%; }
  .je-catalog-body { padding: 18px; }
  .je-catalog-body h2 { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .je-catalog-card,
  .je-catalog-card img,
  .je-catalog-hero .je-submit-btn { transition: none; }
  .je-catalog-card:hover,
  .je-catalog-hero .je-submit-btn:hover { transform: none; }
}
