/* Section-wise prep + institute profile — KN gold, charcoal ink (not FIRST IAS navy) */
.sem-page { background: #f7f5f0; padding: 0 0 56px; }
.sem-hero {
  position: relative;
  background: #2c2a26;
  color: #fff;
  overflow: hidden;
}
.sem-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 20px 40px;
}
.sem-hero-inner.sem-hero-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}
@media (min-width: 900px) {
  .sem-hero-inner.sem-hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}
.sem-kicker {
  display: inline-block;
  background: #E6AD38;
  color: #2c2a26;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.sem-hero h1 {
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 12px;
  color: #fff;
}
.sem-hero .sem-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.9);
  margin: 0 0 18px;
  line-height: 1.6;
  max-width: 46rem;
}
.sem-meta { list-style: none; padding: 0; margin: 0; color: #e8e0d0; font-size: 15px; }
.sem-meta li { margin-bottom: 8px; }
.sem-meta strong { color: #E6AD38; }
.sem-photo {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
  background: #1a1916;
}
.sem-photo img { width: 100%; height: auto; display: block; }
.sem-photo figcaption {
  font-size: 12px;
  color: rgba(255,255,255,.75);
  padding: 10px 12px 12px;
  text-align: center;
}
.sem-wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.sem-breadcrumb { font-size: 13px; color: #64748b; padding: 18px 0 8px; }
.sem-breadcrumb a { color: #5c4a1a; text-decoration: none; font-weight: 600; }
.sem-intro {
  background: #fff;
  border: 1px solid #ebe6dc;
  border-radius: 16px;
  padding: 24px 22px;
  margin: 8px 0 28px;
  color: #334155;
  line-height: 1.75;
  font-size: 1.02rem;
}
.sem-intro h2 { color: #2c2a26; font-size: 1.35rem; font-weight: 800; margin: 0 0 12px; }
.sem-intro a, .sem-card a, .sem-support a, .sem-mistakes a, .kn-direct a {
  color: #8a6a14;
  font-weight: 700;
  text-decoration: none;
}
.sem-intro a:hover, .sem-card a:hover, .sem-support a:hover, .sem-mistakes a:hover, .kn-direct a:hover {
  color: #5c4a1a;
  text-decoration: underline;
}
.sem-keys { margin-bottom: 12px; }
.sem-keys h2 {
  color: #2c2a26;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 8px;
}
.sem-keys > p { color: #5b6472; margin-bottom: 20px; }
.sem-card {
  background: #fff;
  border: 1px solid #ebe6dc;
  border-radius: 16px;
  padding: 22px 22px 8px;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(44,42,38,.05);
}
.sem-card h2, .sem-card h3 {
  color: #2c2a26;
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 12px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.sem-num {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #E6AD38;
  color: #2c2a26;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
.sem-card p { color: #334155; line-height: 1.75; margin-bottom: 12px; }
.sem-card ul, .sem-card ol { margin: 0 0 16px; padding-left: 1.2rem; color: #334155; line-height: 1.7; }
.sem-card li { margin-bottom: 8px; }
.sem-roadmap {
  background: #2c2a26;
  color: #fff;
  border-radius: 16px;
  padding: 26px 22px;
  margin: 28px 0 22px;
}
.sem-roadmap h2 { color: #fff; font-size: 1.4rem; font-weight: 800; margin: 0 0 10px; }
.sem-roadmap p { color: rgba(255,255,255,.9); line-height: 1.7; margin-bottom: 12px; }
.sem-roadmap a { color: #E6AD38; font-weight: 700; }
.sem-steps { display: grid; gap: 14px; margin: 16px 0 18px; }
@media (min-width: 700px) { .sem-steps { grid-template-columns: 1fr 1fr; } }
.sem-step {
  background: #fff;
  border: 1px solid #ebe6dc;
  border-radius: 14px;
  padding: 18px 18px 16px;
  box-shadow: 0 8px 24px rgba(44,42,38,.05);
}
.sem-step h3 {
  color: #2c2a26;
  font-size: 1.05rem;
  margin: 0 0 8px;
  font-weight: 800;
  line-height: 1.35;
}
.sem-step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #334155;
}
.sem-step a { color: #8a6a14; font-weight: 700; text-decoration: none; }
.sem-step a:hover { color: #5c4a1a; text-decoration: underline; }

/* Dark “How we teach” strip on the institute profile */
.sem-roadmap .sem-step {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(230,173,56,.35);
  box-shadow: none;
}
.sem-roadmap .sem-step h3 { color: #E6AD38; }
.sem-roadmap .sem-step p { color: rgba(255,255,255,.92); }
.sem-roadmap .sem-step a { color: #E6AD38; }
.sem-roadmap .sem-step a:hover { color: #fff; }
.sem-mistakes, .sem-support {
  background: #fff;
  border: 1px solid #ebe6dc;
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 18px;
}
.sem-mistakes h2, .sem-support h2 {
  color: #2c2a26;
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 12px;
}
.sem-mistakes p, .sem-support p { color: #334155; line-height: 1.75; margin-bottom: 12px; }
.sem-mistakes ul, .sem-support ul { margin: 0; padding-left: 1.2rem; color: #334155; line-height: 1.7; }
.sem-mistakes li, .sem-support li { margin-bottom: 8px; }
.sem-cta-note { margin: 8px 0 20px; }
.prof-courses {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
@media (min-width: 700px) { .prof-courses { grid-template-columns: 1fr 1fr; } }
.prof-courses li {
  background: #f8f6f1;
  border: 1px solid #ebe6dc;
  border-radius: 10px;
  padding: 10px 14px;
  margin: 0;
  font-weight: 600;
  color: #2c2a26;
}
.sp-grid {
  display: grid;
  gap: 14px;
  margin: 8px 0 28px;
  list-style: none;
  padding: 0;
}
@media (min-width: 700px) { .sp-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .sp-grid.sp-grid-3 { grid-template-columns: 1fr 1fr 1fr; } }
.sp-tile {
  display: block;
  background: #fff;
  border: 1px solid #ebe6dc;
  border-radius: 14px;
  padding: 18px 16px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 24px rgba(44,42,38,.05);
}
.sp-tile:hover { border-color: #E6AD38; }
.sp-tile strong { display: block; color: #2c2a26; font-size: 1.05rem; margin-bottom: 6px; }
.sp-tile span { color: #64748b; font-size: 14px; line-height: 1.5; }
.sp-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}
.sp-toc a {
  background: #fff;
  border: 1px solid #ebe6dc;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  color: #5c4a1a;
  text-decoration: none;
}
.sp-toc a:hover { background: #E6AD38; color: #2c2a26; }
.sp-answer {
  background: #f8f6f1;
  border-left: 4px solid #E6AD38;
  border-radius: 0 12px 12px 0;
  padding: 14px 16px;
  margin-bottom: 16px;
  color: #334155;
}
.sp-answer h4 { color: #2c2a26; margin: 0 0 8px; font-size: 15px; }
.sp-answer p { margin: 0 0 8px; font-size: 14px; line-height: 1.65; }
.sp-answer p:last-child { margin-bottom: 0; }

.cp-contact-panel {
  display: grid;
  gap: 24px;
  background: #fff;
  border: 1px solid #ebe6dc;
  border-radius: 16px;
  padding: 24px 22px;
  margin: 28px 0 12px;
}
@media (min-width: 800px) {
  .cp-contact-panel { grid-template-columns: 1fr 1fr; align-items: start; }
}
.cp-contact-panel h2 { color: #2c2a26; font-size: 1.3rem; font-weight: 800; margin: 0 0 10px; }
.cp-contact-panel p { color: #334155; line-height: 1.65; }
.cp-contact-links { list-style: none; padding: 0; margin: 12px 0 0; }
.cp-contact-links li { margin-bottom: 6px; color: #334155; }
.cp-contact-links a { color: #8a6a14; font-weight: 700; }
.cp-form-box h3 { color: #2c2a26; font-weight: 800; margin: 0 0 4px; }
.cp-form-sub { font-size: 13px; color: #64748b; margin-bottom: 12px; }
.cp-form-box .form-control {
  border: 1px solid #ddd4c4;
  border-radius: 8px;
  height: 44px;
  margin-bottom: 10px;
}
.cp-form-box textarea.form-control { height: auto; }
.cp-form-box .btn {
  background: #E6AD38;
  border: 2px solid #E6AD38;
  color: #2c2a26;
  font-weight: 800;
  width: 100%;
  height: 48px;
}
.cp-form-box .btn:hover {
  background: #fff;
  color: #8a6a14;
}
.kn-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.kn-pyq-banner {
  background: #fff8e8;
  border: 1px solid #E6AD38;
  border-radius: 12px;
  padding: 16px 18px;
  margin: 0 0 22px;
  color: #334155;
}
.kn-pyq-banner a { color: #8a6a14; font-weight: 800; }
.kn-hosted-list { margin: 16px 0 0; padding-left: 1.2rem; }
