/* ============================================================
   Professional Year Page — Card-based layout
   ============================================================ */
.py-page .topic-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, var(--aussie-blue) 100%);
  border-radius: 20px;
  padding: 48px 48px 44px;
  color: #fff;
  margin-bottom: 36px;
  position: relative;
  overflow: hidden;
}
.py-page .topic-header::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(212,175,55,0.18) 0%, transparent 70%);
  border-radius: 50%;
}
.py-page .topic-header::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: 60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.py-page .topic-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(212,175,55,0.2);
  color: var(--gold-light);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}
.py-page .topic-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.py-page .topic-subtitle {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  position: relative;
  z-index: 1;
}

/* Hero stat cards */
.py-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
  position: relative;
  z-index: 1;
}
.py-hero-stat {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  transition: all 0.2s ease;
}
.py-hero-stat:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
  border-color: rgba(212,175,55,0.3);
}
.py-hero-stat .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 32px;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.2;
  margin-bottom: 4px;
}
.py-hero-stat .num span {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  margin-left: 2px;
}
.py-hero-stat .label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

/* Section styling */
.py-content-section {
  margin-bottom: 44px;
  scroll-margin-top: 90px;
}
.py-content-section h2 {
  font-family: 'Noto Serif SC', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
}
.py-content-section h2::before {
  content: '';
  width: 5px;
  height: 24px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-light) 100%);
  border-radius: 3px;
  flex-shrink: 0;
}

/* Eligibility cards grid */
.py-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.py-info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.py-info-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 4px 12px rgba(10,37,64,0.06);
  transform: translateY(-2px);
}
.py-info-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--aussie-blue), var(--aussie-blue-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.py-info-card h5 {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
}
.py-info-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* Stream cards (3-column for streams) */
.py-stream-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.py-stream-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.py-stream-card:hover {
  border-color: var(--gold);
  box-shadow: 0 6px 20px rgba(212,175,55,0.1);
  transform: translateY(-2px);
}
.py-stream-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 4px;
}
.py-stream-card__icon.acc { background: linear-gradient(135deg, #10b981, #34d399); }
.py-stream-card__icon.it { background: linear-gradient(135deg, var(--aussie-blue), var(--aussie-blue-light)); }
.py-stream-card__icon.eng { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }
.py-stream-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}
.py-stream-card__body {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.py-stream-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* Course cards (feature style, left icon + right text) */
.py-course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.py-course-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: var(--bg-soft);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.py-course-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10,37,64,0.05);
  border-color: var(--border-strong);
}
.py-course-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.py-course-card__body {
  flex: 1;
  min-width: 0;
}
.py-course-card__body h5 {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 4px;
}
.py-course-card__body p {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* Stat cards (duration & cost section) */
.py-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
.py-stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 18px;
  text-align: center;
  transition: all 0.2s ease;
}
.py-stat-card:hover {
  border-color: var(--aussie-blue);
  box-shadow: 0 4px 12px rgba(66,135,245,0.08);
  transform: translateY(-2px);
}
.py-stat-card__value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 4px;
}
.py-stat-card__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.py-stat-card__desc {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* Bottom CTA card */
.py-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 14px;
  padding: 28px 32px;
  color: #fff;
  margin-top: 48px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.py-cta-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(212,175,55,0.18) 0%, transparent 70%);
  border-radius: 50%;
}
.py-cta-card h4 {
  font-family: 'Noto Serif SC', serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
  position: relative;
  z-index: 1;
}
.py-cta-card p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.7);
  margin: 0;
  max-width: 480px;
  position: relative;
  z-index: 1;
}
.py-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  position: relative;
  z-index: 1;
  border: none;
  cursor: pointer;
}
.py-cta-btn:hover {
  background: var(--gold-light);
  transform: translateX(2px);
}

/* Related topics */
.py-related-section {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.py-related-section h3 {
  font-family: 'Noto Serif SC', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 768px) {
  .py-page .topic-header {
    padding: 32px 24px 28px;
    border-radius: 14px;
  }
  .py-page .topic-title {
    font-size: 24px;
  }
  .py-hero-stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .py-hero-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    text-align: left;
  }
  .py-hero-stat .num {
    font-size: 24px;
    margin-bottom: 0;
    min-width: 70px;
  }
  .py-hero-stat .label {
    font-size: 12.5px;
  }
  .py-content-section h2 {
    font-size: 20px;
  }
  .py-cta-card {
    padding: 24px 20px;
  }
  .py-cta-card h4 {
    font-size: 17px;
  }
  .py-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .py-stream-grid {
    grid-template-columns: 1fr;
  }
  .py-course-grid {
    grid-template-columns: 1fr;
  }
}
