/*
  File role: VOGO eBS Portal — "Catalog complet servicii" page styles.
  Pure-PHP replica of the WP page /servicii-digitale-pentru-cetateni/.
  Combines three style groups, all institutional navy + Romanian tricolor:
    1. Topbar + hero + 3-step strip + section heading + DEMO badge  (ex Custom-HTML block #1)
    2. Services LIST mode (mini-cards)                              (ex ebs-shortcodes.css)
    3. CTA panel + quick-links cards + slim footer bar             (ex Custom-HTML block #2)
  Asset-separation rule: extracted out of inline <style> blocks into this file.
  @file_version 1.0.10
*/

/* Reset the browser-default body margin (8px) — the WP page has it at 0, so the
   topbar must sit flush to the top/left/right edges (no white frame). Also set the
   brand base font on <body>: page components set their own font, but inherited
   children (e.g. the live AI assistant widget) otherwise fall back to the browser
   default (Times New Roman). */
html, body { margin: 0; padding: 0; }
body {
  font-family: "Inter", "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ══════════════════════════════════════════════════════════════════════
   GROUP 1 — Topbar + hero + steps + section heading + DEMO badge
   Scoped to .ebsegov-hero / .ebsegov-sticky-topbar to avoid bleed.
   ══════════════════════════════════════════════════════════════════════ */
.ebsegov-hero, .ebsegov-hero *,
.ebsegov-sticky-topbar, .ebsegov-sticky-topbar * { box-sizing: border-box; }

/* Institutional topbar (in-flow; the live page treats it as non-sticky). */
.ebsegov-sticky-topbar {
  position: relative;
  z-index: 9999;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.08), transparent 45%),
    linear-gradient(135deg, #0C2F59 0%, #0a2648 55%, #01255C 100%);
  color: #fff;
  padding: 14px 36px 14px;
  margin: 0;
  overflow: hidden;
  font-family: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  box-shadow: 0 2px 6px rgba(12, 47, 89, 0.18);
}
/* Romanian tricolor strip — official institutional accent on top edge. */
.ebsegov-sticky-topbar::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, #002b7f 0%, #002b7f 33.33%, #fcd116 33.33%, #fcd116 66.66%, #ce1126 66.66%, #ce1126 100%);
}
.ebsegov-sticky-topbar__inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
@media (max-width: 720px) {
  .ebsegov-sticky-topbar { padding: 10px 16px 10px; }
}

.ebsegov-hero {
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.08), transparent 45%),
    linear-gradient(135deg, #0C2F59 0%, #0a2648 55%, #01255C 100%);
  color: #fff;
  padding: 40px 36px 48px;
  border-radius: 0 0 12px 12px;
  margin: 0 0 28px;
  overflow: hidden;
  position: relative;
  font-family: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.ebsegov-hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.ebsegov-hero__topbar {
  display: flex;
  align-items: center;
  gap: 14px;
}
/* Topbar-as-link (wizard pages): crest + brand link back to the catalog.
   Strip the default anchor look; keep the institutional white text. */
a.ebsegov-hero__topbar--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  width: fit-content;
  transition: opacity .15s ease;
}
a.ebsegov-hero__topbar--link:hover { opacity: 0.88; }
a.ebsegov-hero__topbar--link:hover .ebsegov-hero__brand-line2 { text-decoration: underline; }
.ebsegov-hero__crest {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* White circle with navy crest — clean institutional look (no gold). */
  background: #ffffff;
  color: #0C2F59;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.ebsegov-hero__crest img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}
.ebsegov-hero__brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.ebsegov-hero__brand-line1 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #ffffff;
  font-weight: 600;
}
.ebsegov-hero__brand-line2 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-top: 2px;
}
/* Title — matches vogo.me hero h1 typography. Clamped 2rem → 3.75rem. */
.ebsegov-hero__title {
  font-family: "Inter Tight", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  margin: 0 0 18px;
  color: #fff;
}
.ebsegov-hero__title span {
  color: #ffffff;
  border-bottom: 3px solid rgba(255, 255, 255, 0.55);
  padding-bottom: 4px;
}
/* Lead — matches vogo.me hero lead typography. */
.ebsegov-hero__lead {
  font-size: clamp(1.05rem, 1.86vw, 1.5rem);
  line-height: 1.42;
  font-weight: 400;
  letter-spacing: 0;
  color: rgba(255,255,255,0.88);
  max-width: none;
  text-align: justify;
  hyphens: auto;
  margin: 0 0 28px;
}
.ebsegov-hero__strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
}
.ebsegov-hero__strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.92);
  font-size: 13px;
  line-height: 1.4;
}
.ebsegov-hero__strip-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
}
.ebsegov-hero__strip-icon svg { width: 16px; height: 16px; }
.ebsegov-hero__strip-text strong {
  display: block;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 1px;
}
.ebsegov-hero__strip-text span {
  color: rgba(255,255,255,0.7);
  font-size: 11.5px;
}

/* How it works — 3-step compact strip below the hero */
.ebsegov-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 36px;
}
.ebsegov-steps__card {
  background: #fff;
  border: 1px solid #e3e8ee;
  border-left: 4px solid #0C2F59;
  border-radius: 8px;
  padding: 18px 20px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  font-family: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.ebsegov-steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0a2648;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 10px;
}
.ebsegov-steps__title {
  font-family: "Inter Tight", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #0C2F59;
  margin: 0 0 6px;
}
.ebsegov-steps__text {
  font-size: clamp(0.875rem, 1vw, 0.95rem);
  font-weight: 400;
  line-height: 1.55;
  color: #475569;
  margin: 0;
}

.ebsegov-section-heading {
  margin: 0 0 18px;
  font-family: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.ebsegov-section-heading__title {
  font-family: "Inter Tight", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(1.5rem, 2.0vw, 2.35rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #0C2F59;
  margin: 0;
}

/* ── Heading + controls (search + category filter) on one row ── */
.ebsegov-section-heading--with-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.svc-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Text search box (rounded 5px) + ">" submit button ── */
.svc-search {
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 1px solid #d7dbe1;
  border-radius: 5px;
  overflow: hidden;
  font-family: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.svc-search:focus-within {
  border-color: #0C2F59;
  box-shadow: 0 0 0 3px rgba(12, 47, 89, 0.12);
}
.svc-search__input {
  border: none;
  outline: none;
  padding: 10px 12px;
  font-size: 13px;
  color: #111317;
  background: transparent;
  min-width: 210px;
  font-family: inherit;
}
.svc-search__input::placeholder { color: #94a3b8; }
.svc-search__btn {
  flex-shrink: 0;
  border: none;
  background: #0C2F59;
  color: #fff;
  padding: 0 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color .15s ease;
}
.svc-search__btn:hover { background: #01255C; }
.svc-search__btn svg { width: 15px; height: 15px; }
@media (max-width: 560px) {
  .svc-controls { width: 100%; }
  .svc-search { flex: 1; }
  .svc-search__input { min-width: 0; width: 100%; }
}

/* ── Aesthetic multiselect category filter ── */
.svc-filter {
  position: relative;
  font-family: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
/* Symmetry with the search box: 5px corners + a navy selection block (white text
   + white caret) mirroring the search ">" button. */
.svc-filter__trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 14px;          /* tighter right pad — navy block hugs the edge */
  background: #fff;
  border: 1px solid #d7dbe1;
  border-radius: 5px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  color: #0C2F59;
  line-height: 1;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.svc-filter__trigger:hover { border-color: #0C2F59; }
.svc-filter__trigger[aria-expanded="true"] {
  border-color: #0C2F59;
  box-shadow: 0 0 0 3px rgba(12, 47, 89, 0.12);
}
.svc-filter__caption { font-weight: 600; color: #4d5562; }
/* Navy block: shows the selection ("Toate" / "N categorii") + the expand caret. */
.svc-filter__selection {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0C2F59;
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
}
.svc-filter__value {
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}
.svc-filter__caret {
  width: 14px; height: 14px;
  color: #fff;
  transition: transform .18s ease;
}
.svc-filter__trigger[aria-expanded="true"] .svc-filter__caret { transform: rotate(180deg); }

/* Dropdown panel */
.svc-filter__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 50;
  min-width: 260px;
  max-height: 360px;
  overflow-y: auto;
  padding: 8px;
  background: #fff;
  border: 1px solid #d7dbe1;
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(13, 44, 74, 0.16);
}
.svc-filter__panel[hidden] { display: none; }
.svc-filter__divider { height: 1px; background: #eef1f4; margin: 6px 4px; }

/* One option row (custom checkbox + label) */
.svc-filter__opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13.5px;
  color: #111317;
  transition: background-color .12s ease;
}
.svc-filter__opt:hover { background: #f3f6fb; }
.svc-filter__opt input { position: absolute; opacity: 0; pointer-events: none; }
.svc-filter__check {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border: 2px solid #c7cdd6;
  border-radius: 5px;
  background: #fff;
  position: relative;
  transition: background-color .12s ease, border-color .12s ease;
}
.svc-filter__opt input:checked + .svc-filter__check {
  background: #0C2F59;
  border-color: #0C2F59;
}
.svc-filter__opt input:checked + .svc-filter__check::after {
  content: "";
  position: absolute;
  left: 5px; top: 1px;
  width: 5px; height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.svc-filter__opt--all .svc-filter__text { font-weight: 700; color: #0C2F59; }

@media (max-width: 560px) {
  .ebsegov-section-heading--with-filter { align-items: flex-start; }
  .svc-filter, .svc-filter__trigger { width: 100%; }
  .svc-filter__trigger { justify-content: space-between; }
  .svc-filter__panel { left: 0; right: 0; min-width: 0; }
}

/* DEMO badge — vogo green pill, viewport-fixed top-right corner. */
.vogo-demo-badge {
  position: fixed !important;
  top: 16px !important;
  right: 16px !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 999999 !important;
  background: #1A3D2B;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(26, 61, 43, 0.45), 0 0 0 2px rgba(255,255,255,0.85);
  pointer-events: none;
  user-select: none;
  font-family: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  transform: none !important;
  margin: 0 !important;
}
@media (max-width: 520px) {
  .vogo-demo-badge { font-size: 11px; padding: 6px 11px; top: 10px !important; right: 10px !important; }
}

/* ── DEMO badge as master-app dropdown switcher ───────────────────────────────
   The dropdown variant is interactive (pointer-events re-enabled), keeps the
   green pill look as the trigger, and drops an app list below-right. */
.vogo-demo-badge--dropdown {
  pointer-events: auto !important;   /* override the plain-badge default */
  padding: 0 !important;             /* the inner trigger owns the padding */
  background: transparent !important;
  box-shadow: none !important;
}
.vogo-demo-badge__trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #1A3D2B;
  color: #fff;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 12px 8px 14px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(26, 61, 43, 0.45), 0 0 0 2px rgba(255,255,255,0.85);
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.vogo-demo-badge__trigger:hover { background: #15311f; }
.vogo-demo-badge__caret {
  width: 14px; height: 14px;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}
.vogo-demo-badge--dropdown.is-open .vogo-demo-badge__caret { transform: rotate(180deg); }

/* Menu panel — right-aligned under the trigger. */
.vogo-demo-badge__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid #d7dbe1;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(12, 47, 89, 0.22);
  padding: 6px;
  overflow: hidden;
}
.vogo-demo-badge__menu[hidden] { display: none; }
.vogo-demo-badge__menu-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a93a3;
  padding: 6px 10px 4px;
}
.vogo-demo-badge__item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: #111317;
  text-decoration: none;
  transition: background 0.12s ease;
}
.vogo-demo-badge__item:hover { background: #f0f4f9; }
.vogo-demo-badge__item-dot {
  width: 8px; height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #c7d0dc;
}
.vogo-demo-badge__item.is-active { background: #0C2F59; color: #fff; }
.vogo-demo-badge__item.is-active:hover { background: #0a274a; }
.vogo-demo-badge__item.is-active .vogo-demo-badge__item-dot { background: #58d6b4; }
@media (max-width: 520px) {
  .vogo-demo-badge__trigger { font-size: 11px; padding: 6px 10px 6px 11px; }
  .vogo-demo-badge--dropdown { top: 10px !important; right: 10px !important; }
  .vogo-demo-badge__menu { min-width: 190px; }
}

/* Responsive collapse — hero + steps */
@media (max-width: 860px) {
  .ebsegov-hero { padding: 36px 22px 32px; }
  .ebsegov-hero__title { font-size: 28px; }
  .ebsegov-hero__strip { grid-template-columns: repeat(2, 1fr); }
  .ebsegov-steps { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 600px) {
  .ebsegov-hero__title { font-size: 24px; }
  .ebsegov-hero__lead { font-size: 15px; padding-right: 0; }
  .ebsegov-hero { padding: 28px 18px 26px; }
}
@media (max-width: 480px) {
  .ebsegov-hero__strip { grid-template-columns: 1fr; padding: 12px; }
  .ebsegov-hero__title { font-size: 20px; }
  .ebsegov-hero__crest { width: 44px; height: 44px; }
  .ebsegov-hero__crest img { width: 34px; height: 34px; }
  .ebsegov-hero__brand-line2 { font-size: 14px; }
  .ebsegov-steps__card { padding: 14px 16px; }
}
@media (max-width: 360px) {
  .ebsegov-sticky-topbar { padding: 8px 12px; }
  .ebsegov-hero { padding: 22px 14px 22px; }
  .ebsegov-hero__title { font-size: 18px; }
  .ebsegov-hero__brand-line1 { font-size: 10px; }
  .ebsegov-hero__brand-line2 { font-size: 13px; }
}

/* ══════════════════════════════════════════════════════════════════════
   GROUP 2 — Services LIST mode (mini-cards). One <li> per service.
   Inherited verbatim from ebs-shortcodes.css (list mode).
   ══════════════════════════════════════════════════════════════════════ */
.vogo-ebs-services-list,
.vogo-ebs-services-list * {
  font-family: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
/* The rule above (`.vogo-ebs-services-list *`, specificity 0,1,0) would otherwise
   override `.dashicons { font-family: dashicons }` from dashicons.min.css (same
   specificity, and our stylesheet loads later) — leaving the ::before with the
   wrong font and no glyph (generic icon). Re-assert the icon font with higher
   specificity + !important so every service icon renders its real dashicon. */
.vogo-ebs-services-list .dashicons,
.vogo-ebs-services-list .dashicons::before {
  font-family: "dashicons" !important;
}
.vogo-ebs-services-list {
  list-style: none;
  margin: 24px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.vogo-ebs-service-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid #e3e8ee;
  border-left: 4px solid #0a2648;
  border-radius: 10px;
  transition: transform .15s ease, box-shadow .15s ease, border-left-color .15s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.vogo-ebs-service-row:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(13, 44, 74, 0.10);
  border-left-color: #01255C;
}
/* CTA pill — text "Accesează" + arrow in navy @ 80% opacity, no bg. */
.vogo-ebs-service-row__cta {
  flex-shrink: 0;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: transparent;
  color: rgba(12, 47, 89, 0.8) !important;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 999px;
  line-height: 1;
  white-space: nowrap;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}
.vogo-ebs-service-row__cta:hover,
.vogo-ebs-service-row:hover .vogo-ebs-service-row__cta {
  color: #0C2F59 !important;
  background: rgba(12, 47, 89, 0.08);
  transform: translateY(-1px);
}
.vogo-ebs-service-row__cta-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform .18s ease;
}
.vogo-ebs-service-row__cta:hover .vogo-ebs-service-row__cta-icon,
.vogo-ebs-service-row:hover .vogo-ebs-service-row__cta-icon {
  transform: translateX(3px);
}
/* Right column: CTA on top, service category label below it (bottom-right). */
.vogo-ebs-service-row__aside {
  flex-shrink: 0;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
/* The CTA's own align-self:center (a leftover from when it was a direct row
   child) would horizontally center it inside this column — pin it right so it
   lines up with the category label underneath. */
.vogo-ebs-service-row__aside .vogo-ebs-service-row__cta {
  align-self: flex-end;
}
/* Category pill — same soft-navy chip styling as the service code badge. */
.vogo-ebs-service-row__category {
  font-size: 11px;
  font-weight: 600;
  color: #0C2F59;
  background: #eff6ff;
  padding: 3px 10px;
  border-radius: 999px;
  line-height: 1.35;
  text-align: right;
  max-width: 190px;
}
@media (max-width: 560px) {
  .vogo-ebs-service-row__cta { padding: 8px 14px; font-size: 12px; }
  .vogo-ebs-service-row__cta-label { display: none; }
  .vogo-ebs-service-row__cta-icon { width: 16px; height: 16px; }
}
/* Icon tile — subtle gray bg + border, flat aspect. */
.vogo-ebs-service-row__icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 5px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #1e40af;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, border-color .15s ease;
}
.vogo-ebs-service-row:hover .vogo-ebs-service-row__icon {
  background: #eff6ff;
  border-color: #2563eb;
}
.vogo-ebs-service-row__icon svg {
  width: 28px;
  height: 28px;
}
.vogo-ebs-service-row__icon .dashicons {
  font-size: 28px;
  width: 28px;
  height: 28px;
  line-height: 1;
}
.vogo-ebs-service-row__icon i { font-size: 22px; }
.vogo-ebs-service-row__icon img {
  max-width: 36px;
  max-height: 36px;
  object-fit: contain;
  border-radius: 4px;
}
.vogo-ebs-service-row__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.vogo-ebs-service-row__header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.vogo-ebs-service-title {
  font-size: 20px;
  font-weight: 700;
  color: #0C2F59;
  text-decoration: none;
  line-height: 1.3;
  transition: color .15s ease;
}
.vogo-ebs-service-title:hover { color: #01255C; }
.vogo-ebs-service-code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  padding: 2px 8px;
  background: #eff6ff;
  color: #0C2F59;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.vogo-ebs-service-row__desc {
  margin: 0;
  color: #475569;
  font-size: 16px;
  line-height: 1.6;
}
.vogo-ebs-service-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}
/* Termen + Cost pills — italic on navy bg @ 80% opacity (institutional). */
.vogo-ebs-service-deadline,
.vogo-ebs-service-cost {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 12px;
  font-weight: 500;
  font-style: italic;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(12, 47, 89, 0.8);
  color: #ffffff;
}
.vogo-ebs-service-deadline strong,
.vogo-ebs-service-cost strong {
  font-weight: 700;
  font-style: normal;
}
.vogo-ebs-empty {
  padding: 40px 20px;
  text-align: center;
  color: #94a3b8;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  font-style: italic;
  margin: 24px 0;
}
@media (max-width: 560px) {
  .vogo-ebs-service-row { padding: 16px 18px; gap: 14px; }
  .vogo-ebs-service-row__icon { width: 38px; height: 38px; }
  .vogo-ebs-service-row__icon svg { width: 18px; height: 18px; }
  .vogo-ebs-service-title { font-size: 18px; }
}
@media (max-width: 480px) {
  .vogo-ebs-service-row {
    padding: 14px 16px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .vogo-ebs-service-row__icon { width: 48px; height: 48px; }
  .vogo-ebs-service-row__icon svg { width: 22px; height: 22px; }
  .vogo-ebs-service-row__icon .dashicons { font-size: 22px; width: 22px; height: 22px; }
  /* Aside goes full-width below the content; CTA + category centered. */
  .vogo-ebs-service-row__aside {
    flex-basis: 100%;
    order: 3;
    align-items: center;
    gap: 6px;
  }
  .vogo-ebs-service-row__aside .vogo-ebs-service-row__cta {
    align-self: stretch;
    justify-content: center;
    padding: 10px;
    min-height: 44px;
  }
  .vogo-ebs-service-row__category { text-align: center; }
  .vogo-ebs-service-row__cta-label { display: inline; }
  .vogo-ebs-service-title { font-size: 17px; }
  .vogo-ebs-service-row__desc { font-size: 15px; }
  .vogo-ebs-service-deadline,
  .vogo-ebs-service-cost { font-size: 11px; padding: 3px 10px; }
}
@media (max-width: 360px) {
  .vogo-ebs-service-row { padding: 12px 12px; gap: 10px; }
  .vogo-ebs-service-row__icon { width: 40px; height: 40px; }
  .vogo-ebs-service-row__icon svg { width: 18px; height: 18px; }
  .vogo-ebs-service-row__icon .dashicons { font-size: 18px; width: 18px; height: 18px; }
  .vogo-ebs-service-title { font-size: 16px; }
  .vogo-ebs-service-row__desc { font-size: 14px; }
}

/* ══════════════════════════════════════════════════════════════════════
   GROUP 3 — CTA panel + quick-links cards + slim footer bar
   Inherited verbatim from the page's Custom-HTML block #2.
   ══════════════════════════════════════════════════════════════════════ */
.ebsegov-cta, .ebsegov-cta *,
.ebsegov-cards, .ebsegov-cards *,
.ebsegov-footer-bar, .ebsegov-footer-bar * { box-sizing: border-box; }

/* CTA panel — "Nu găsești ce cauți?" */
.ebsegov-cta {
  margin: 36px 0 28px;
  padding: 28px 32px;
  background: linear-gradient(135deg, #1a4d6e 0%, #2d8659 100%);
  border-radius: 12px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 4px 16px rgba(13, 44, 74, 0.15);
  font-family: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.ebsegov-cta__left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  min-width: 280px;
}
.ebsegov-cta__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.ebsegov-cta__icon svg { width: 26px; height: 26px; }
.ebsegov-cta__text h3 {
  margin: 0 0 6px;
  font-family: "Inter Tight", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
}
.ebsegov-cta__text p {
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.42;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
}
.ebsegov-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #fff;
  color: #1a4d6e;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}
.ebsegov-cta__btn:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0,0,0,0.22); }
.ebsegov-cta__btn svg { width: 16px; height: 16px; }

/* 3-col quick links cards */
.ebsegov-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 36px;
  font-family: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.ebsegov-cards__item {
  background: #fff;
  border: 1px solid #e3e8ee;
  border-radius: 10px;
  padding: 24px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.ebsegov-cards__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 44, 74, 0.10);
  border-color: #2d8659;
}
.ebsegov-cards__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1a4d6e 0%, #2d8659 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.ebsegov-cards__icon svg { width: 22px; height: 22px; }
.ebsegov-cards__title {
  font-family: "Inter Tight", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #0d2c4a;
  margin: 0 0 8px;
}
.ebsegov-cards__text {
  font-size: clamp(0.95rem, 1.1vw, 1rem);
  font-weight: 400;
  line-height: 1.55;
  color: #475569;
  margin: 0 0 14px;
}
.ebsegov-cards__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1a4d6e;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: border-color .15s ease, color .15s ease;
}
.ebsegov-cards__link:hover {
  color: #2d8659;
  border-color: #2d8659;
}
.ebsegov-cards__link svg { width: 13px; height: 13px; }

/* Slim footer bar with copyright + version */
.ebsegov-footer-bar {
  margin-top: 36px;
  padding: 18px 24px;
  background: #f5f7fa;
  border-top: 3px solid #1a4d6e;
  border-radius: 0 0 10px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #475569;
  font-family: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.ebsegov-footer-bar__left strong {
  color: #0d2c4a;
  margin-right: 6px;
}
.ebsegov-footer-bar__right {
  display: flex;
  gap: 14px;
  align-items: center;
}
.ebsegov-footer-bar__right a {
  color: #1a4d6e;
  text-decoration: none;
  font-weight: 600;
}
.ebsegov-footer-bar__right a:hover { text-decoration: underline; }
.ebsegov-footer-bar__sep {
  width: 1px;
  height: 12px;
  background: #cbd5e1;
}
@media (max-width: 860px) {
  .ebsegov-cta { padding: 22px 22px; flex-direction: column; align-items: stretch; }
  .ebsegov-cta__btn { justify-content: center; }
  .ebsegov-footer-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 860px) and (min-width: 561px) {
  .ebsegov-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .ebsegov-cards { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .ebsegov-cta { padding: 16px 16px; gap: 12px; }
  .ebsegov-cta__btn { padding: 12px 18px; font-size: 13px; min-height: 44px; }
  .ebsegov-cards__item { padding: 18px 18px; }
}
@media (max-width: 360px) {
  .ebsegov-cta { padding: 14px 12px; }
  .ebsegov-cta__btn { padding: 10px 14px; font-size: 12px; }
  .ebsegov-cards__item { padding: 14px 14px; }
}

/* ── Page wrapper — centers content like the WP entry-content column. ── */
.ebsegov-page-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 24px 0;
}
@media (max-width: 720px) {
  .ebsegov-page-wrap { padding: 18px 16px 0; }
}

/* Catalog complet servicii — cci flat blue glyph inside a rounded (5px) bordered tile.
   The 64px tile centers a ~28px glyph, giving ≥0.3cm breathing room around it. */
.vogo-ebs-service-row__icon { background: #ffffff; border: 1px solid #bcd6ec; border-radius: 5px; color: #0660a2; }
.vogo-ebs-service-row:hover .vogo-ebs-service-row__icon { background: #f2f8fd; border-color: #0660a2; }
.vogo-ebs-service-row__icon svg { stroke: #0660a2; }
