/* Pick a project library + shared vibrant project cards */

.pp-page {
  width: 100%;
  max-width: none;
}

.pp-choice {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pp-option-label {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(201, 168, 76, 0.28);
  border: 1px solid rgba(201, 168, 76, 0.45);
}

.pp-create-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 20px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.04) 0%, rgba(201, 168, 76, 0.16) 100%);
  border-radius: 14px;
  border: 2px solid rgba(201, 168, 76, 0.45);
  box-shadow: 0 4px 18px rgba(10, 22, 40, 0.06);
}

.pp-create-copy {
  flex: 1;
  min-width: min(100%, 280px);
}

.pp-create-heading {
  margin: 0 0 4px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

.pp-create-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 42ch;
}

.pp-create-banner .pp-create-btn,
.pp-create-banner a.pp-create-btn,
.pp-create-banner .btn-primary.pp-create-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  width: auto;
  min-width: 168px;
  padding: 12px 24px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy) !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid rgba(10, 22, 40, 0.14);
  box-shadow: 0 4px 14px rgba(201, 168, 76, 0.4);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.pp-create-banner .pp-create-btn:hover,
.pp-create-banner a.pp-create-btn:hover,
.pp-create-banner .btn-primary.pp-create-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.5);
  background: linear-gradient(135deg, var(--gold-light) 0%, #f5d97a 100%);
  color: var(--navy) !important;
}

.pp-create-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(10, 22, 40, 0.12);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.pp-or-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0;
  color: var(--navy-light);
}

.pp-or-divider::before,
.pp-or-divider::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.55), transparent);
}

.pp-or-text {
  flex-shrink: 0;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--navy);
  background: var(--white);
  border: 2px solid rgba(201, 168, 76, 0.55);
  box-shadow: 0 2px 10px rgba(10, 22, 40, 0.08);
}

.pp-curriculum-section {
  margin: 0;
}

.pp-curriculum-head {
  margin-bottom: 20px;
}

.pp-curriculum-title {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

.pp-intro {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

.pp-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.pp-filters a {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(26, 58, 107, 0.2);
  background: var(--white);
  font-size: 13px;
  font-weight: 500;
  color: var(--navy-light);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}

.pp-filters a:hover {
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-1px);
}

.pp-filters a.active {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.45) 0%, rgba(232, 201, 107, 0.25) 100%);
  border-color: var(--gold);
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(201, 168, 76, 0.25);
}

.pp-category {
  margin-bottom: 40px;
}

.pp-category-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(201, 168, 76, 0.45);
}

.pp-cat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-size: 24px;
  background: linear-gradient(145deg, var(--navy-mid) 0%, var(--navy-light) 100%);
  border-radius: 12px;
  border: 1px solid rgba(201, 168, 76, 0.5);
  box-shadow: 0 4px 12px rgba(10, 22, 40, 0.15);
  flex-shrink: 0;
}

.pp-category-head h2,
.pp-category-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--navy);
}

.pp-grid,
.mp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.pp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 0;
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid rgba(26, 58, 107, 0.12);
  box-shadow: 0 6px 20px rgba(10, 22, 40, 0.08);
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}

.pp-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(10, 22, 40, 0.14);
  border-color: var(--gold);
}

.pp-card--enrolled {
  border-color: rgba(74, 222, 128, 0.55);
  box-shadow: 0 6px 22px rgba(34, 120, 70, 0.12);
}

.pp-card--enrolled:hover {
  border-color: var(--success);
}

.pp-card-tick {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(145deg, #22c55e 0%, #16a34a 100%);
  color: #fff;
  border: 3px solid var(--white);
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.45);
  pointer-events: none;
}

.pp-card-accent {
  height: 6px;
  background: linear-gradient(90deg, var(--navy-light) 0%, var(--gold) 70%, var(--gold-light) 100%);
}

.pp-card--media .pp-card-accent {
  background: linear-gradient(90deg, #7c3aed 0%, #c084fc 50%, var(--gold) 100%);
}

.pp-card--media .pp-card-body {
  background: linear-gradient(165deg, #faf5ff 0%, #fff 55%);
}

.pp-card--tech .pp-card-accent {
  background: linear-gradient(90deg, var(--navy) 0%, #3b82f6 45%, var(--gold-light) 100%);
}

.pp-card--tech .pp-card-body {
  background: linear-gradient(165deg, #eff6ff 0%, #fff 55%);
}

.pp-card--business .pp-card-accent {
  background: linear-gradient(90deg, #047857 0%, #34d399 50%, var(--gold) 100%);
}

.pp-card--business .pp-card-body {
  background: linear-gradient(165deg, #ecfdf5 0%, #fff 55%);
}

.pp-card--science .pp-card-accent {
  background: linear-gradient(90deg, #0d9488 0%, #5eead4 50%, var(--gold-light) 100%);
}

.pp-card--science .pp-card-body {
  background: linear-gradient(165deg, #f0fdfa 0%, #fff 55%);
}

.pp-card--writing .pp-card-accent {
  background: linear-gradient(90deg, var(--navy-mid) 0%, #818cf8 50%, var(--gold) 100%);
}

.pp-card--writing .pp-card-body {
  background: linear-gradient(165deg, #eef2ff 0%, #fff 55%);
}

.pp-card-body {
  padding: 18px 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pp-card-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  padding-right: 44px;
}

.pp-card--enrolled .pp-card-top {
  padding-right: 52px;
}

.pp-card-icon {
  font-size: 32px;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(10, 22, 40, 0.12));
}

.pp-card-meta {
  flex: 1;
  min-width: 0;
}

.pp-card-title {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
}

.pp-card-cat {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--navy-light);
  font-weight: 500;
}

.pp-outcome-badge {
  margin: 0 0 12px;
  padding: 10px 12px;
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.05) 0%, rgba(201, 168, 76, 0.18) 100%);
  border-left: 4px solid var(--gold);
  border-radius: 0 10px 10px 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--navy);
}

.pp-card-desc {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  flex: 1;
}

.pp-card-btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 11px 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--gold-light) !important;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: none;
  box-shadow: 0 3px 10px rgba(10, 22, 40, 0.2);
  transition: background 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.pp-card-btn:hover {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy) !important;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(201, 168, 76, 0.35);
}

@media (min-width: 769px) {
  .pp-create-banner {
    padding: 16px 22px;
  }

  .pp-create-heading {
    font-size: 1.05rem;
  }

  .pp-create-banner .pp-create-btn {
    padding: 10px 20px;
    font-size: 13px;
    min-width: 150px;
  }
}

@media (max-width: 768px) {
  .pp-create-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 16px;
  }

  .pp-create-banner .pp-create-btn {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    font-size: 15px;
  }

  .pp-or-divider {
    margin: 22px 0;
  }

  .pp-or-text {
    padding: 10px 22px;
    font-size: 12px;
  }

  .pp-curriculum-title {
    font-size: 1.1rem;
  }

  .pp-grid,
  .mp-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pp-filters {
    gap: 8px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .pp-filters::-webkit-scrollbar {
    display: none;
  }

  .pp-filters a {
    padding: 10px 14px;
    font-size: 12px;
    flex-shrink: 0;
  }

  .pp-category-head h2,
  .pp-category-title {
    font-size: 13px;
  }

  .pp-card-tick {
    width: 46px;
    height: 46px;
    top: 12px;
    right: 12px;
  }

  .pp-card-btn {
    min-height: 48px;
    padding: 13px 16px;
  }
}

@media (max-width: 480px) {
  .pp-card-top {
    flex-direction: row;
  }

  .pp-create-heading {
    font-size: 1.05rem;
  }
}
