/* ============================================================
   CIV PRO v1.0.0 — Temă pentru primării și instituții publice
   Rescris complet — fără duplicate, fără conflicte
   ============================================================ */

/* ── Variabile ─────────────────────────────────────────────── */
:root {
  --cp-blue:       #1a3a6b;
  --cp-blue-light: #2452a0;
  --cp-blue-pale:  #e8eef8;
  --cp-gold:       #c8941a;
  --cp-gold-light: #f5e6c0;
  --cp-red:        #b91c1c;
  --cp-green:      #15803d;
  --cp-text:       #1a1a2e;
  --cp-muted:      #4a5568;
  --cp-border:     #d1d9e6;
  --cp-bg:         #f7f8fc;
  --cp-white:      #ffffff;
  --cp-font-body:  'Inter', Arial, sans-serif;
  --cp-font-head:  'Playfair Display', Georgia, serif;
  --cp-radius:     8px;
  --cp-radius-lg:  14px;
  --cp-shadow:     0 4px 16px rgba(26,58,107,.10);
  --cp-shadow-lg:  0 12px 32px rgba(26,58,107,.14);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--cp-font-body); font-size: 16px; color: var(--cp-text); background: var(--cp-white); line-height: 1.65; }
a { color: var(--cp-blue-light); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
h1,h2,h3,h4,h5,h6 { font-family: var(--cp-font-head); font-weight: 700; line-height: 1.15; color: var(--cp-blue); margin-top: 0; }
.container { width: min(1380px, calc(100% - 20px)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 9999; background: #fff; padding: 10px 14px; border-radius: 6px; }
:focus-visible { outline: 3px solid var(--cp-gold); outline-offset: 3px; border-radius: 3px; }
html { scroll-behavior: smooth; }

/* ══════════════════════════════════════════════════════════════
   TOPBAR — dată/oră + tricolor + căutare
   ══════════════════════════════════════════════════════════════ */
.civpro-topbar {
  background: #fff;
  border-bottom: 2px solid var(--cp-border);
  padding: 8px 0;
}
.civpro-topbar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}
#civpro-datetime {
  font-size: 13px;
  font-weight: 700;
  color: var(--cp-blue);
  white-space: nowrap;
}
.civpro-tricolor-bar {
  display: flex;
  flex: 1;
  height: 20px;
  border-radius: 3px;
  overflow: hidden;
  margin: 0 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,.15);
}
.civpro-tricolor-blue   { flex: 1; background: #002B7F; }
.civpro-tricolor-yellow { flex: 1; background: #FCD116; }
.civpro-tricolor-red    { flex: 1; background: #CE1126; }
.civpro-header-search {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--cp-border);
  border-radius: 999px;
  overflow: hidden;
  background: var(--cp-bg);
  flex-shrink: 0;
}
.civpro-header-search input { border: 0; background: transparent; padding: 8px 14px; font-size: 14px; width: 220px; outline: 0; color: var(--cp-text); }
.civpro-header-search button { border: 0; background: var(--cp-blue); color: #fff; padding: 8px 14px; cursor: pointer; display: flex; align-items: center; }
.civpro-header-search .civpro-icon { width: 16px; height: 16px; }

/* ══════════════════════════════════════════════════════════════
   BRANDBAR — steme + localitate + contact
   ══════════════════════════════════════════════════════════════ */
.civpro-header {
  background: var(--cp-white);
  position: relative;
  z-index: 100;
}
.civpro-brandbar {
  background: #fff;
  border-bottom: 4px solid var(--cp-gold);
  padding: 16px 0;
  box-shadow: 0 2px 8px rgba(26,58,107,.06);
}
.civpro-brandbar-inner {
  display: grid;
  grid-template-columns: 110px 1fr 110px;
  align-items: center;
  gap: 20px;
}
.civpro-coat-romania-wrap, .civpro-coat-local-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
}
.civpro-coat-romania {
  width: 120px; height: 120px;
  max-width: 120px; max-height: 120px;
  object-fit: contain;
}
.civpro-coat-local {
  max-width: 120px; max-height: 120px;
  width: auto; height: auto;
  object-fit: contain;
}
.civpro-brand-center { text-align: center; min-width: 0; }
.civpro-brand-link { display: block; text-decoration: none !important; margin-bottom: 8px; }
.civpro-brand-locality {
  display: block;
  font-family: var(--cp-font-head);
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 900;
  color: var(--cp-blue);
  letter-spacing: .05em;
  text-transform: uppercase;
  line-height: 1;
}
.civpro-brand-subtitle {
  display: block;
  font-family: var(--cp-font-head);
  font-size: clamp(13px, 2vw, 22px);
  font-weight: 700;
  color: var(--cp-green);
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-top: 5px;
}
.civpro-brand-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 600;
  border-top: 1px solid var(--cp-border);
  padding-top: 8px;
  margin-top: 6px;
}
.civpro-brand-contact a {
  color: var(--cp-blue);
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}
.civpro-brand-contact a:hover { color: var(--cp-blue-light); }
.civpro-brand-contact span { display: flex; align-items: center; gap: 5px; color: var(--cp-blue); }
.civpro-brand-contact .civpro-icon { width: 14px; height: 14px; color: var(--cp-gold); }

/* Banner anunț */
.civpro-announcement-bar {
  background: var(--cp-gold);
  color: var(--cp-blue);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  padding: 6px 0;
}
.civpro-announcement-bar a { color: var(--cp-blue); text-decoration: underline; }

/* ══════════════════════════════════════════════════════════════
   MENIU PRINCIPAL
   Soluție un singur rând: font fluid clamp() + flex distribuție
   ══════════════════════════════════════════════════════════════ */
.civpro-mainnav {
  background: var(--cp-blue);
  position: sticky;
  top: 0;
  z-index: 99;
  box-shadow: 0 4px 12px rgba(26,58,107,.18);
}
.civpro-nav-inner {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 10px;
}
/* Iconița casă */
.civpro-nav-home {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cp-gold);
  color: #fff;
  padding: 0 14px;
  min-height: 46px;
  flex-shrink: 0;
  text-decoration: none !important;
  transition: background .18s;
}
.civpro-nav-home:hover { background: #a67614; }
.civpro-nav-home svg { width: 20px; height: 20px; fill: #fff; display: block; }

/* Meniu */
.civpro-primary-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}
.civpro-primary-menu > li {
  flex: 1;
  display: flex;
  align-items: stretch;
  position: relative;
}
.civpro-primary-menu > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-size: clamp(10px, 1vw, 12px);
  font-weight: 700;
  padding: 0 clamp(4px, 0.8vw, 12px);
  width: 100%;
  height: 44px;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1;
  transition: background .18s;
  text-decoration: none !important;
  white-space: nowrap;
}
.civpro-primary-menu > li > a:hover,
.civpro-primary-menu > .current-menu-item > a,
.civpro-primary-menu > .current-menu-ancestor > a {
  background: var(--cp-blue-light);
}
/* Separator vertical între elemente */
.civpro-primary-menu > li + li > a {
  border-left: 1px solid rgba(255,255,255,.12);
}
/* Săgeată submeniu */
.civpro-primary-menu > li.menu-item-has-children > a::after {
  content: ' ▾';
  font-size: 9px;
  opacity: .7;
  margin-left: 2px;
}

/* Submeniu */
.civpro-primary-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--cp-white);
  border: 1px solid var(--cp-border);
  border-top: 3px solid var(--cp-gold);
  border-radius: 0 0 var(--cp-radius) var(--cp-radius);
  box-shadow: var(--cp-shadow-lg);
  display: none;
  list-style: none;
  margin: 0;
  padding: 4px 0;
  z-index: 200;
}
.civpro-primary-menu li:hover > .sub-menu { display: block; }
.civpro-primary-menu .sub-menu li { position: relative; }
.civpro-primary-menu .sub-menu a {
  display: block;
  color: var(--cp-text);
  font-size: 13px;
  padding: 9px 16px;
  transition: background .15s;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none !important;
}
.civpro-primary-menu .sub-menu a:hover { background: var(--cp-blue-pale); color: var(--cp-blue); }
/* Sub-submeniu (nivel 3) */
.civpro-primary-menu .sub-menu .sub-menu {
  top: 0;
  left: 100%;
  border-top: 3px solid var(--cp-gold);
}

/* Buton mobil */
.civpro-menu-toggle {
  display: none;
  background: var(--cp-blue-light);
  color: #fff;
  border: 0;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  align-items: center;
  gap: 8px;
}

/* ══════════════════════════════════════════════════════════════
   TICKER ȘTIRI
   ══════════════════════════════════════════════════════════════ */
.civpro-breaking {
  background: var(--cp-white);
  border-bottom: 1px solid var(--cp-border);
  position: relative;
  z-index: 10;
}
.civpro-breaking .container {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}
.civpro-breaking-label {
  background: var(--cp-red);
  color: #fff;
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  z-index: 2;
  position: relative;
}
.civpro-ticker-wrap {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
}
.civpro-ticker {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  font-size: 13px;
  animation: civpro-ticker-scroll 90s linear infinite;
  width: max-content;
}
.civpro-ticker:hover { animation-play-state: paused; }
@keyframes civpro-ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.civpro-ticker a { color: var(--cp-text); font-weight: 600; flex-shrink: 0; }
.civpro-ticker a::before { content: '•'; color: var(--cp-gold); margin-right: 6px; }

/* ══════════════════════════════════════════════════════════════
   LAYOUT PAGINI INTERIOARE — conținut + sidebar
   ══════════════════════════════════════════════════════════════ */
.civpro-page-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  padding: 28px 0 48px;
  align-items: start;
}
.civpro-article-main { min-width: 0; }

/* Breadcrumbs */
.civpro-breadcrumbs { font-size: 13px; color: var(--cp-muted); margin-bottom: 20px; }
.civpro-breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.civpro-breadcrumbs li::after { content: '›'; color: var(--cp-border); margin-left: 6px; }
.civpro-breadcrumbs li:last-child::after { content: ''; }
.civpro-breadcrumbs a { color: var(--cp-blue-light); }

/* ══════════════════════════════════════════════════════════════
   SIDEBAR — Avizier + Monitor Oficial + widget-uri
   ══════════════════════════════════════════════════════════════ */
.civpro-sidebar { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 60px; }

.civpro-sidebar-widget {
  background: var(--cp-white);
  border: 1px solid var(--cp-border);
  border-radius: var(--cp-radius-lg);
  overflow: hidden;
  box-shadow: var(--cp-shadow);
}
.civpro-sidebar-widget-head {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--cp-blue);
  color: #fff;
  padding: 11px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-bottom: 3px solid var(--cp-gold);
}
.civpro-sidebar-widget-head .civpro-icon { width: 15px; height: 15px; flex-shrink: 0; }
.civpro-avizier-widget .civpro-sidebar-widget-head { background: var(--cp-red); border-bottom-color: #fca5a5; }
.civpro-sidebar-widget-body { padding: 10px 14px; }

.civpro-avizier-list { list-style: none; margin: 0; padding: 0; }
.civpro-avizier-item { padding: 8px 0; border-bottom: 1px solid var(--cp-border); display: flex; flex-direction: column; gap: 2px; }
.civpro-avizier-item:last-child { border-bottom: 0; }
.civpro-avizier-item a { font-size: 13px; font-weight: 600; color: var(--cp-blue); line-height: 1.3; text-decoration: none; }
.civpro-avizier-item a:hover { color: var(--cp-blue-light); text-decoration: underline; }
.civpro-avizier-date { font-size: 11px; color: var(--cp-muted); }
.civpro-sidebar-empty { font-size: 13px; color: var(--cp-muted); padding: 8px 0; margin: 0; }

.civpro-sidebar-nav { list-style: none; margin: 0; padding: 4px 0; }
.civpro-sidebar-nav li { border-bottom: 1px solid var(--cp-border); }
.civpro-sidebar-nav li:last-child { border-bottom: 0; }
.civpro-sidebar-nav > li > a { display: flex; align-items: center; gap: 6px; padding: 9px 14px; font-size: 13px; font-weight: 600; color: var(--cp-text); transition: background .15s; text-decoration: none; }
.civpro-sidebar-nav > li > a::before { content: '›'; color: var(--cp-gold); font-weight: 900; }
.civpro-sidebar-nav > li > a:hover { background: var(--cp-blue-pale); color: var(--cp-blue); }
.civpro-sidebar-nav > li.current-menu-item > a { color: var(--cp-blue); background: var(--cp-blue-pale); }
.civpro-sidebar-nav .sub-menu { list-style: none; margin: 0; padding: 0; background: var(--cp-bg); border-top: 1px solid var(--cp-border); }
.civpro-sidebar-nav .sub-menu li { border-bottom: 1px solid var(--cp-border); }
.civpro-sidebar-nav .sub-menu li:last-child { border-bottom: 0; }
.civpro-sidebar-nav .sub-menu a { display: block; padding: 7px 14px 7px 26px; font-size: 12px; color: var(--cp-muted); text-decoration: none; transition: color .15s; }
.civpro-sidebar-nav .sub-menu a::before { content: '–'; margin-right: 5px; color: var(--cp-gold); }
.civpro-sidebar-nav .sub-menu a:hover { color: var(--cp-blue); }

/* ══════════════════════════════════════════════════════════════
   QUICK LINKS CETĂȚENI (homepage)
   ══════════════════════════════════════════════════════════════ */
.civpro-quick-links { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.civpro-quick-link {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 18px 12px;
  background: var(--cp-white); border: 1px solid var(--cp-border); border-top: 3px solid var(--cp-gold);
  border-radius: var(--cp-radius-lg); text-align: center;
  color: var(--cp-blue); font-weight: 700; font-size: 13px;
  transition: background .18s, box-shadow .18s; text-decoration: none !important;
}
.civpro-quick-link:hover { background: var(--cp-blue-pale); box-shadow: var(--cp-shadow); }
.civpro-quick-link .civpro-icon { width: 26px; height: 26px; }

/* ══════════════════════════════════════════════════════════════
   HOMEPAGE PORTAL
   ══════════════════════════════════════════════════════════════ */
.civpro-home-portal { padding: 24px 0 48px; }
.civpro-portal-grid { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }
.civpro-portal-main { min-width: 0; }
.civpro-portal-aside { position: sticky; top: 60px; }

/* Hero */
.civpro-hero { background: linear-gradient(135deg, var(--cp-blue) 0%, var(--cp-blue-light) 100%); border-radius: var(--cp-radius-lg); padding: 32px; margin-bottom: 24px; }
.civpro-hero-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
.civpro-hero-main { position: relative; border-radius: var(--cp-radius-lg); overflow: hidden; min-height: 360px; background: rgba(255,255,255,.08); }
.civpro-hero-main img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.civpro-hero-main::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 30%,rgba(5,20,50,.82)); }
.civpro-hero-overlay { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 20px; }
.civpro-hero-overlay h1 { font-size: clamp(14px,1.4vw,18px); color: #fff; margin-bottom: 6px; line-height: 1.25; }
.civpro-hero-overlay p { color: #dbeafe; font-size: 14px; margin: 0; }
.civpro-hero-side { display: flex; flex-direction: column; gap: 12px; }

/* Section */
.civpro-section { padding: 32px 0; }
.civpro-section-soft { background: var(--cp-bg); border-radius: var(--cp-radius-lg); padding: 20px; margin-bottom: 20px; }
.civpro-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 3px solid var(--cp-gold); }
.civpro-section-head h2 { font-size: 20px; margin: 0; color: var(--cp-blue); display: flex; align-items: center; gap: 8px; }
.civpro-section-head h2 .civpro-icon { width: 20px; height: 20px; }
.civpro-section-head a { color: var(--cp-blue-light); font-size: 13px; font-weight: 600; white-space: nowrap; }
.civpro-cards-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }

/* ══════════════════════════════════════════════════════════════
   CARDURI ȘTIRI
   ══════════════════════════════════════════════════════════════ */
.civpro-card { background: var(--cp-white); border: 1px solid var(--cp-border); border-radius: var(--cp-radius-lg); overflow: hidden; box-shadow: 0 2px 8px rgba(26,58,107,.07); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.civpro-card:hover { transform: translateY(-2px); box-shadow: var(--cp-shadow-lg); }
.civpro-card-thumb { height: 180px; background: var(--cp-blue-pale); display: block; overflow: hidden; flex-shrink: 0; }
.civpro-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.civpro-card:hover .civpro-card-thumb img { transform: scale(1.04); }
.civpro-placeholder-thumb { height: 100%; display: grid; place-items: center; opacity: .15; background: linear-gradient(135deg, var(--cp-blue-pale), #fff); }
.civpro-placeholder-thumb .civpro-icon { width: 40px; height: 40px; }
.civpro-card-body { padding: 14px; display: flex; flex-direction: column; flex: 1; }
.civpro-card-body h3 { font-size: 16px; margin: 6px 0 8px; line-height: 1.25; }
.civpro-card-body h3 a { color: var(--cp-blue); }
.civpro-card-body h3 a:hover { color: var(--cp-blue-light); text-decoration: none; }
.civpro-card-body p { color: var(--cp-muted); font-size: 13px; margin: 0 0 10px; line-height: 1.5; }
.civpro-card-meta { font-size: 12px; color: var(--cp-muted); margin-top: auto; }
.civpro-badge { display: inline-block; background: var(--cp-blue-pale); color: var(--cp-blue); border-radius: 4px; padding: 2px 7px; font-size: 11px; font-weight: 700; text-transform: uppercase; text-decoration: none !important; }
.civpro-badge:hover { background: var(--cp-blue); color: #fff; }

/* ══════════════════════════════════════════════════════════════
   CARDURI DOCUMENTE
   ══════════════════════════════════════════════════════════════ */
.civpro-doc-card { background: var(--cp-white); border: 1px solid var(--cp-border); border-radius: var(--cp-radius); border-left: 4px solid var(--cp-blue); padding: 14px 16px; transition: box-shadow .2s, border-color .2s; }
.civpro-doc-card:hover { box-shadow: var(--cp-shadow); border-left-color: var(--cp-gold); }
.civpro-doc-card.dispozitie { border-left-color: var(--cp-gold); }
.civpro-doc-card.achizitie  { border-left-color: var(--cp-green); }
.civpro-doc-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.civpro-doc-type { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--cp-blue); background: var(--cp-blue-pale); border-radius: 3px; padding: 2px 6px; }
.civpro-doc-nr { font-size: 12px; font-weight: 700; color: var(--cp-muted); }
.civpro-doc-meta time { font-size: 12px; color: var(--cp-muted); margin-left: auto; }
.civpro-doc-title { font-size: 14px; margin: 0 0 6px; line-height: 1.3; }
.civpro-doc-title a { color: var(--cp-text); }
.civpro-doc-title a:hover { color: var(--cp-blue); }
.civpro-doc-excerpt { font-size: 12px; color: var(--cp-muted); margin: 0 0 10px; }
.civpro-doc-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.civpro-docs-list { display: flex; flex-direction: column; gap: 8px; }

/* ══════════════════════════════════════════════════════════════
   BUTOANE
   ══════════════════════════════════════════════════════════════ */
.civpro-btn { display: inline-flex; align-items: center; gap: 5px; padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; cursor: pointer; border: 2px solid transparent; transition: background .18s, color .18s; text-decoration: none !important; }
.civpro-btn .civpro-icon { width: 14px; height: 14px; flex-shrink: 0; }
.civpro-btn:not(.civpro-btn-outline):not(.civpro-btn-ghost) { background: var(--cp-blue); color: #fff; }
.civpro-btn:not(.civpro-btn-outline):not(.civpro-btn-ghost):hover { background: var(--cp-blue-light); }
.civpro-btn.civpro-btn-outline { background: transparent; color: var(--cp-blue); border-color: var(--cp-blue); }
.civpro-btn.civpro-btn-outline:hover { background: var(--cp-blue-pale); }
.civpro-btn.civpro-btn-gold { background: var(--cp-gold); color: #fff; }
.civpro-btn.civpro-btn-sm { padding: 5px 11px; font-size: 11px; }

/* ══════════════════════════════════════════════════════════════
   CONTACT WIDGET HOMEPAGE (sidebar dreapta)
   ══════════════════════════════════════════════════════════════ */
.civpro-contact-widget { background: var(--cp-white); border: 1px solid var(--cp-border); border-radius: var(--cp-radius-lg); overflow: hidden; box-shadow: var(--cp-shadow); margin-bottom: 16px; }
.civpro-contact-widget-head { background: var(--cp-blue); color: #fff; padding: 11px 16px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; border-bottom: 3px solid var(--cp-gold); }
.civpro-contact-widget-body { padding: 12px 14px; }
.civpro-contact-item { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 10px; font-size: 13px; }
.civpro-contact-item:last-child { margin-bottom: 0; }
.civpro-contact-item .civpro-icon { width: 14px; height: 14px; flex-shrink: 0; color: var(--cp-gold); margin-top: 2px; }
.civpro-contact-item a { color: var(--cp-blue); font-weight: 600; }
.civpro-contact-item strong { display: block; color: var(--cp-muted); font-size: 10px; text-transform: uppercase; }

/* ══════════════════════════════════════════════════════════════
   ARTICOL SINGLE / PAGINI INTERIOARE
   ══════════════════════════════════════════════════════════════ */
.civpro-article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 28px; padding: 28px 0 48px; align-items: start; }
.civpro-article-main { min-width: 0; }
.civpro-article-header h1 { font-size: clamp(18px,2vw,26px); line-height: 1.25; margin: 0 0 12px; }
.civpro-article-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--cp-muted); margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--cp-border); }
.civpro-article-thumb { margin: 0 0 20px; }
.civpro-article-thumb img { border-radius: var(--cp-radius-lg); }

.civpro-entry-content { font-size: 16px; line-height: 1.78; }
.civpro-entry-content h2 { font-size: 18px; margin: 20px 0 8px; border-bottom: 1px solid var(--cp-gold); padding-bottom: 5px; }
.civpro-entry-content h3 { font-size: 16px; margin: 16px 0 6px; }
.civpro-entry-content p { margin: 0 0 16px; }
.civpro-entry-content a { color: var(--cp-blue-light); text-decoration: underline; text-underline-offset: 3px; }
.civpro-entry-content ul, .civpro-entry-content ol { padding-left: 22px; margin-bottom: 16px; }
.civpro-entry-content li { margin-bottom: 5px; }
.civpro-entry-content table { border-collapse: collapse; width: 100%; margin-bottom: 18px; font-size: 14px; }
.civpro-entry-content th, .civpro-entry-content td { border: 1px solid var(--cp-border); padding: 9px 12px; text-align: left; }
.civpro-entry-content th { background: var(--cp-blue-pale); color: var(--cp-blue); font-weight: 700; }
.civpro-entry-content tr:nth-child(even) td { background: var(--cp-bg); }
.civpro-entry-content::after { content: ''; display: table; clear: both; }
.civpro-entry-content .alignleft, .civpro-entry-content img.alignleft { float: left !important; margin: .3rem 1.2rem .8rem 0 !important; max-width: min(40%,320px) !important; }
.civpro-entry-content .alignright, .civpro-entry-content img.alignright { float: right !important; margin: .3rem 0 .8rem 1.2rem !important; max-width: min(40%,320px) !important; }
.civpro-entry-content .aligncenter, .civpro-entry-content img.aligncenter { float: none !important; clear: both !important; display: block !important; margin: .8rem auto !important; }

/* ══════════════════════════════════════════════════════════════
   MONITOR OFICIAL / PAGINI SPECIALE
   ══════════════════════════════════════════════════════════════ */
.civpro-monitor-grid { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; padding: 24px 0 48px; }
.civpro-monitor-content { min-width: 0; }
.civpro-monitor-sidebar { background: var(--cp-white); border: 1px solid var(--cp-border); border-radius: var(--cp-radius-lg); overflow: hidden; box-shadow: var(--cp-shadow); position: sticky; top: 60px; }
.civpro-monitor-sidebar-head { background: var(--cp-blue); color: #fff; padding: 13px 16px; font-family: var(--cp-font-head); font-size: 15px; font-weight: 700; border-bottom: 3px solid var(--cp-gold); }
.civpro-monitor-nav { list-style: none; margin: 0; padding: 4px 0; }
.civpro-monitor-nav li { border-bottom: 1px solid var(--cp-border); }
.civpro-monitor-nav li:last-child { border-bottom: 0; }
.civpro-monitor-nav a { display: flex; align-items: center; gap: 6px; padding: 10px 16px; color: var(--cp-text); font-size: 13px; font-weight: 600; transition: background .15s; text-decoration: none; }
.civpro-monitor-nav a::before { content: '›'; color: var(--cp-gold); font-weight: 900; }
.civpro-monitor-nav a:hover { background: var(--cp-blue-pale); color: var(--cp-blue); }
.civpro-monitor-section { margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--cp-border); }
.civpro-monitor-section:last-child { border-bottom: 0; }
.civpro-monitor-section-title { display: flex; align-items: center; gap: 10px; font-size: 20px; color: var(--cp-blue); margin: 0 0 16px; padding-bottom: 8px; border-bottom: 3px solid var(--cp-gold); }
.civpro-monitor-section-title .civpro-icon { width: 20px; height: 20px; }
.civpro-accordion { display: flex; flex-direction: column; gap: 4px; }
.civpro-accordion-item { border: 1px solid var(--cp-border); border-radius: var(--cp-radius); overflow: hidden; }
.civpro-accordion-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; background: var(--cp-bg); border: 0; text-align: left; font-size: 14px; font-weight: 600; color: var(--cp-text); cursor: pointer; transition: background .15s; font-family: var(--cp-font-body); }
.civpro-accordion-toggle:hover { background: var(--cp-blue-pale); color: var(--cp-blue); }
.civpro-accordion-toggle[aria-expanded="true"] { background: var(--cp-blue); color: #fff; }
.civpro-accordion-chevron .civpro-icon { width: 15px; height: 15px; transition: transform .2s; }
.civpro-accordion-toggle[aria-expanded="true"] .civpro-accordion-chevron .civpro-icon { transform: rotate(90deg); }
.civpro-accordion-body { padding: 14px 16px; background: var(--cp-white); }
.civpro-accordion-body[hidden] { display: none; }
.civpro-monitor-empty { border: 2px dashed var(--cp-border); border-radius: var(--cp-radius); padding: 16px; text-align: center; color: var(--cp-muted); background: var(--cp-bg); }
.civpro-monitor-empty p { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0 0 10px; font-size: 13px; }
.civpro-info-card { background: var(--cp-blue-pale); border: 1px solid var(--cp-border); border-radius: var(--cp-radius); padding: 16px; margin-bottom: 14px; }
.civpro-info-row { display: grid; grid-template-columns: 200px 1fr; gap: 6px; padding: 7px 0; border-bottom: 1px solid var(--cp-border); font-size: 14px; }
.civpro-info-row:last-child { border-bottom: 0; }
.civpro-info-label { font-weight: 700; color: var(--cp-blue); }

/* ══════════════════════════════════════════════════════════════
   PAGINARE
   ══════════════════════════════════════════════════════════════ */
.civpro-pagination { display: flex; align-items: center; justify-content: center; gap: 5px; margin-top: 28px; flex-wrap: wrap; }
.civpro-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1.5px solid var(--cp-border); border-radius: 7px; font-size: 13px; font-weight: 600; color: var(--cp-text); transition: background .15s; }
.civpro-pagination .page-numbers:hover { background: var(--cp-blue-pale); border-color: var(--cp-blue); color: var(--cp-blue); text-decoration: none; }
.civpro-pagination .page-numbers.current { background: var(--cp-blue); border-color: var(--cp-blue); color: #fff; }

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.civpro-footer-new { background: var(--cp-blue); color: #bfdbfe; margin-top: 40px; border-top: 4px solid var(--cp-gold); }
.civpro-footer-new-grid { display: grid; grid-template-columns: 1fr 1.6fr 1fr 1fr; gap: 20px; padding: 32px 0 24px; border-bottom: 1px solid rgba(255,255,255,.15); }
.civpro-footer-new-title { font-family: var(--cp-font-body); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin: 0 0 14px; padding-bottom: 7px; border-bottom: 2px solid var(--cp-gold); display: inline-block; }

/* Pagini utile */
.civpro-footer-useful-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.civpro-footer-useful-links li a { display: flex; align-items: center; gap: 10px; color: #bfdbfe; text-decoration: none; padding: 6px 10px; border-radius: 4px; background: rgba(255,255,255,.06); transition: background .15s; font-size: 13px; font-weight: 600; }
.civpro-footer-useful-links li a:hover { background: rgba(255,255,255,.14); color: #fff; }
.civpro-useful-icon { width: 36px; height: 36px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 4px; overflow: hidden; }
.civpro-useful-icon img { width: 28px; height: 28px; object-fit: contain; }
.civpro-useful-icon-empty { background: rgba(255,255,255,.1); }
.civpro-useful-icon-empty .civpro-icon { width: 18px; height: 18px; color: #93c5fd; }

/* Articole recente */
.civpro-footer-articles { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.civpro-footer-article { display: flex; align-items: flex-start; gap: 10px; }
.civpro-footer-article-thumb { width: 60px; height: 44px; flex-shrink: 0; display: block; overflow: hidden; border-radius: 4px; background: rgba(255,255,255,.08); }
.civpro-footer-article-thumb img { width: 100%; height: 100%; object-fit: cover; }
.civpro-footer-article-no-thumb { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.civpro-footer-article-no-thumb .civpro-icon { width: 18px; height: 18px; color: #64748b; }
.civpro-footer-article-body { flex: 1; min-width: 0; }
.civpro-footer-article-body a { color: #dbeafe; font-size: 13px; font-weight: 600; line-height: 1.3; display: block; text-decoration: none; }
.civpro-footer-article-body a:hover { color: #fff; text-decoration: underline; }
.civpro-footer-article-meta { display: flex; align-items: center; gap: 4px; font-size: 11px; color: #93c5fd; margin-top: 3px; }
.civpro-footer-article-meta .civpro-icon { width: 11px; height: 11px; }

/* Contact footer */
.civpro-footer-contact-block { font-size: 13px; }
.civpro-footer-inst-name { font-size: 13px; font-weight: 800; color: var(--cp-gold); text-transform: uppercase; margin: 0 0 10px; }
.civpro-footer-contact-table { border-collapse: collapse; width: 100%; }
.civpro-footer-contact-table tr { vertical-align: top; }
.civpro-footer-contact-table td { padding: 4px 0; color: #bfdbfe; line-height: 1.5; border: 0; background: transparent; font-size: 13px; }
.civpro-fct-label { white-space: nowrap; padding-right: 10px; color: #93c5fd; font-weight: 700; width: 72px; }
.civpro-footer-contact-table a { color: #93c5fd; text-decoration: none; }
.civpro-footer-contact-table a:hover { color: #fff; text-decoration: underline; }

/* Footer bottom */
.civpro-footer-new-bottom { background: rgba(0,0,0,.25); padding: 12px 0 8px; }
.civpro-footer-uat-bar { font-size: 12px; color: #93c5fd; text-align: center; padding: 6px 0 10px; border-bottom: 1px solid rgba(255,255,255,.07); margin-bottom: 10px; }
.civpro-footer-bottom-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.civpro-footer-copyright { font-size: 12px; color: #93c5fd; }
.civpro-footer-copyright strong { color: #dbeafe; }
.civpro-footer-legal-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 5px 14px; flex-wrap: wrap; }
.civpro-footer-legal-links a { font-size: 12px; color: #93c5fd; text-decoration: underline; text-underline-offset: 3px; }
.civpro-footer-legal-links a:hover { color: #fff; }
.civpro-powered-bar { text-align: right; margin-top: 8px; }
.civpro-chosting-brand { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 7px; padding: 5px 10px; text-decoration: none !important; transition: background .2s; }
.civpro-chosting-brand:hover { background: rgba(255,255,255,.14); }
.civpro-chosting-logo { height: 26px; width: auto; object-fit: contain; display: block; }
.civpro-chosting-text { display: none; }

/* Tabel registre */
.civpro-register-table { width: 100%; border-collapse: collapse; }
.civpro-register-table th { background: var(--cp-blue); color: #fff; padding: 9px 12px; font-size: 12px; text-align: left; font-weight: 600; }
.civpro-register-table td { padding: 8px 12px; font-size: 13px; border-bottom: 1px solid var(--cp-border); vertical-align: top; }
.civpro-register-table tr:nth-child(even) td { background: var(--cp-bg); }
.civpro-register-table tr:hover td { background: var(--cp-blue-pale); }

/* Alert banner */
.civpro-alert-banner { background: var(--cp-gold-light); border: 1px solid var(--cp-gold); border-left: 5px solid var(--cp-gold); border-radius: var(--cp-radius); padding: 12px 16px; display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px; }
.civpro-alert-banner .civpro-icon { color: var(--cp-gold); width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.civpro-alert-banner p { margin: 0; font-size: 14px; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .civpro-cards-grid { grid-template-columns: repeat(2,1fr); }
  .civpro-quick-links { grid-template-columns: repeat(4,1fr); }
}
@media (max-width: 900px) {
  .civpro-footer-new-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .civpro-portal-grid { grid-template-columns: 1fr; }
  .civpro-portal-aside { position: static; }
  .civpro-hero-inner { grid-template-columns: 1fr; }
  .civpro-article-layout { grid-template-columns: 1fr; }
  .civpro-monitor-grid { grid-template-columns: 1fr; }
  .civpro-monitor-sidebar { position: static; }
  .civpro-brandbar-inner { grid-template-columns: 90px 1fr 90px; gap: 12px; }
  .civpro-coat-romania, .civpro-coat-local { max-width: 80px; max-height: 80px; width: 80px; height: 80px; }
}
@media (max-width: 768px) {
  .civpro-primary-menu { display: none; flex-direction: column; }
  .civpro-primary-menu.is-open { display: flex; }
  .civpro-menu-toggle { display: flex; }
  .civpro-nav-inner { flex-direction: column; align-items: stretch; }
  .civpro-primary-menu > li { flex: none; }
  .civpro-primary-menu > li > a { font-size: 14px; padding: 14px 16px; justify-content: flex-start; border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .civpro-primary-menu .sub-menu { position: static; box-shadow: none; border: 0; border-left: 3px solid var(--cp-gold); border-top: 0; border-radius: 0; }
  .civpro-primary-menu li:hover > .sub-menu { display: none; }
  .civpro-primary-menu li.is-open > .sub-menu { display: block; }
  .civpro-cards-grid { grid-template-columns: 1fr; }
  .civpro-quick-links { grid-template-columns: repeat(2,1fr); }
  .civpro-footer-new-grid { grid-template-columns: 1fr; }
  .civpro-footer-bottom-row { flex-direction: column; align-items: flex-start; }
  .civpro-topbar-inner { flex-direction: column; align-items: flex-start; gap: 6px; padding: 6px 0; }
  .civpro-tricolor-bar { margin: 0; width: 100%; }
  .civpro-header-search { width: 100%; }
  .civpro-header-search input { width: 100%; }
  .civpro-brandbar-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .civpro-coat-romania-wrap, .civpro-coat-local-wrap { display: none; }
}
@media (max-width: 480px) {
  .civpro-quick-links { grid-template-columns: 1fr 1fr; }
  .civpro-entry-content .alignleft, .civpro-entry-content .alignright, .civpro-entry-content img.alignleft, .civpro-entry-content img.alignright { float: none !important; max-width: 100% !important; margin: .8rem auto !important; display: block !important; }
}

/* Calendar arhivă footer */
.civpro-footer-calendar { margin-bottom: 16px; }
.civpro-footer-calendar #wp-calendar {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  color: #bfdbfe;
}
.civpro-footer-calendar #wp-calendar caption {
  color: var(--cp-gold);
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  padding: 6px 0;
  caption-side: top;
}
.civpro-footer-calendar #wp-calendar th {
  color: #93c5fd;
  font-weight: 700;
  text-align: center;
  padding: 4px 2px;
  font-size: 11px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.civpro-footer-calendar #wp-calendar td {
  text-align: center;
  padding: 4px 2px;
  color: #bfdbfe;
  font-size: 12px;
}
.civpro-footer-calendar #wp-calendar td a {
  color: #fff;
  font-weight: 700;
  background: var(--cp-gold);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.civpro-footer-calendar #wp-calendar td a:hover { background: #a67614; }
.civpro-footer-calendar #wp-calendar #today {
  color: #fff;
  font-weight: 700;
}
.civpro-footer-calendar #wp-calendar tfoot td {
  padding: 6px 2px;
  font-size: 12px;
}
.civpro-footer-calendar #wp-calendar tfoot a {
  color: #93c5fd;
  text-decoration: none;
}
.civpro-footer-calendar #wp-calendar tfoot a:hover { color: #fff; }

/* Lista arhivă luni sub calendar */
.civpro-footer-archive-list { list-style: none; margin: 10px 0 0; padding: 0; max-height: 160px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent; }
.civpro-footer-archive-list li { border-bottom: 1px solid rgba(255,255,255,.07); }
.civpro-footer-archive-list li a { display: block; color: #bfdbfe; font-size: 12px; padding: 4px 0; text-decoration: none; transition: color .15s; }
.civpro-footer-archive-list li a:hover { color: #fff; }

/* Imagine reprezentativă la sfârșitul articolului */
.civpro-article-thumb-bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 2px solid var(--cp-gold);
}
.civpro-article-thumb-label {
  font-size: 12px;
  color: var(--cp-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 8px;
  font-weight: 600;
}
.civpro-article-thumb-bottom img {
  border-radius: var(--cp-radius-lg);
  width: 100%;
}

/* Fii Pregătit — buton oficial stânga topbar */
.civpro-fiipregatit-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 999px;
  padding: 3px 12px 3px 4px;
  text-decoration: none !important;
  flex-shrink: 0;
  transition: box-shadow .2s;
  box-shadow: 0 1px 4px rgba(0,0,0,.1);
}
.civpro-fiipregatit-btn:hover { box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.civpro-fp-logo {
  height: 32px;
  width: 32px;
  object-fit: contain;
  border-radius: 50%;
  display: block;
}
.civpro-fp-text {
  font-size: 13px;
  font-weight: 800;
  color: #e63946;
  letter-spacing: .01em;
  white-space: nowrap;
}
