/* PRIJEMNI ISPIT — PAGE-SPECIFIC STYLES */
:root {
  --pi-primary: #c68ee4;
  --pi-primary-dark: #7D3FA1;
  --pi-ink: #18141D;
  --pi-text: #292929;
  --pi-text-muted: #4A4A4A;
  --pi-line: #E5DEF0;
}

.pi-article {
  max-width: 760px;
  margin: 0 auto;
  padding: 36px 14px 60px;
  color: var(--pi-text);
}

.pi-breadcrumb {
  font-size: 12px;
  color: var(--pi-text-muted);
  margin-bottom: 22px;
}
.pi-breadcrumb a { color: var(--pi-primary-dark); text-decoration: none; }
.pi-breadcrumb a:hover { text-decoration: underline; }
.pi-breadcrumb span { margin: 0 4px; }

.pi-hero h1 {
  font-family: Georgia, serif;
  font-size: 32px;
  line-height: 1.25;
  color: var(--pi-text);
  margin-bottom: 16px;
}
.pi-lede {
  font-size: 16px;
  color: var(--pi-text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}
.pi-hero p { line-height: 1.7; margin-bottom: 10px; }

/* Callout — "uradi ovo prvo" */
.pi-callout {
  background: linear-gradient(135deg, #fff 0%, #F9F3FD 100%);
  border: 1px solid var(--pi-line);
  border-left: 4px solid var(--pi-primary-dark);
  border-radius: 10px;
  padding: 22px 24px;
  margin: 28px 0 36px;
}
.pi-callout-label {
  display: inline-block;
  background: var(--pi-primary-dark);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 12px;
}
.pi-callout p { line-height: 1.7; margin-bottom: 16px; }

.pi-btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.pi-btn-primary { background: var(--pi-primary-dark); color: #fff; }
.pi-btn-primary:hover { background: var(--pi-primary); color: #fff; text-decoration: none; }

.pi-inline-link {
  color: var(--pi-primary-dark);
  font-weight: 700;
  text-decoration: none;
}
.pi-inline-link:hover { text-decoration: underline; }

/* Sections */
.pi-section { padding: 30px 0; }
.pi-contact { padding: 22px 0; }
.pi-contact-note { font-size: 13px; color: var(--pi-text-muted); }
.pi-section-alt {
  background: #FAF7FC;
  margin-left: -14px;
  margin-right: -14px;
  padding: 30px 14px;
  border-top: 1px solid var(--pi-line);
  border-bottom: 1px solid var(--pi-line);
}
.pi-section h2 {
  font-family: Georgia, serif;
  font-size: 22px;
  color: var(--pi-text);
  margin-bottom: 14px;
}
.pi-section h3 {
  font-size: 15px;
  color: var(--pi-primary-dark);
  margin: 18px 0 8px;
}
.pi-section p { line-height: 1.7; margin-bottom: 12px; }
.pi-section ul { padding-left: 20px; margin-bottom: 12px; }
.pi-section li { line-height: 1.7; margin-bottom: 4px; }

/* Table */
.pi-table-scroll { overflow-x: auto; margin-bottom: 16px; -webkit-overflow-scrolling: touch; }
.pi-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 14px; }
.pi-table th, .pi-table td {
  border: 1px solid var(--pi-line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  color: var(--pi-text);
}
.pi-table thead th {
  background: var(--pi-primary-dark);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.pi-table tbody th { background: #F9F3FD; white-space: nowrap; }
.pi-table-has-info td:nth-child(3),
.pi-table-has-info td:nth-child(4) { font-weight: 700; color: var(--pi-primary-dark); }

/* Areas */
.pi-areas { list-style: none; padding: 0; margin: 0 0 8px; counter-reset: none; }
.pi-area-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--pi-line);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 12px;
}
.pi-area-num {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(198,142,228,.18);
  color: var(--pi-primary-dark);
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pi-area-card h3 { margin: 0 0 6px; font-size: 15px; color: var(--pi-text); }
.pi-area-card p { margin: 0; font-size: 14px; color: var(--pi-text-muted); line-height: 1.6; }

/* Score grid */
.pi-score-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 18px 0 16px;
}
.pi-score-card {
  border: 1px solid var(--pi-line);
  border-radius: 10px;
  padding: 16px 10px;
  text-align: center;
}
.pi-score-card.pi-score-total {
  background: var(--pi-primary-dark);
  border-color: var(--pi-primary-dark);
}
.pi-score-card.pi-score-total .pi-score-num,
.pi-score-card.pi-score-total .pi-score-label { color: #fff; }
.pi-score-num {
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--pi-primary-dark);
  line-height: 1.1;
}
.pi-score-label { font-size: 11px; color: var(--pi-text-muted); margin-top: 5px; line-height: 1.4; }

/* Timeline */
.pi-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 18px 0 20px;
  position: relative;
}
.pi-timeline-item {
  border: 1px solid var(--pi-line);
  border-radius: 10px;
  padding: 16px 10px 14px;
  text-align: center;
  background: #fff;
}
.pi-timeline-item-final { border-color: var(--pi-primary-dark); background: #F9F3FD; }
.pi-timeline-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--pi-primary);
  margin: 0 auto 10px;
}
.pi-timeline-item-final .pi-timeline-dot { background: var(--pi-primary-dark); }
.pi-timeline-label { font-size: 13px; font-weight: 700; color: var(--pi-text); margin-bottom: 4px; }
.pi-timeline-desc { font-size: 11px; color: var(--pi-text-muted); }

/* FAQ */
.pi-faq-item {
  border-bottom: 1px solid var(--pi-line);
  padding: 16px 0;
}
.pi-faq-item:last-child { border-bottom: none; }
.pi-faq-item h3 { font-size: 15px; color: var(--pi-text); margin: 0 0 8px; }
.pi-faq-item p { margin: 0; font-size: 14px; color: var(--pi-text-muted); line-height: 1.7; }

.pi-updated {
  font-size: 12px;
  color: var(--pi-text-muted);
  margin-top: 30px;
  padding-top: 16px;
  border-top: 1px solid var(--pi-line);
}

/* Responsive */
@media screen and (max-width: 700px) {
  .pi-hero h1 { font-size: 24px; }
  .pi-score-grid { grid-template-columns: repeat(2, 1fr); }
  .pi-timeline { grid-template-columns: repeat(2, 1fr); }
  .pi-area-card { flex-direction: column; }
  .pi-callout { padding: 18px 16px; }
}
