/* ============================================================
   ZPI 2026 - Foaie de stil globala
   zilelepediatrieiiesene.ro
   Contine sistemul vizual comun pentru toate paginile reformatate:
   hero, sectiuni, carduri, alerte de termen, tabele, grile de
   etichete, grile de membri, scrisori si butoane CTA.
   ============================================================ */

:root{
  --zpi-blue:#1f5f8b;
  --zpi-blue-dark:#134a6e;
  --zpi-teal:#2a9d8f;
  --zpi-bg:#f4f8fa;
  --zpi-card-bg:#ffffff;
  --zpi-text:#1c2b36;
  --zpi-text-muted:#5b6b76;
  --zpi-border:#e2e9ed;
  --zpi-amber:#b5650a;
  --zpi-amber-bg:#fff8ee;
  --zpi-amber-border:#f0c891;
}

*{box-sizing:border-box;}

body{
  margin:0;
  font-family:'Segoe UI', Arial, Helvetica, sans-serif;
  background:var(--zpi-bg);
  color:var(--zpi-text);
  padding:0 0 60px 0;
}

.zpi-page{
  max-width:960px;
  margin:0 auto;
  padding:0 20px;
}

/* ---------- Hero ---------- */
.zpi-hero{
  background:linear-gradient(135deg, var(--zpi-blue-dark), var(--zpi-blue) 60%, var(--zpi-teal));
  color:#fff;
  padding:44px 20px 36px 20px;
  margin-bottom:36px;
}
.zpi-hero-inner{
  max-width:960px;
  margin:0 auto;
}
.zpi-hero-eyebrow{
  font-size:13px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  opacity:.85;
  margin:0 0 10px 0;
}
.zpi-hero h1{
  margin:0 0 10px 0;
  font-size:32px;
  font-weight:700;
}
.zpi-hero p{
  margin:0;
  font-size:15px;
  opacity:.92;
  max-width:640px;
  line-height:1.5;
}

/* ---------- Deadline / alert callout (inline, single) ---------- */
.zpi-deadline{
  background:var(--zpi-amber-bg);
  border:1px solid var(--zpi-amber-border);
  border-left:5px solid var(--zpi-amber);
  border-radius:12px;
  padding:20px 24px;
  display:flex;
  gap:16px;
  align-items:flex-start;
  margin-bottom:32px;
}
.zpi-deadline svg{
  width:26px;
  height:26px;
  stroke:var(--zpi-amber);
  fill:none;
  stroke-width:2;
  flex-shrink:0;
  margin-top:2px;
}
.zpi-deadline-title{
  font-size:16px;
  font-weight:700;
  color:var(--zpi-amber);
  margin:0 0 6px 0;
  text-transform:uppercase;
  letter-spacing:.03em;
}
.zpi-deadline-date{
  font-size:22px;
  font-weight:700;
  color:var(--zpi-blue-dark);
  margin:0 0 6px 0;
}
.zpi-deadline p.zpi-deadline-note{
  margin:0;
  font-size:14px;
  color:var(--zpi-text-muted);
  line-height:1.5;
}
.zpi-deadline-note a{
  color:var(--zpi-blue);
  font-weight:600;
}

/* ---------- Deadline / alert grid (multiple, e.g. homepage) ---------- */
.zpi-alerts-section{
  max-width:960px;
  margin:0 auto 40px auto;
}
.zpi-alert-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:20px;
}
.zpi-alert-card{
  background:var(--zpi-amber-bg);
  border:1px solid var(--zpi-amber-border);
  border-left:4px solid var(--zpi-amber);
  border-radius:12px;
  padding:20px 22px;
  display:flex;
  flex-direction:column;
  text-decoration:none;
  color:inherit;
  transition:transform .18s ease, box-shadow .18s ease;
}
.zpi-alert-card:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 20px rgba(181,101,10,0.14);
}
.zpi-alert-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  align-self:flex-start;
  background:var(--zpi-amber);
  color:#fff;
  font-size:11.5px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  padding:4px 10px;
  border-radius:999px;
  margin-bottom:12px;
}
.zpi-alert-badge svg{
  width:12px;
  height:12px;
  stroke:#fff;
  fill:none;
  stroke-width:2.2;
}
.zpi-alert-title{
  font-size:16.5px;
  font-weight:700;
  margin:0 0 6px 0;
  color:var(--zpi-blue-dark);
}
.zpi-alert-desc{
  font-size:14.5px;
  line-height:1.5;
  color:var(--zpi-text-muted);
  margin:0 0 14px 0;
  flex-grow:1;
}
.zpi-alert-link{
  font-size:14px;
  font-weight:600;
  color:var(--zpi-amber);
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.zpi-alert-link svg{
  width:14px;
  height:14px;
  stroke:var(--zpi-amber);
  fill:none;
  stroke-width:2;
  transition:transform .18s ease;
}
.zpi-alert-card:hover .zpi-alert-link svg{
  transform:translateX(3px);
}

/* ---------- Section cards ---------- */
.zpi-section{
  background:var(--zpi-card-bg);
  border:1px solid var(--zpi-border);
  border-radius:14px;
  padding:28px 30px;
  margin-bottom:24px;
  box-shadow:0 1px 3px rgba(19,74,110,0.05);
}
.zpi-section h2{
  font-size:20px;
  font-weight:700;
  color:var(--zpi-blue-dark);
  margin:0 0 16px 0;
  display:flex;
  align-items:center;
  gap:10px;
}
.zpi-section h2 svg{
  width:20px;
  height:20px;
  stroke:var(--zpi-teal);
  fill:none;
  stroke-width:2;
}
.zpi-section-sub{
  font-size:14px;
  color:var(--zpi-text-muted);
  margin:0 0 22px 0;
}
.zpi-section p{
  font-size:14.5px;
  line-height:1.65;
  color:var(--zpi-text);
  margin:0 0 14px 0;
}
.zpi-section p:last-child{
  margin-bottom:0;
}
.zpi-section strong{
  color:var(--zpi-blue-dark);
}

/* ---------- Quick-fact cards (e.g. perioada / locatie / creditare) ---------- */
.zpi-fact-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:16px;
}
.zpi-fact-card{
  background:#f6fafb;
  border:1px solid var(--zpi-border);
  border-radius:12px;
  padding:20px 20px;
  display:flex;
  gap:14px;
  align-items:flex-start;
}
.zpi-fact-icon{
  width:40px;
  height:40px;
  border-radius:10px;
  background:linear-gradient(135deg, var(--zpi-blue), var(--zpi-teal));
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.zpi-fact-icon svg{
  width:20px;
  height:20px;
  stroke:#fff;
  fill:none;
  stroke-width:1.8;
}
.zpi-fact-label{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:var(--zpi-text-muted);
  margin:0 0 4px 0;
  font-weight:700;
}
.zpi-fact-value{
  font-size:15px;
  font-weight:700;
  color:var(--zpi-blue-dark);
  margin:0 0 2px 0;
  line-height:1.4;
}
.zpi-fact-sub{
  font-size:13px;
  color:var(--zpi-text-muted);
  margin:0;
}

/* ---------- Tag grid (e.g. tematica) ---------- */
.zpi-tag-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(220px, 1fr));
  gap:10px;
}
.zpi-tag{
  background:#eef6f5;
  border:1px solid #d3e9e6;
  color:var(--zpi-blue-dark);
  font-size:13.5px;
  font-weight:600;
  padding:10px 14px;
  border-radius:9px;
}

/* ---------- Requirement / bullet list ---------- */
.zpi-req-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.zpi-req-list li{
  display:flex;
  gap:10px;
  font-size:14.5px;
  line-height:1.6;
  color:var(--zpi-text);
}
.zpi-req-list li::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--zpi-teal);
  margin-top:8px;
  flex-shrink:0;
}

/* ---------- Sub-block (highlighted note inside a section) ---------- */
.zpi-subblock{
  background:#f6fafb;
  border:1px solid var(--zpi-border);
  border-radius:10px;
  padding:16px 18px;
  margin-top:16px;
}
.zpi-subblock-label{
  font-size:12.5px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:var(--zpi-teal);
  margin:0 0 6px 0;
}
.zpi-subblock p{
  margin:0 0 8px 0;
  font-size:14px;
  color:var(--zpi-text-muted);
}
.zpi-subblock p:last-child{margin-bottom:0;}

/* ---------- Monospace example block ---------- */
.zpi-example{
  font-family:'Consolas', 'Courier New', monospace;
  background:#eef4f6;
  border:1px solid var(--zpi-border);
  border-radius:8px;
  padding:10px 14px;
  font-size:13px;
  color:var(--zpi-blue-dark);
  margin:6px 0;
  line-height:1.5;
}

/* ---------- Data table (e.g. limite pagini/cuvinte) ---------- */
.zpi-limits-table{
  width:100%;
  border-collapse:collapse;
  font-size:14px;
}
.zpi-limits-table th{
  text-align:left;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:var(--zpi-text-muted);
  padding:0 0 10px 0;
  border-bottom:2px solid var(--zpi-border);
}
.zpi-limits-table td{
  padding:12px 0;
  border-bottom:1px solid var(--zpi-border);
  vertical-align:top;
}
.zpi-limits-table tr:last-child td{
  border-bottom:none;
}
.zpi-limits-table td.zpi-limit-type{
  color:var(--zpi-text);
  padding-right:16px;
}
.zpi-limits-table td.zpi-limit-value{
  font-weight:700;
  color:var(--zpi-teal);
  white-space:nowrap;
}

/* ---------- Logo strip ---------- */
.zpi-logo-strip{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:24px;
  padding:20px 0 24px 0;
  margin-bottom:22px;
  border-bottom:1px solid var(--zpi-border);
}
.zpi-logo-strip img{
  height:44px;
  max-width:130px;
  object-fit:contain;
  filter:grayscale(15%);
}

/* ---------- Institution / plain list ---------- */
.zpi-inst-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.zpi-inst-list li{
  display:flex;
  gap:12px;
  align-items:flex-start;
  font-size:14.5px;
  line-height:1.5;
  color:var(--zpi-text);
}
.zpi-inst-list li::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:2px;
  background:var(--zpi-teal);
  margin-top:6px;
  flex-shrink:0;
}

/* ---------- Member grid (e.g. comitet organizare) ---------- */
.zpi-member-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(240px, 1fr));
  gap:16px;
}
.zpi-member-card{
  display:flex;
  align-items:center;
  gap:14px;
  background:#f6fafb;
  border:1px solid var(--zpi-border);
  border-radius:12px;
  padding:14px 16px;
}
.zpi-member-avatar{
  width:44px;
  height:44px;
  border-radius:50%;
  background:linear-gradient(135deg, var(--zpi-blue), var(--zpi-teal));
  color:#fff;
  font-size:14px;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.zpi-member-name{
  font-size:14.5px;
  font-weight:700;
  color:var(--zpi-blue-dark);
  margin:0 0 2px 0;
  line-height:1.3;
}
.zpi-member-role{
  font-size:12.5px;
  color:var(--zpi-text-muted);
  margin:0;
}

/* ---------- Letter (e.g. welcome / invitatie) ---------- */
.zpi-letter{
  background:var(--zpi-card-bg);
  border:1px solid var(--zpi-border);
  border-radius:16px;
  padding:36px 40px;
  box-shadow:0 1px 3px rgba(19,74,110,0.05);
}
.zpi-letter-author{
  display:flex;
  align-items:center;
  gap:18px;
  margin-bottom:28px;
  padding-bottom:24px;
  border-bottom:1px solid var(--zpi-border);
}
.zpi-letter-photo{
  width:76px;
  height:76px;
  border-radius:50%;
  object-fit:cover;
  border:3px solid #eef6f5;
  flex-shrink:0;
}
.zpi-letter-name{
  font-size:18px;
  font-weight:700;
  color:var(--zpi-blue-dark);
  margin:0 0 4px 0;
}
.zpi-letter-role{
  font-size:13.5px;
  color:var(--zpi-teal);
  font-weight:600;
  margin:0;
}
.zpi-letter-role + .zpi-letter-role{
  color:var(--zpi-text-muted);
  font-weight:500;
}
.zpi-letter-body p{
  font-size:15px;
  line-height:1.8;
  color:var(--zpi-text);
  margin:0 0 18px 0;
}
.zpi-letter-body p:last-child{
  margin-bottom:0;
}
.zpi-letter-body strong{
  color:var(--zpi-blue-dark);
}
.zpi-pull-quote{
  font-size:19px;
  font-weight:600;
  color:var(--zpi-blue-dark);
  line-height:1.5;
  border-left:4px solid var(--zpi-teal);
  padding:4px 0 4px 20px;
  margin:24px 0;
  font-style:italic;
}

/* ---------- Home cards grid (e.g. "Explorati conferinta") ---------- */
.zpi-cards-section{
  max-width:1180px;
  margin:0 auto;
}
.zpi-cards-heading{
  text-align:center;
  margin-bottom:8px;
  font-size:28px;
  font-weight:700;
  color:var(--zpi-blue-dark);
}
.zpi-cards-subheading{
  text-align:center;
  margin-bottom:36px;
  color:var(--zpi-text-muted);
  font-size:16px;
}
.zpi-cards-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:24px;
}
.zpi-card{
  background:var(--zpi-card-bg);
  border:1px solid var(--zpi-border);
  border-radius:14px;
  padding:26px 24px;
  display:flex;
  flex-direction:column;
  text-decoration:none;
  color:inherit;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  box-shadow:0 1px 3px rgba(19,74,110,0.06);
}
.zpi-card:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 24px rgba(19,74,110,0.12);
  border-color:var(--zpi-teal);
}
.zpi-card-icon{
  width:44px;
  height:44px;
  border-radius:10px;
  background:linear-gradient(135deg, var(--zpi-blue), var(--zpi-teal));
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:16px;
  flex-shrink:0;
}
.zpi-card-icon svg{
  width:22px;
  height:22px;
  stroke:#fff;
  fill:none;
  stroke-width:1.8;
}
.zpi-card-title{
  font-size:18px;
  font-weight:600;
  margin:0 0 8px 0;
  color:var(--zpi-blue-dark);
}
.zpi-card-desc{
  font-size:14.5px;
  line-height:1.5;
  color:var(--zpi-text-muted);
  margin:0 0 18px 0;
  flex-grow:1;
}
.zpi-card-link{
  font-size:14px;
  font-weight:600;
  color:var(--zpi-teal);
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.zpi-card-link svg{
  width:14px;
  height:14px;
  stroke:var(--zpi-teal);
  fill:none;
  stroke-width:2;
  transition:transform .18s ease;
}
.zpi-card:hover .zpi-card-link svg{
  transform:translateX(3px);
}

/* ---------- Final notice banner ---------- */
.zpi-final-notice{
  background:var(--zpi-blue-dark);
  color:#fff;
  border-radius:12px;
  padding:22px 26px;
  text-align:center;
  font-size:15px;
  font-weight:600;
  line-height:1.6;
}
.zpi-final-notice span{
  color:#ffd79a;
}
.zpi-final-notice a{
  color:#ffd79a;
}

/* ---------- CTA button ---------- */
.zpi-cta{
  text-align:center;
  margin-top:32px;
}
.zpi-cta a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:var(--zpi-teal);
  color:#fff;
  text-decoration:none;
  font-weight:700;
  font-size:15px;
  padding:14px 28px;
  border-radius:999px;
  transition:background .18s ease, transform .18s ease;
}
.zpi-cta a:hover{
  background:var(--zpi-blue);
  transform:translateY(-2px);
}
.zpi-cta a svg{
  width:16px;
  height:16px;
  stroke:#fff;
  fill:none;
  stroke-width:2;
}
