/* ============================================================
   AEC College Page Styles — v3.0
   ============================================================ */

.aec-cp-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 16px 60px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1a1a2e;
}

/* Breadcrumb */
.aec-cp-breadcrumb {
  font-size: 13px;
  margin-bottom: 20px;
  color: #888;
}
.aec-cp-breadcrumb a { color: #6c47ff; text-decoration: none; }
.aec-cp-breadcrumb a:hover { text-decoration: underline; }

/* Hero */
.aec-cp-hero {
  background: linear-gradient(135deg, #6c47ff 0%, #3b1fa5 60%, #1a0a5e 100%);
  border-radius: 18px;
  padding: 36px 32px;
  color: white;
  display: flex;
  gap: 32px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.aec-cp-hero-content { flex: 1; min-width: 260px; }
.aec-cp-tier-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 13px;
  margin-bottom: 10px;
}
.aec-cp-hero h1 {
  font-size: clamp(20px, 4vw, 30px);
  font-weight: 800;
  margin: 0 0 12px;
  line-height: 1.2;
}
.aec-cp-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
  margin-bottom: 14px;
  opacity: .9;
}
.aec-cp-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.aec-tag {
  background: rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 4px 12px;
  font-size: 13px;
}
.aec-tag-credit {
  background: linear-gradient(90deg, #ffd700, #ffaa00);
  color: #1a0a5e;
  font-weight: 700;
}

/* CTA Box */
.aec-cp-cta-box {
  background: white;
  border-radius: 14px;
  padding: 24px 22px;
  color: #1a1a2e;
  min-width: 220px;
  text-align: center;
}
.aec-cp-cta-box h3 { margin: 0 0 4px; font-size: 18px; color: #6c47ff; }
.aec-cp-cta-box p  { margin: 0 0 14px; font-size: 13px; color: #666; }
.aec-cp-apply-btn {
  display: block;
  background: linear-gradient(90deg, #6c47ff, #9b72ff);
  color: white !important;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 10px;
  transition: transform .15s;
}
.aec-cp-apply-btn:hover { transform: translateY(-2px); }
.aec-cp-official-btn {
  display: block;
  background: #f3f0ff;
  color: #6c47ff !important;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
}

/* Stats Row */
.aec-cp-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}
.aec-cp-stat {
  background: #f8f6ff;
  border-radius: 14px;
  padding: 18px 16px;
  text-align: center;
  border: 1px solid #ede9ff;
}
.aec-cp-stat .num {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: #6c47ff;
}
.aec-cp-stat .lbl {
  font-size: 12px;
  color: #888;
  margin-top: 4px;
  display: block;
}

/* Tabs */
.aec-cp-tabs { margin-bottom: 40px; }
.aec-cp-tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  border-bottom: 2px solid #ede9ff;
  padding-bottom: 8px;
}
.aec-tab-btn {
  background: none;
  border: none;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #888;
  cursor: pointer;
  border-radius: 8px 8px 0 0;
  transition: all .15s;
}
.aec-tab-btn.active,
.aec-tab-btn:hover {
  background: #6c47ff;
  color: white;
}
.aec-tab-content { display: none; }
.aec-tab-content.active { display: block; }

/* Content */
.aec-cp-content h1, .aec-cp-content h2, .aec-cp-content h3 {
  color: #3b1fa5;
  margin-top: 28px;
  margin-bottom: 10px;
}
.aec-cp-content h2 { font-size: 20px; border-bottom: 2px solid #ede9ff; padding-bottom: 8px; }
.aec-cp-content h3 { font-size: 16px; color: #6c47ff; }
.aec-cp-content p  { line-height: 1.75; color: #444; margin-bottom: 12px; }
.aec-cp-content ul { padding-left: 20px; }
.aec-cp-content li { line-height: 1.75; margin-bottom: 6px; color: #444; }
.aec-cp-content strong { color: #1a1a2e; }

/* Apply Form */
.aec-cp-apply-section {
  background: linear-gradient(135deg, #f8f6ff, #fff);
  border: 2px solid #ede9ff;
  border-radius: 18px;
  padding: 36px 32px;
  margin-top: 40px;
}
.aec-cp-apply-section h2 {
  margin: 0 0 8px;
  color: #3b1fa5;
  font-size: 22px;
}
.aec-cp-apply-section > p {
  color: #666;
  margin-bottom: 24px;
}
.aec-college-form .aec-af-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.aec-af-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}
.aec-af-field label span { color: #e74c3c; }
.aec-af-field input,
.aec-af-field select {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid #ddd;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
  box-sizing: border-box;
}
.aec-af-field input:focus,
.aec-af-field select:focus { border-color: #6c47ff; }

.aec-college-form button[type=submit] {
  width: 100%;
  padding: 16px;
  background: linear-gradient(90deg, #6c47ff, #9b72ff);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s;
}
.aec-college-form button[type=submit]:hover { transform: translateY(-2px); }

.aec-error   { background: #fff0f0; color: #c0392b; border-radius: 8px; padding: 10px 14px; margin-bottom: 12px; font-size: 13px; }
.aec-success { background: #f0fff4; color: #27ae60; border-radius: 8px; padding: 10px 14px; margin-bottom: 12px; font-size: 13px; }

@media (max-width: 600px) {
  .aec-cp-hero { flex-direction: column; padding: 24px 18px; }
  .aec-cp-apply-section { padding: 24px 18px; }
}
