/* eStudyIT career-path pages ("cp-" template) — 2026-08-01 redesign */

.cp-hero, .cp-section, .cp-cta { box-sizing: border-box; }
.cp-hero *, .cp-section *, .cp-cta * { box-sizing: border-box; }

/* ---- Hero ---- */
.cp-hero {
  background: linear-gradient(180deg, #fbeceb 0%, #ffffff 100%);
  padding: 56px 24px 48px;
  text-align: center;
  border-bottom: 1px solid #f0e2e1;
}
.cp-hero-inner { max-width: 780px; margin: 0 auto; }
.cp-breadcrumb { margin-bottom: 18px; }
.cp-breadcrumb a {
  color: #8a8a8a;
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
}
.cp-breadcrumb a:hover { color: #E6393F; }

.cp-pill {
  display: inline-block;
  background: #fff;
  border: 1px solid #f0c4c4;
  color: #E6393F;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.cp-hero h1 {
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 44px;
  line-height: 1.15;
  font-weight: 700;
  color: #17181a;
  margin: 0 0 18px;
}
.cp-hero h1 span { color: #E6393F; }

.cp-hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: #55575c;
  max-width: 620px;
  margin: 0 auto 30px;
}

.cp-hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.cp-btn-pr, .cp-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.cp-btn-pr {
  background: #E6393F;
  color: #fff;
  box-shadow: 0 6px 16px rgba(230,57,63,.28);
}
.cp-btn-pr:hover { background: #cf2e34; transform: translateY(-1px); color: #fff; }
.cp-btn-ghost {
  background: #fff;
  color: #17181a;
  border: 1px solid #dcdcdc;
}
.cp-btn-ghost:hover { border-color: #b8b8b8; transform: translateY(-1px); color: #17181a; }

.cp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}
.cp-stat {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cp-stat strong { font-size: 19px; color: #17181a; font-weight: 800; }
.cp-stat span { font-size: 12.5px; color: #8a8a8a; font-weight: 500; }

/* ---- Generic sections ---- */
.cp-section { padding: 64px 24px; background: #fff; }
.cp-section.alt { background: #fafafa; }
.cp-inner { max-width: 1040px; margin: 0 auto; }
.cp-inner > h2 {
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 30px;
  font-weight: 700;
  color: #17181a;
  text-align: center;
  margin: 0 0 12px;
}
.cp-inner > .lead {
  font-size: 16.5px;
  color: #666;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* ---- Feature grid ---- */
.cp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cp-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 26px 22px;
  transition: box-shadow .15s ease, transform .15s ease;
}
.cp-card:hover { box-shadow: 0 10px 24px rgba(0,0,0,.06); transform: translateY(-2px); }
.cp-card-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: #fbeceb;
  border-radius: 10px;
  margin-bottom: 14px;
}
.cp-card h3 { font-size: 17px; font-weight: 700; color: #17181a; margin: 0 0 8px; }
.cp-card p { font-size: 14.5px; color: #666; line-height: 1.55; margin: 0; }

/* ---- Certification path (timeline) ---- */
.cp-path { max-width: 760px; margin: 0 auto; }
.cp-step {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid #eee;
}
.cp-step:last-child { border-bottom: none; }
.cp-step-n {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #E6393F;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cp-step-body { flex: 1; }
.cp-step-body h3 { font-size: 18px; font-weight: 700; color: #17181a; margin: 0 0 8px; }
.cp-step-body h3 em { color: #999; font-style: italic; font-weight: 500; font-size: 15px; }
.cp-step-body > p { font-size: 15px; color: #666; line-height: 1.6; margin: 0 0 12px; }
.cp-step-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  flex-wrap: wrap;
}
.cp-step-meta span { color: #17181a; font-weight: 700; }
.cp-step-meta span:first-child { color: #8a8a8a; font-weight: 500; }
.cp-step-meta a {
  color: #E6393F;
  font-weight: 700;
  text-decoration: none;
  margin-left: auto;
}
.cp-step-meta a:hover { text-decoration: underline; }

/* ---- Salary table ---- */
.cp-sal-table {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 0 1px #eee;
}
.cp-sal-table th {
  text-align: left;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #8a8a8a;
  background: #f5f5f5;
  padding: 12px 18px;
  font-weight: 700;
}
.cp-sal-table td {
  padding: 14px 18px;
  font-size: 15px;
  color: #333;
  border-top: 1px solid #f0f0f0;
}
.cp-sal-table tr td:first-child { font-weight: 700; color: #17181a; }
.cp-sal-hl { color: #E6393F !important; font-weight: 800 !important; }

/* ---- CTA ---- */
.cp-cta {
  background: #17181a;
  padding: 64px 24px;
  text-align: center;
}
.cp-cta h2 {
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
}
.cp-cta p {
  font-size: 16px;
  color: #b8b8b8;
  max-width: 520px;
  margin: 0 auto 28px;
}
.cp-cta .cp-btn-pr { box-shadow: 0 6px 20px rgba(230,57,63,.4); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .cp-grid { grid-template-columns: repeat(2, 1fr); }
  .cp-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cp-hero { padding: 40px 18px 36px; }
  .cp-hero h1 { font-size: 30px; }
  .cp-hero-sub { font-size: 16px; }
  .cp-grid { grid-template-columns: 1fr; }
  .cp-stats { grid-template-columns: repeat(2, 1fr); }
  .cp-section { padding: 44px 18px; }
  .cp-inner > h2 { font-size: 24px; }
  .cp-step { flex-direction: column; gap: 10px; }
  .cp-sal-table th, .cp-sal-table td { padding: 10px 12px; font-size: 13.5px; }
}
