/* ===============================
   Posturi.gov — Single Job
   Direction: soft cards, tip LinkedIn/Indeed.
   Fundal gri clar, carduri albe cu chenar fin, pastile, buton pill.
   =============================== */

.pg-saas{
  --pg-ink: #191919;
  --pg-ink-soft: #666666;
  --pg-page: #f3f2ef;
  --pg-surface: #ffffff;
  --pg-line: #e0dfdc;
  --pg-blue: #0a66c2;
  --pg-blue-dark: #004182;
  --pg-blue-tint: #eef3f8;
  --pg-warn: #b3401f;

  color: var(--pg-ink);
  background: transparent;
  font-family: 'Manrope', Arial, sans-serif;
}

.pg-job-single.pg-saas{
  max-width: 1300px;
  margin: 0 auto 70px;
  padding: 0 16px;
  width: 100%;
background:#ffffff00 !important;
}

/* ---------- top bar ---------- */
.pg-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 18px 0 14px;
}

.pg-breadcrumbs{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--pg-ink-soft);
}
.pg-breadcrumbs a{ text-decoration:none; color: var(--pg-ink-soft); }
.pg-breadcrumbs a:hover{ color: var(--pg-blue); text-decoration: underline; }
.pg-bc-sep{ opacity:.5; }
.pg-top-actions{ display:none; }

/* ---------- page background ---------- */
.pg-job-single.pg-saas{ background: var(--pg-page); padding-top: 4px; padding-bottom: 24px; border-radius: 12px; }
.pg-job-single.pg-saas > .pg-topbar{ padding-left: 16px; padding-right: 16px; }

/* ---------- card stack ---------- */
.pg-cardstack{
  display:flex;
  flex-direction:column;
  gap: 12px;
  padding: 0 16px;
}

.pg-jobcard{
  position:relative;
  background: var(--pg-surface);
  border: 1px solid var(--pg-line);
  border-radius: 8px;
  padding: 20px;
}

/* ---------- status pill ---------- */
.pg-status{
  position:absolute;
  top: 18px;
  right: 18px;
  display:inline-flex;
  align-items:center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #eaf6ec;
  color: #1e7a34;
  font-size: 12px;
  font-weight: 600;
}
.pg-status-dot{
  width: 6px; height: 6px; border-radius: 50%;
  background: #1e7a34;
  flex: none;
}
.pg-status.is-warn{ background: #fdf3e2; color: #8a5a1f; }
.pg-status.is-warn .pg-status-dot{ background: #8a5a1f; }
.pg-status.is-off{ background: #f3f2ef; color: var(--pg-ink-soft); }
.pg-status.is-off .pg-status-dot{ background: var(--pg-ink-soft); }

@media (max-width: 560px){
  .pg-status{ position: static; display:inline-flex; margin-bottom: 12px; }
}

/* ---------- job card head: logo + title ---------- */
.pg-jobcard-head{
  display:flex;
  gap: 14px;
  align-items:flex-start;
  margin-bottom: 16px;
  padding-right: 90px;
}
@media (max-width: 560px){
  .pg-jobcard-head{ padding-right: 0; }
}

.pg-logo-badge{
  width: 52px; height: 52px;
  border-radius: 8px;
  background: var(--pg-blue);
  color: #fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 700;
  font-size: 16px;
  flex: none;
}

.pg-title{
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--pg-ink);
}

.pg-subline{
  font-size: 14px;
  color: var(--pg-ink-soft);
  display:flex;
  flex-wrap:wrap;
  gap: 6px;
}
.pg-subline-sep{ opacity: .6; }

/* ---------- pills ---------- */
.pg-pills{ display:flex; flex-wrap:wrap; gap: 8px; margin-bottom: 18px; }

.pg-pill{
  background: var(--pg-blue-tint);
  color: var(--pg-blue);
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}

/* ---------- primary pill button ---------- */
.pg-btn-pill{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  background: var(--pg-blue);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.pg-btn-pill:hover{ background: var(--pg-blue-dark); }

.pg-meta-line{
  font-size: 13px;
  color: var(--pg-ink-soft);
  margin-top: 12px;
}
.pg-meta-deadline{ color: var(--pg-warn); }

/* ---------- description / contact card ---------- */
.pg-card-label{
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--pg-ink);
  margin-bottom: 14px;
}

.pg-prose{
  color: var(--pg-ink);
  font-size: 14.5px;
  line-height: 1.65;
}
.pg-prose p{ margin: 0 0 14px; }
.pg-prose h3, .pg-prose h4{ margin: 16px 0 8px; font-weight: 700; }
.pg-muted{ color: var(--pg-ink-soft); }

.pg-flat-actions{
  display:flex;
  gap: 20px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--pg-line);
}

.pg-link-btn{
  display:inline-flex;
  align-items:center;
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
  color: var(--pg-blue);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}
.pg-link-btn:hover{ text-decoration: underline; }

/* ---------- contact rows ---------- */
.pg-contact-row{
  display:grid;
  grid-template-columns: 140px 1fr;
  gap: 8px;
  padding: 10px 0;
  border-top: 1px solid var(--pg-line);
}
.pg-contact-row:first-of-type{ border-top: none; padding-top: 0; }

.pg-mini-k{ font-size: 13px; color: var(--pg-ink-soft); }
.pg-mini-v{ font-size: 14px; color: var(--pg-ink); font-weight: 600; }
.pg-mini-v a{ color: var(--pg-blue); text-decoration: none; }
.pg-mini-v a:hover{ text-decoration: underline; }

@media (max-width: 560px){
  .pg-contact-row{ grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- icons ---------- */
.pg-ico{ width: 16px; height: 16px; display:inline-flex; flex: none; }
.pg-ico svg{
  width: 16px; height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- toast ---------- */
.pg-toast{
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  pointer-events:none;
  background: var(--pg-ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13.5px;
  transition: opacity .15s ease, transform .15s ease;
  z-index: 99999;
}
.pg-toast.is-on{ opacity: 1; transform: translateX(-50%) translateY(0); }

/****************/
/* Formatare automata anunturi pg_job */
.pg-prose h2.pg-section-h {
    font-size: 15px;
    font-weight: 800;
    color: #0f2742;
    margin: 28px 0 12px;
    padding: 10px 16px;
    background: #f0f4f8;
    border-left: 4px solid #0f2742;
    border-radius: 0 8px 8px 0;
    display: flex;
    gap: 8px;
    align-items: baseline;
}
.pg-prose h2.pg-section-h .pg-section-nr {
    color: #0a66c2;
    font-size: 13px;
    flex-shrink: 0;
}
.pg-prose h3.pg-announce-h {
    font-size: 14px;
    font-weight: 800;
    color: #0f2742;
    text-align: center;
    margin: 20px 0 10px;
    letter-spacing: .03em;
}
.pg-prose p.pg-list-alpha {
    margin: 6px 0 6px 20px;
    padding: 6px 12px;
    border-left: 3px solid #dbeafe;
    background: #f8faff;
    border-radius: 0 6px 6px 0;
    display: flex;
    gap: 8px;
}
.pg-prose p.pg-list-alpha .pg-list-nr {
    color: #0a66c2;
    font-weight: 700;
    flex-shrink: 0;
    min-width: 24px;
}

/* Liste numerotate din text inline */
.pg-prose .pg-numbered-list {
    margin: 12px 0 16px 0;
    padding-left: 0;
    list-style: none;
    counter-reset: pg-counter;
}
.pg-prose .pg-numbered-list li {
    counter-increment: pg-counter;
    display: flex;
    gap: 12px;
    padding: 10px 14px;
    margin-bottom: 8px;
    background: #f8faff;
    border-radius: 8px;
    border-left: 3px solid #0a66c2;
    font-size: 14px;
    line-height: 1.6;
}
.pg-prose .pg-numbered-list li::before {
    content: counter(pg-counter) ".";
    color: #0a66c2;
    font-weight: 800;
    flex-shrink: 0;
    min-width: 20px;
}
.pg-prose .pg-list-intro {
    font-weight: 600;
    color: #0f2742;
    margin-bottom: 6px !important;
}
