
.pj { padding: 24px 0 56px; background: #fff; color: #1c1c1c; }
.pj h1 { margin: 8px 0 8px !important; font-size: 36px !important; line-height: 1.2 !important; font-weight: 700 !important; color: #1c1c1c !important; }
.pj__sub { font-size: 18px; line-height: 1.55; color: #545454; margin: 0 0 24px; max-width: 820px; }
.pj-eticheta { font-size: 13px; color: #545454; }
.pj-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 8px;
  font-size: 16px; font-weight: 500; border: 1.5px solid #636d2f; background: #fff; color: #636d2f !important; cursor: pointer; text-decoration: none !important;
}
.pj-btn:hover { background: #f6f8ec; }
.pj-btn--primar { background: #636d2f; color: #fff !important; }
.pj-btn--primar:hover { background: #4f5725; border-color: #4f5725; }
.pj-btn--text { border-color: transparent; color: #545454 !important; background: none; }

/* badge-urile de statut, aceleasi culori ca pe profilul GAL */
.pj-badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.pj-badge--contractat, .pj-badge--realizare { background: #e5f2d9; color: #3b6b1e; }
.pj-badge--finalizat { background: #636d2f; color: #fff; }
.pj-badge--depus, .pj-badge--aprobat { background: #fff3cd; color: #7a5b00; }
.pj-badge--respins { background: #f3e0e0; color: #8a3030; }
.pj-badge--intrerupt { background: #eee; color: #5f5f5f; }

/* ---------- formularul de cautare ---------- */
.pj-cautare { background: #fbfcf7; border: 1px solid #e1e6bf; border-radius: 16px; padding: 24px; }
.pj-camp label { display: block; font-size: 14px; font-weight: 600; margin: 0 0 6px; color: #1c1c1c; }
.pj-camp input, .pj-camp select {
  width: 100%; height: 48px; padding: 0 14px; border: 1px solid #a3a3a3; border-radius: 8px; font-size: 16px; background: #fff; color: #1c1c1c;
}
.pj-camp select:disabled { background: #f4f4f4; color: #8a8a8a; }
.pj-camp input:focus, .pj-camp select:focus { outline: none; border-color: #636d2f; box-shadow: 0 0 0 3px #e1e6bf; }
.pj-cautare__rand { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.pj-cautare__text input { padding-left: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23545454' stroke-width='2'%3E%3Ccircle cx='9' cy='9' r='6'/%3E%3Cpath d='m14 14 4 4'/%3E%3C/svg%3E") 14px center no-repeat; }
.pj-clasif { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.pj-perioada { margin-top: 20px; padding-top: 20px; border-top: 1px solid #e1e6bf; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 32px; align-items: end; }
.pj-perioada__titlu { grid-column: 1 / -1; font-size: 15px; font-weight: 700; }
.pj-diapazon { display: flex; align-items: end; gap: 10px; }
.pj-diapazon .pj-camp { width: 190px; }
.pj-diapazon > span { padding-bottom: 12px; color: #545454; }
.pj-ani__titlu { display: block; font-size: 14px; font-weight: 600; margin: 0 0 6px; }
.pj-ani { display: flex; flex-wrap: wrap; gap: 8px; }
.pj-an { position: relative; margin: 0; }
.pj-an input { position: absolute; opacity: 0; pointer-events: none; }
.pj-an span {
  display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 1px solid #a3a3a3; border-radius: 999px;
  background: #fff; font-weight: 500; cursor: pointer; user-select: none;
}
.pj-an input:checked + span { background: #636d2f; border-color: #636d2f; color: #fff; }
.pj-an input:focus-visible + span { box-shadow: 0 0 0 3px #e1e6bf; }
.pj-perioada__nota { grid-column: 1 / -1; font-size: 13px; color: #545454; margin: 4px 0 0; }
.pj-cautare__jos { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.pj-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pj-chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: 14px; background: #fff; border: 1px solid #a4ad59;
  border-radius: 999px; padding: 4px 6px 4px 12px; color: #1c1c1c !important; text-decoration: none !important;
}
.pj-chip b { font-weight: 600; }
.pj-chip i { font-style: normal; width: 20px; height: 20px; border-radius: 50%; background: #f6f8ec; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.pj-chip:hover i { background: #636d2f; color: #fff; }

/* ---------- rezultate ---------- */
.pj-rez__cap { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin: 28px 0 16px; flex-wrap: wrap; }
.pj-sumar { font-size: 18px; line-height: 1.6; color: #545454; margin: 0; }
.pj-sumar b { font-size: 30px; font-weight: 700; color: #1c1c1c; }
.pj-sort select { height: 44px; border: 1px solid #a3a3a3; border-radius: 8px; font-size: 15px; padding: 0 10px; background: #fff; }
.pj-gol { padding: 32px; text-align: center; color: #545454; border: 1px dashed #e3e3e3; border-radius: 12px; }

.pj-card {
  border: 1px solid #e3e3e3; border-radius: 12px; padding: 20px 24px; margin-bottom: 16px;
  display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; transition: border-color .2s, box-shadow .2s;
}
.pj-card:hover { border-color: #a4ad59; box-shadow: 0 6px 20px rgba(43, 48, 20, .06); }
.pj-card__meta { font-size: 13px; color: #636d2f; }
.pj-card h2 { font-size: 19px !important; line-height: 1.35 !important; margin: 6px 0 12px !important; font-weight: 700 !important; }
.pj-card h2 a { color: #1c1c1c !important; text-decoration: none !important; }
.pj-card h2 a:hover { color: #636d2f !important; text-decoration: underline !important; }
.pj-card__date { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 20px; font-size: 14px; }
.pj-card__date b { display: block; font-weight: 500; }
.pj-card__date .lat { grid-column: 1 / -1; }
.pj-card__dreapta { border-left: 1px solid #e3e3e3; padding-left: 24px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.pj-card__suma { font-size: 22px; font-weight: 700; color: #4f5725; line-height: 1.1; }
.pj-bara { width: 100%; height: 8px; background: #ececec; border-radius: 999px; overflow: hidden; }
.pj-bara i { display: block; height: 100%; background: #636d2f; border-radius: 999px; }

.pj-pagini { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 28px 0 0; }
.pj-pagini a, .pj-pagini span {
  min-width: 40px; height: 40px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid #e3e3e3; border-radius: 8px; font-weight: 500; color: #1c1c1c !important; text-decoration: none !important;
}
.pj-pagini a:hover { border-color: #636d2f; }
.pj-pagini .on { background: #636d2f; color: #fff !important; border-color: #636d2f; }
.pj-pagini .gol { border-color: transparent; }

/* ---------- fisa proiectului ---------- */
.pj h1.pj-fisa__titlu { margin-top: 16px !important; }
.pj-fisa__titlu .pj-badge { vertical-align: middle; position: relative; top: -4px; margin-left: 6px; }
.pj-fisa__cap { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: 8px; }
.pj-etape { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin: 24px 0 32px; }
.pj-etape div { font-size: 12px; text-align: center; color: #545454; }
.pj-etape div::before { content: ""; display: block; height: 6px; border-radius: 999px; background: #ececec; margin-bottom: 6px; }
.pj-etape .gata::before { background: #a4ad59; }
.pj-etape .acum::before { background: #4f5725; }
.pj-etape .acum { color: #1c1c1c; font-weight: 600; }
.pj-fisa { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.pj .pj-sect { margin-bottom: 36px; padding: 0 !important; } /* tema pune padding pe <section> */
.pj-sect h2 { font-size: 24px !important; font-weight: 700 !important; margin: 0 0 16px !important; padding-bottom: 10px; border-bottom: 2px solid #e1e6bf; }
.pj-sect h3 { font-size: 16px !important; font-weight: 700 !important; margin: 20px 0 6px !important; }
.pj-sect p { margin: 0 0 10px; color: #333; line-height: 1.6; white-space: pre-line; }
.pj-meta { display: grid; grid-template-columns: 260px minmax(0, 1fr); margin: 0; border-top: 1px solid #e3e3e3; }
.pj-meta dt, .pj-meta dd { margin: 0; padding: 12px 0; border-bottom: 1px solid #e3e3e3; }
.pj-meta dt { color: #545454; font-size: 15px; font-weight: 400; padding-right: 16px; }
.pj-meta dd { font-weight: 500; }
.pj-loc { display: flex; flex-wrap: wrap; gap: 6px; }
.pj-cod { font-size: 13px; color: #8a8a8a; margin: -2px 0 0; letter-spacing: .02em; }
.pj-loc a { background: #f6f8ec; border: 1px solid #c6ce82; border-radius: 6px; padding: 2px 10px; font-size: 14px;
  color: #3d431c !important; text-decoration: none !important; transition: background .15s; }
.pj-loc a:hover { background: #636d2f; border-color: #636d2f; color: #fff !important; }
.pj-loc span { background: #f4f4f4; border: 1px solid #e3e3e3; border-radius: 6px; padding: 2px 10px; font-size: 14px; }
.pj-tabel { width: 100%; border-collapse: collapse; font-size: 15px; }
.pj-tabel th { text-align: left; font-size: 13px; font-weight: 600; color: #545454; background: #f4f4f4; padding: 10px 12px; }
.pj-tabel td { padding: 10px 12px; border-bottom: 1px solid #e3e3e3; vertical-align: top; }
.pj-tabel .nr { text-align: right; font-weight: 600; white-space: nowrap; }
.pj-tabel tr.grup td { background: #f6f8ec; font-weight: 600; color: #3d431c; }

.pj-lat { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 16px; }
.pj-c { border: 1px solid #e3e3e3; border-radius: 12px; padding: 20px; }
.pj-c h3 { font-size: 16px !important; font-weight: 700 !important; margin: 0 0 14px !important; }
.pj-c--buget { background: #3d431c; color: #fff; border: 0; }
.pj-c--buget .pj-eticheta { color: rgba(255, 255, 255, .78); }
.pj-c--buget .mare { font-size: 30px; font-weight: 700; line-height: 1.1; margin: 2px 0 14px; }
.pj-c--buget .pj-bara { background: rgba(255, 255, 255, .2); margin: 8px 0 6px; }
.pj-c--buget .pj-bara i { background: #e6ba39; }
.pj-c--buget dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 14px 0 0; font-size: 14px; }
.pj-c--buget dt { color: rgba(255, 255, 255, .82); font-weight: 400; }
.pj-c--buget dd { margin: 0; font-weight: 600; text-align: right; }
.pj-c--solicitant { background: #fbfcf7; border-color: #e1e6bf; }
.pj-c--solicitant h3 { text-transform: uppercase; letter-spacing: .04em; font-size: 14px !important; color: #3d431c; }
.pj-c--solicitant dl { margin: 0; }
.pj-c--solicitant dt { font-size: 13px; font-weight: 400; color: #545454; margin: 0; }
.pj-c--solicitant dd { margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1px solid #e1e6bf; font-weight: 600; font-size: 15px; }
.pj-c--solicitant dd:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.pj-transe { font-size: 14px; }
.pj-transe div { display: grid; grid-template-columns: 14px 1fr auto; gap: 10px; padding: 8px 0; border-bottom: 1px solid #e3e3e3; }
.pj-transe div:last-child { border-bottom: 0; }
.pj-transe i { width: 12px; height: 12px; border-radius: 3px; margin-top: 5px; background: #c9671a; }
.pj-transe i.achitat { background: #3b8a1e; }
.pj-metadate { background: #f4f4f4; border-radius: 12px; padding: 16px 20px; font-size: 14px; color: #545454; }
.pj-metadate div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.pj-metadate b { color: #1c1c1c; font-weight: 500; text-align: right; }

@media (max-width: 991.98px) {
  .pj-clasif { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pj-perioada { grid-template-columns: minmax(0, 1fr); }
  .pj-card, .pj-fisa { grid-template-columns: minmax(0, 1fr); }
  .pj-card__dreapta { border-left: 0; padding-left: 0; border-top: 1px solid #e3e3e3; padding-top: 14px; }
  .pj-lat { position: static; }
}
@media (max-width: 575.98px) {
  .pj h1 { font-size: 26px !important; }
  .pj-cautare { padding: 16px; }
  .pj-clasif, .pj-card__date, .pj-cautare__rand { grid-template-columns: minmax(0, 1fr); }
  .pj-diapazon .pj-camp { width: auto; flex: 1; min-width: 0; }
  .pj-camp input { min-width: 0; }
  .pj-card { padding: 16px; }
  .pj-meta { grid-template-columns: 1fr; }
  .pj-meta dt { border-bottom: 0; padding-bottom: 0; }
  .pj-etape div { font-size: 10px; }
  .pj-sumar b { font-size: 24px; }
}

/* fisa proiectului: toate fonturile cu 2px mai mari */
.pj h1 { font-size: 38px !important; }
.pj__sub { font-size: 20px; }
.pj-eticheta { font-size: 15px; }
.pj-badge { font-size: 14px; }
.pj-cod { font-size: 15px; }
.pj-etape div { font-size: 14px; }
.pj-sect h2 { font-size: 26px !important; }
.pj-sect h3 { font-size: 18px !important; }
.pj-sect p { font-size: 18px; }
.pj-meta dt { font-size: 17px; }
.pj-meta dd { font-size: 18px; }
.pj-loc a, .pj-loc span { font-size: 16px; }
.pj-tabel { font-size: 17px; }
.pj-tabel th { font-size: 15px; }
.pj-c h3 { font-size: 18px !important; }
.pj-c--buget .mare { font-size: 32px; }
.pj-c--buget dl { font-size: 16px; }
.pj-c--solicitant h3 { font-size: 16px !important; }
.pj-c--solicitant dt { font-size: 15px; }
.pj-c--solicitant dd { font-size: 17px; }
.pj-transe { font-size: 16px; }
.pj-metadate { font-size: 16px; }
@media (max-width: 900px) {
  .pj h1 { font-size: 28px !important; }
  .pj-etape div { font-size: 12px; }
}

/* descrierea proiectului, in acelasi tabel eticheta / valoare ca "Informatii generale" */
.pj-meta--text dd { font-weight: 400; color: #333; line-height: 1.6; }
.pj-meta--text dd p { margin: 0 0 10px; font-size: inherit; white-space: normal; }
.pj-meta--text dd p:last-child { margin-bottom: 0; }
.pj-meta--text dt { font-weight: 600; color: #1c1c1c; }
.pj-activitati { margin: 0; padding-left: 20px; }
.pj-activitati li { margin-bottom: 8px; }

/* bugetul proiectului: casete + bara subventie / contributie + progresul platii */
.pj-bg-kpi { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 20px; }
.pj-bg-kpi > div { background: #f6f8ec; border-radius: 14px; padding: 14px 16px; }
.pj-bg-kpi b { display: block; font-size: 26px; color: #4f5725; line-height: 1.2; }
.pj-bg-kpi span { font-size: 15px; color: #545454; }
.pj-bg-bara { display: flex; height: 40px; border-radius: 10px; overflow: hidden; gap: 2px; background: #fff; }
.pj-bg-bara > div { height: 100%; }
.pj-bg-et { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 14px 0 4px; }
.pj-bg-et > div { border-top: 4px solid; padding-top: 8px; }
.pj-bg-et span { display: block; font-size: 15px; color: #545454; }
.pj-bg-et b { display: block; font-size: 24px; color: #1c1c1c; }
.pj-bg-et small { font-size: 15px; color: #545454; }
.pj-bg-titlu { font-size: 15px; color: #545454; margin: 22px 0 8px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.pj-bg-prog { height: 12px; border-radius: 6px; background: #e8e7e1; overflow: hidden; }
.pj-bg-prog i { display: block; height: 100%; background: #4f5725; border-radius: 6px; }
.pj-bg-nota { font-size: 15px; color: #545454; margin: 10px 0 0; }
.pj-bg-nota b { color: #1c1c1c; }
