/* Generated by tools/build-theme-css.py. Do not edit directly. */
.cb-course-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: livePulse 2s ease infinite;
}

/* Prototype-matched inner page sections */
.sub-hero {
  background: var(--navy-deep);
  padding: 72px 32px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(184, 41, 45, 0.06), transparent 50%);
}

.sub-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image:
    linear-gradient(rgba(255, 255, 255, 1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 1) 1px, transparent 1px);
  background-size: 40px 40px;
}

.sub-hero h1 {
  position: relative;
  z-index: 2;
  margin: 0 0 12px;
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.5vw, 50px);
  font-weight: 500;
  animation: hStag 0.6s var(--ease-out) 0.1s both;
}

.sub-hero h1 .ri {
  color: var(--red);
  font-style: italic;
  font-weight: 600;
}

.sub-hero > p {
  position: relative;
  z-index: 2;
  max-width: 520px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.4);
  font-size: 15px;
  line-height: 1.7;
  animation: hStag 0.6s var(--ease-out) 0.2s both;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.c-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(27, 38, 85, 0.04);
  border-radius: var(--radius-xl);
  background: var(--white);
  transition: all 0.4s var(--ease-spring);
}

.c-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-strong);
}

.c-thumb {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.c-thumb.has-image {
  overflow: hidden;
  padding: 0;
  font-size: 0;
}

.c-thumb.has-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.c-thumb-link {
  display: block;
  width: 100%;
  height: 100%;
}

.ct1 { background: linear-gradient(135deg, var(--navy-deep), var(--navy-mid)); }
.ct2 { background: linear-gradient(135deg, #1a3d35, #2d7a5e); }
.ct3 { background: linear-gradient(135deg, #5a1520, var(--red)); }

.c-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.c-body h3 {
  margin: 0 0 5px;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
}

.c-title-link {
  color: inherit;
  text-decoration: none;
}

.c-title-link:hover {
  color: var(--red);
}

.c-sub {
  margin-bottom: 10px;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.c-body > p {
  margin: 0 0 14px;
  color: var(--stone);
  font-size: 13.5px;
  line-height: 1.6;
}

.c-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 16px;
}

.c-tag {
  padding: 3px 9px;
  border-radius: 4px;
  background: var(--cream);
  color: var(--stone);
  font-size: 11px;
  font-weight: 500;
  transition: all 0.2s;
}

.c-tag:hover {
  background: var(--red-glow);
  color: var(--red);
}

.c-details-link {
  margin-bottom: 14px;
  color: var(--red);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
}

.c-details-link:hover {
  color: var(--navy);
}

.c-foot {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 14px;
  margin-top: auto;
  border-top: 1px solid rgba(27, 38, 85, 0.05);
}

.c-enroll {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 36px;
  border-radius: var(--radius-md);
  background: var(--navy);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  transition: all 0.3s var(--ease-spring);
}

.c-enroll:hover {
  background: var(--red);
  transform: scale(1.05);
}

.faq-cats {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.faq-cat {
  padding: 7px 18px;
  border: 1.5px solid rgba(27, 38, 85, 0.08);
  border-radius: 50px;
  background: transparent;
  color: var(--stone);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.faq-cat:hover,
.faq-cat.active {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 800px;
  margin: 36px auto 0;
}

.faq-item {
  overflow: hidden;
  border: 1px solid rgba(27, 38, 85, 0.05);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: all 0.3s var(--ease-spring);
}

.faq-item:hover {
  box-shadow: var(--shadow-soft);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s;
}

.faq-q:hover {
  background: rgba(27, 38, 85, 0.015);
}

.faq-q h4 {
  flex: 1;
  margin: 0;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}

.faq-q .faq-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cream);
  color: var(--navy);
  font-size: 14px;
  flex-shrink: 0;
  transition: all 0.3s var(--ease-spring);
}

.faq-item.open .faq-q .faq-icon {
  background: var(--red);
  color: #fff;
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.faq-item.open .faq-a {
  max-height: 320px;
}

.faq-a-inner {
  padding: 0 24px 20px;
  color: var(--stone);
  font-size: 14px;
  line-height: 1.75;
}

.career-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out);
}

.career-details.open {
  max-height: 600px;
}

.career-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  padding: 8px 18px;
  border: 1.5px solid rgba(27, 38, 85, 0.08);
  border-radius: var(--radius-md);
  background: none;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.career-toggle:hover,
.career-toggle:focus-visible {
  border-color: var(--red);
  background: var(--red-glow);
  color: var(--red);
}

.career-toggle .arrow {
  display: inline-block;
  transition: transform 0.3s;
}

.career-toggle.open .arrow {
  transform: rotate(180deg);
}

.career-app-form {
  position: relative;
  overflow: hidden;
  margin-top: 48px;
  padding: 48px 40px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--navy-deep), var(--navy-mid));
}

.career-app-form::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    linear-gradient(rgba(255, 255, 255, 1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 1) 1px, transparent 1px);
  background-size: 30px 30px;
}

.career-app-form h3,
.career-app-form > p,
.career-form-grid,
.career-form-btns {
  position: relative;
  z-index: 2;
}

.career-app-form h3 {
  margin: 0 0 6px;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
}

.career-app-form > p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

.career-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.career-form-field label {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11.5px;
  font-weight: 600;
}

.career-form-field input,
.career-form-field select,
.career-form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: all 0.3s;
}

.career-form-field input::placeholder,
.career-form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.career-form-field input:focus,
.career-form-field select:focus,
.career-form-field textarea:focus {
  border-color: var(--red);
  background: rgba(255, 255, 255, 0.1);
}

.career-form-field textarea {
  resize: vertical;
  min-height: 80px;
}

.career-form-full {
  grid-column: 1 / -1;
}

.career-form-btns {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}


.career-app-form .cb-form-status {
  position: relative;
  z-index: 2;
  min-height: 20px;
  margin-top: 14px;
  text-align: center;
  color: rgba(255, 255, 255, 0.78);
}

.cb-faq-answer a {
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
}

.cb-faq-answer strong {
  color: var(--charcoal);
}

@media (max-width: 640px) {
  .sub-hero {
    padding: 64px 24px 48px;
  }
}
