/* ==========================================================================
   e-Transformare — design system v2
   --------------------------------------------------------------------------
   Paletă: identitatea LID Moldova (gri-albastru închis, albastru cer, tan,
   brun editorial). Documentația completă: design.md.
   Reguli: fără umbre (hover = contur & accent), fără animații decorative.
   Radius: 4px controale · 16px carduri. Spațiere pe multipli de 8px.
   ========================================================================== */

/* — Fonturi self-hosted (subseturi latin + latin-ext, cu diacriticele RO) — */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/manrope-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/manrope-latin-ext-400.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E7F, U+1E80-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/manrope-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/manrope-latin-ext-700.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E7F, U+1E80-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/manrope-latin-800.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/manrope-latin-ext-800.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E7F, U+1E80-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/dm-mono-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/dm-mono-latin-ext-400.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E7F, U+1E80-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/dm-mono-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/dm-mono-latin-500.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E7F, U+1E80-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #0d3453;
  --blue: #3b97c6;
  --blue-text: #2b78a3; /* --blue ca text mic: 4.57:1 pe paper (AA), vs 3.07:1 */
  --tan: #dba581;
  --brown: #67352c;
  --paper: #f8f8f6;
  --card: #ffffff;
  --tint: #e8eef4;
  --tint-blue: #dbeaf3;
  --muted: #496688;
  --line: #d9e2e9;
  --line-ink: #2c4f70;

  --font-sans: "Manrope", "Segoe UI", Arial, sans-serif;
  --font-mono: "DM Mono", "SFMono-Regular", Consolas, monospace;

  --radius-card: 16px;
  --radius-control: 4px;

  --pad-x: clamp(20px, 10.5vw, 168px);
  --pad-x-header: clamp(20px, 5.2vw, 84px);
}

/* — Reset — */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 50;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-control);
  font-size: 12px;
  font-weight: 700;
  transition: top .15s ease;
}
.skip-link:focus { top: 16px; }

/* — Utilitare — */
.mono {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .11em;
}

/* Marcatorul editorial: bară + nod pătrat. Element-semnătură al sistemului. */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .11em;
}
.eyebrow-marker {
  display: inline-block;
  width: 26px;
  height: 3px;
  background: var(--tan);
  position: relative;
  flex: none;
}
.eyebrow-marker::after {
  content: "";
  position: absolute;
  right: -4px;
  top: -2px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--tan);
  background: var(--ink);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 80px;
  padding: 0 var(--pad-x-header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  letter-spacing: -.04em;
  white-space: nowrap;
}
.brand b { font-weight: 800; }
.brand-mark {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 21px;
}
.brand-mark i {
  display: block;
  width: 5px;
  background: var(--blue);
}
.brand-mark i:nth-child(1) { height: 9px; }
.brand-mark i:nth-child(2) { height: 15px; }
.brand-mark i:nth-child(3) { height: 21px; background: var(--tan); }

.main-nav {
  display: flex;
  gap: 34px;
  margin-left: auto;
}
.main-nav a {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 6px 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.main-nav a .nav-index {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .08em;
  color: var(--blue-text);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a.active { color: var(--ink); }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  background: var(--tan);
}

.header-actions { display: flex; align-items: center; gap: 16px; }

/* — Butoane —
   Hover fără umbră: schimbăm doar fundalul / conturul. */
.button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-radius: var(--radius-control);
  border: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .01em;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.button .arrow { font-size: 15px; line-height: 0; }
.button-outline { background: transparent; color: var(--ink); }
.button-outline:hover { background: var(--ink); color: #fff; }
.button-solid { background: var(--ink); border-color: var(--ink); color: #fff; }
.button-solid:hover { background: var(--blue-text); border-color: var(--blue-text); }
.button-tan { background: var(--tan); border-color: var(--tan); color: var(--ink); }
.button-tan:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

.menu-button {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 10px 6px;
  cursor: pointer;
}
.menu-button span {
  display: block;
  width: 21px;
  height: 2px;
  background: var(--ink);
  transition: transform .2s ease;
}
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ==========================================================================
   Hero (pagina principală)
   ========================================================================== */
.hero {
  position: relative;
  /* Dropdown-ul de căutare nu mai e tăiat de marginea hero-ului
     (fix de 2 linii, verificat în browser; reintrodus odată cu
     rezultatele din serviciile publice, care pot lungi lista). */
  overflow: visible;
  background: var(--ink);
  color: #fff;
  padding: clamp(72px, 9vw, 120px) var(--pad-x) clamp(64px, 7vw, 96px);
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image:
    linear-gradient(rgba(255,255,255,.7) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.7) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: linear-gradient(90deg, #000 5%, transparent 78%);
  mask-image: linear-gradient(90deg, #000 5%, transparent 78%);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  max-width: 760px;
}
.hero .eyebrow { color: var(--tan); margin-bottom: 30px; }
.hero .eyebrow-marker::after { background: var(--ink); }

/* Semnătura paginii: titlul e și navigație — fiecare verb duce la secțiunea lui. */
.hero-title {
  font-size: clamp(52px, 7.4vw, 104px);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.07em;
}
.hero-title a {
  color: inherit;
  border-bottom: 6px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
.hero-title a:hover { border-bottom-color: var(--tan); }
.hero-title a:hover em { color: #fff; }
.hero-title em { font-style: normal; color: var(--tan); }

.hero-intro {
  max-width: 480px;
  margin: 30px 0 36px;
  font-size: 15px;
  line-height: 1.65;
  color: #d7e7f2;
}

/* — Căutare — */
.search-box {
  position: relative;
  width: min(100%, 620px);
  display: flex;
  align-items: center;
  padding: 8px 9px 8px 20px;
  background: var(--card);
  border-radius: var(--radius-control);
  border: 1px solid var(--card);
}
.search-box:focus-within { border-color: var(--tan); }
.search-icon {
  color: var(--blue);
  font-size: 26px;
  line-height: 0;
  margin-right: 12px;
  transform: rotate(-20deg);
}
.search-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  font-size: 14px;
  color: var(--ink);
}
.search-box input::placeholder { color: var(--muted); }
.search-box button {
  height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 3px;
  background: var(--tan);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background .2s ease;
}
.search-box button:hover { background: var(--ink); color: #fff; }

.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 10; /* deasupra conținutului următor (al doilea rând al fix-ului) */
  display: none;
  flex-direction: column;
  max-height: min(60vh, 460px); /* listele lungi (servicii de stat) devin scrollabile */
  overflow-y: auto;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
}
.search-results.open { display: flex; }
.search-results .search-hit {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 13px 16px;
  font-size: 13px;
  font-weight: 700;
}
.search-results .search-hit + .search-hit { border-top: 1px solid var(--line); }
.search-results .search-hit:hover,
.search-results .search-hit.active { background: var(--tint); }
.search-results .kind {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--blue-text);
  white-space: nowrap;
}
.search-hit-main { min-width: 0; text-align: left; }
.search-why {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--muted);
}
.search-empty {
  padding: 13px 16px;
  font-size: 12px;
  color: var(--muted);
}

.suggestions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #8fb3c9;
}
.suggestions button {
  padding: 0 0 2px;
  background: none;
  border: 0;
  border-bottom: 1px solid #4a708f;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.suggestions button:hover { border-bottom-color: var(--tan); color: var(--tan); }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: clamp(48px, 6vw, 76px);
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #7ea4bd;
}
.hero-meta .rule { width: 72px; height: 1px; background: #3d6083; }

/* ==========================================================================
   Schelet de secțiune
   ========================================================================== */
.section { padding: clamp(72px, 9vw, 112px) var(--pad-x); }
.section.tight { padding-top: clamp(56px, 6vw, 80px); }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-heading .section-kicker {
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .11em;
  color: var(--blue-text);
}
.section-heading h2 {
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.065em;
}
.section-heading h2 span { color: var(--blue-text); }
.section-heading .heading-lead {
  max-width: 320px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* ==========================================================================
   Piloni (3 secțiuni: Servicii / Instrumente / Blog)
   ========================================================================== */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pillar-card {
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding: 26px 28px;
  border-radius: var(--radius-card);
  border: 1px solid transparent;
  transition: border-color .2s ease, background-color .2s ease;
}
.card-blue { background: var(--tint-blue); }
.card-tint { background: var(--tint); }
.card-dark { background: var(--ink); color: #fff; }
.pillar-card:hover { border-color: var(--ink); }
.card-dark:hover { border-color: var(--tan); }

.card-index {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.card-dark .card-index { color: #b9cbdd; }
.pillar-card h3 {
  margin-top: 56px;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.05em;
}
.pillar-card p {
  margin-top: 15px;
  max-width: 250px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.card-dark p { color: #b9cbdd; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding-top: 28px;
  font-size: 11px;
  font-weight: 800;
}
.card-link .arrow { font-size: 16px; font-weight: 400; transition: transform .2s ease; }
.pillar-card:hover .card-link .arrow { transform: translateX(5px); }

/* ==========================================================================
   Rânduri de listă (servicii pe scurt / articole recente)
   ========================================================================== */
.list-rows { border-top: 1px solid var(--line); }
.list-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: baseline;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.list-row .row-index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-text);
}
.list-row h3 {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.1;
}
.list-row .row-desc {
  margin-top: 8px;
  max-width: 560px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}
.row-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.row-link .arrow { font-size: 16px; font-weight: 400; transition: transform .2s ease; }
.list-row:hover .row-link .arrow,
.post-item:hover .row-link .arrow { transform: translateX(5px); }
.list-row:hover .row-index { color: var(--ink); }

/* — Asociere etichete / valori în rânduri (audiență, format) — */
.row-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.row-specs span {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--card);
}

/* ==========================================================================
   Material recomandat + listă articole (homepage)
   ========================================================================== */
.latest-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(32px, 5vw, 80px);
}
.featured-post {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.4vw, 44px);
  border-radius: var(--radius-card);
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  transition: border-color .2s ease;
}
.featured-post:hover { border-color: var(--tan); }
.featured-post .kind { color: var(--tan); }
.featured-post h3 {
  margin: 22px 0 16px;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.045em;
}
.featured-post p { color: #b9cbdd; font-size: 13px; line-height: 1.65; max-width: 420px; }
.featured-post .card-link { color: #fff; padding-top: 32px; }
.featured-post .card-link .arrow { color: var(--tan); }
.featured-post .post-meta { color: #8ba3b9; } /* --muted e pt. fundal deschis; pe ink: 4.92:1 */

.kind {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-text);
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
}

.post-item { border-bottom: 1px solid var(--line); }
.post-item .list-row { grid-template-columns: 1fr auto; border-bottom: 0; padding: 22px 0; }
.post-item h3 { font-size: 19px; }
.post-item .row-link { align-self: center; }

/* ==========================================================================
   Despre + newsletter
   ========================================================================== */
.lower-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.about-block .section-kicker {
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .11em;
  color: var(--blue-text);
}
.about-block p { font-size: 14px; line-height: 1.7; color: var(--muted); }
.about-block p + p { margin-top: 14px; }
.about-block strong { color: var(--ink); }

.newsletter {
  padding: clamp(30px, 3.6vw, 44px);
  border-radius: var(--radius-card);
  background: var(--ink);
  color: #fff;
}
.newsletter .section-kicker {
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .11em;
  color: var(--tan);
}
.newsletter h2 {
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.06em;
}
.newsletter h2 em { font-style: normal; color: #9db4c9; }
.newsletter p { margin: 18px 0 24px; font-size: 12px; color: #b9cbdd; }
.email-form {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #56738f;
  padding-bottom: 10px;
}
.email-form input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  outline: 0;
  color: #fff;
  font-size: 13px;
}
.email-form input::placeholder { color: #8fa9c0; }
.email-form button {
  background: none;
  border: 0;
  color: var(--tan);
  font-size: 24px;
  line-height: 0;
  padding: 4px;
  cursor: pointer;
  transition: color .2s ease;
}
.email-form button:hover { color: #fff; }
.newsletter small { display: block; margin-top: 14px; font-size: 10px; color: #8fa9c0; }

/* ==========================================================================
   FAQ (jos de tot, înainte de footer) — nativ <details>, fără JS
   ========================================================================== */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: grid;
  grid-template-columns: 48px 1fr 20px;
  align-items: baseline;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.faq-index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-text);
  transition: color .2s ease;
}
.faq-q {
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.25;
}
.faq-toggle {
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  color: var(--blue-text);
  transition: transform .2s ease, color .2s ease;
}
.faq-item[open] .faq-toggle { transform: rotate(45deg); color: var(--ink); }
.faq-item summary:hover .faq-index { color: var(--ink); }
.faq-a {
  margin: -6px 0 24px 68px;
  max-width: 680px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
.faq-a a {
  color: var(--blue-text);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq-a a:hover { color: var(--ink); }

/* ==========================================================================
   Hero-uri interioare
   ========================================================================== */
.inner-hero {
  position: relative;
  padding: clamp(72px, 8.6vw, 116px) var(--pad-x) clamp(64px, 7.6vw, 104px);
  border-bottom: 1px solid var(--line);
}
.inner-hero .eyebrow { color: var(--blue-text); margin-bottom: 26px; }
.inner-hero h1 {
  font-size: clamp(48px, 6.6vw, 92px);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.065em;
}
.inner-hero h1 em { font-style: normal; color: var(--blue); }
.inner-hero .hero-lead {
  max-width: 470px;
  margin-top: 26px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}
.inner-hero .button { margin-top: 30px; }

.hero-blue { background: var(--tint-blue); }
.hero-blue h1 em { color: var(--ink); }

.hero-dark { background: var(--ink); color: #fff; border-bottom-color: var(--ink); }
.hero-dark .eyebrow { color: var(--tan); }
.hero-dark h1 em { color: var(--tan); }
.hero-dark .hero-lead { color: #b9cbdd; }

.hero-brown { background: var(--brown); color: #fff; border-bottom-color: var(--brown); }
.hero-brown .eyebrow { color: var(--tan); }
.hero-brown h1 em { color: var(--tan); }
.hero-brown .hero-lead { color: #e3cfc7; }

.hero-count {
  display: inline-block;
  margin-top: 26px;
  padding: 8px 12px;
  border: 1px solid currentColor;
  border-radius: var(--radius-control);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero-dark .hero-count { color: var(--tan); }
.hero-brown .hero-count { color: var(--tan); }
.hero-blue .hero-count { color: var(--muted); }
.hero-blue .eyebrow { color: var(--muted); } /* blue-text pe tint-blue: 3.95 < 4.5 */

/* ==========================================================================
   Toolbar de filtre (Instrumente / Blog)
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.filter-tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.filter-tabs button {
  padding: 9px 13px;
  background: none;
  border: 0;
  border-radius: var(--radius-control);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease;
}
.filter-tabs button:hover { color: var(--ink); background: var(--tint); }
.filter-tabs button.selected {
  color: var(--ink);
  background: var(--tint-blue);
  font-weight: 800;
}
.filter-select {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
}
.filter-select select {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--card);
  font-size: 12px;
  color: var(--ink);
}
.result-count {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ==========================================================================
   Grile de carduri (instrumente / articole)
   ========================================================================== */
.card-grid {
  display: grid;
  /* 3 coloane pe desktop, 2 pe tabletă (măsurat și cu scrollbar clasic ~15px),
     1 pe telefon. Plafonul + centrarea vin din secțiunea părinte (#colectia /
     #articole), ca filtrele și grila să stea pe aceeași coloană. */
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

/* Colecțiile (instrumente / blog): tot conținutul pe o coloană plafonată,
   centrată — altfel grila plafonată rămâne lipită de stânga pe ecrane late. */
#colectia > *,
#articole > * {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
}
.tool-card,
.article-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 26px 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  transition: border-color .2s ease;
}
.tool-card:hover,
.article-card:hover { border-color: var(--blue); }
.tool-card.featured { background: var(--tan); border-color: var(--tan); }
.tool-card.featured:hover,
.article-card.featured:hover { border-color: var(--ink); }
.tool-card .type,
.article-card .type { color: var(--blue-text); }
.tool-card.featured .type { color: var(--brown); }
.tool-card.featured p,
.tool-card.featured .domain-tag { color: var(--brown); } /* muted pe tan: 2.74; brown: 4.58 */
.tool-card h3,
.article-card h3 {
  margin-top: 40px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.045em;
}
.tool-card p,
.article-card p {
  margin-top: 13px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: auto;
  padding-top: 26px;
}
.card-foot .domain-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.card-link .arrow { font-size: 15px; font-weight: 400; transition: transform .2s ease; }
.tool-card:hover .card-link .arrow,
.article-card:hover .card-link .arrow { transform: translateX(4px); }

.article-card .post-meta { margin-top: 12px; }
.article-card.featured-big {
  grid-column: 1 / -1;
  min-height: 0;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  background: var(--tint);
  border-color: var(--tint);
}
.featured-copy { display: flex; flex-direction: column; }
.article-card.featured-big .type,
.article-card.featured-big .kind { color: var(--muted); } /* blue-text pe tint: 4.16 < 4.5 */
.article-card.featured-big h3 { font-size: clamp(24px, 3vw, 36px); max-width: 560px; }
.article-card.featured-big .card-foot { flex-direction: column; align-items: flex-end; }

/* — Tiles video (blog + instrumente): poster 16:9, play, titlu — */
.media-tile {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: border-color .2s ease;
}
.media-tile:hover { border-color: var(--blue); }
.media-thumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
}
.media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* hqdefault vine 4:3 cu bare negre — decupajul le taie */
}
.play {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 50%;
  background: rgba(13, 52, 83, .6);
}
.play::after {
  content: "";
  margin-left: 4px;
  border-left: 11px solid #fff;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}
.media-tile:hover .play { border-color: var(--tan); }
.media-note {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.7;
  color: #8fb3c9;
}
.media-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 22px 22px;
}
.media-tile .type {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--blue-text);
}
.media-tile h3 {
  margin-top: 12px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
}
.media-tile p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.media-tile .card-foot { padding-top: 18px; }

/* — Stare vidă la filtre — */
.filter-empty {
  display: none;
  margin-top: 24px;
  padding: 22px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius-control);
  font-size: 13px;
  color: var(--muted);
}
.filter-empty.visible { display: block; }

/* ==========================================================================
   Servicii — grupuri și proces
   ========================================================================== */
.service-group + .service-group { margin-top: clamp(56px, 7vw, 96px); }
.service-group-head {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 8px;
}
.service-group-head .group-index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--blue-text);
}
.service-group-head h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -.05em;
}
.service-group-head .group-desc {
  flex: 1;
  max-width: 380px;
  margin-left: auto;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  text-align: right;
}
.service-group .list-rows { margin-top: 20px; }
.service-group .list-row { grid-template-columns: 1fr auto; align-items: center; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.steps-grid article {
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.steps-grid .step-index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--blue-text);
}
.steps-grid h3 { margin: 30px 0 12px; font-size: 21px; letter-spacing: -.04em; }
.steps-grid p { font-size: 12px; line-height: 1.6; color: var(--muted); max-width: 280px; }

/* ==========================================================================
   Contact + formulare
   ========================================================================== */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  background: var(--tint-blue);
}
.contact-section h2 {
  font-size: clamp(36px, 4.6vw, 60px);
  font-weight: 800;
  line-height: .94;
  letter-spacing: -.06em;
}
.contact-section h2 em { font-style: normal; color: var(--ink); } /* --blue pe tint-blue: 2.66 < 3.0 */
.contact-note { margin-top: 22px; max-width: 380px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.contact-alt { margin-top: 30px; }
.contact-alt a { font-weight: 800; border-bottom: 2px solid var(--tan); }
.contact-alt a:hover { border-bottom-color: var(--ink); }

.contact-form { display: grid; gap: 24px; align-content: start; }
.contact-form label {
  display: grid;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 0;
  border-bottom: 1px solid #a9bfd4;
  background: transparent;
  padding: 10px 0;
  outline: 0;
  font-size: 14px;
  color: var(--ink);
  border-radius: 0;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--muted); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-bottom-color: var(--blue); }
.contact-form textarea { min-height: 88px; resize: vertical; }
.contact-form .button { justify-self: start; margin-top: 6px; }

.form-status {
  display: none;
  padding: 16px 18px;
  border: 1px solid var(--blue);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius-control);
  background: var(--card);
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink);
}
.form-status.visible { display: block; }
.form-status.error { border-color: var(--brown); border-left-color: var(--brown); }

.contact-form input[aria-invalid="true"],
.contact-form textarea[aria-invalid="true"],
.email-form input[aria-invalid="true"] {
  border-bottom-color: var(--brown);
}
.contact-form input[aria-invalid="true"]::placeholder,
.contact-form textarea[aria-invalid="true"]::placeholder { color: var(--brown); }

/* ==========================================================================
   Bandă video / canal (Blog)
   ========================================================================== */
.channel-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
  padding: 26px 28px;
  background: var(--tint);
  border-radius: var(--radius-card);
}
.channel-strip p { max-width: 520px; font-size: 13px; line-height: 1.65; color: var(--muted); }
.channel-strip .kind { color: var(--muted); } /* blue-text pe tint: 4.16 < 4.5 */
.channel-strip h3 { font-size: 20px; letter-spacing: -.04em; margin-top: 8px; color: var(--ink); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: #c6d6e5;
  padding: clamp(48px, 6vw, 80px) var(--pad-x) 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 64px);
  padding-bottom: clamp(40px, 5vw, 64px);
}
.footer-brand .brand { color: #fff; }
.footer-brand p { margin-top: 18px; max-width: 300px; font-size: 12px; line-height: 1.65; color: #8fa9c0; }
.footer-col h3 {
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--tan);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a { font-size: 12px; color: #c6d6e5; transition: color .2s ease; }
.footer-col a:hover { color: #fff; }
.footer-col address {
  font-style: normal;
  font-size: 12px;
  line-height: 1.7;
  color: #c6d6e5;
  margin-bottom: 16px;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 0;
  border-top: 1px solid var(--line-ink);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8fa9c0;
}

/* ==========================================================================
   Meniu mobil
   ========================================================================== */
@media (max-width: 900px) {
  .site-header { height: 68px; }
  .main-nav,
  .header-actions .button { display: none; }
  .menu-button { display: flex; }

  .main-nav.open {
    display: flex;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px 6vw 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .main-nav.open a {
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
  .main-nav.open a.active::after { display: none; }

  .section-heading { flex-direction: column; align-items: flex-start; gap: 20px; }
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar-card { min-height: 0; }
  .pillar-card h3 { margin-top: 40px; }
  .latest-grid,
  .lower-grid,
  .contact-section { grid-template-columns: 1fr; }
  .list-row { grid-template-columns: 1fr; gap: 10px; }
  .faq-item summary { grid-template-columns: 1fr 20px; gap: 14px; }
  .faq-index { display: none; }
  .faq-a { margin-left: 0; }
  .post-item .list-row { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .service-group-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .service-group-head .group-desc { margin-left: 0; text-align: left; }
  .service-group .list-row { grid-template-columns: 1fr; }
  .article-card.featured-big { flex-direction: column; align-items: flex-start; }
  .article-card.featured-big .card-foot { flex-direction: row; align-items: baseline; width: 100%; justify-content: space-between; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .card-grid { grid-template-columns: 1fr; } /* telefon: o coloană care se mulează, fără min */
}

@media (max-width: 560px) {
  .filter-bar { flex-direction: column; align-items: flex-start; }
  .filter-select { width: 100%; justify-content: space-between; }
  .filter-select select { flex: 1; }
}

/* ==========================================================================
   Accesibilitate: mișcare redusă
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   Cititor de articol (articol.html)
   ========================================================================== */
.article-reader {
  max-width: 880px;
  margin: 0 auto;
}

.article-reader .eyebrow { margin-bottom: 24px; }
.article-reader h1 {
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}

.article-meta {
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 13px;
  margin: 0 0 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.article-body { font-size: 17px; line-height: 1.7; color: var(--ink); }
.article-body p { margin: 0 0 20px; }
.article-body h2, .article-body h3, .article-body h4 { line-height: 1.3; margin: 40px 0 16px; }
.article-body h2 { font-size: 26px; }
.article-body h3 { font-size: 21px; }
.article-body h4 { font-size: 18px; }
.article-body a { color: var(--blue-text); text-decoration: underline; text-underline-offset: 3px; }
.article-body strong { font-weight: 700; }
.article-body ul, .article-body ol { margin: 0 0 20px; padding-left: 24px; }
.article-body li { margin-bottom: 8px; }
.article-body img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius, 8px);
  margin: 8px 0 24px;
}
.article-body iframe { /* embeduri video din articolele migrate */
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  margin: 8px 0 24px;
}
.article-body blockquote {
  margin: 24px 0;
  padding: 8px 0 8px 24px;
  border-left: 3px solid var(--tan);
  color: var(--muted);
}

.article-back { margin-top: 48px; }
.article-missing {
  border: 1px solid var(--line);
  border-radius: var(--radius, 8px);
  padding: 32px;
  color: var(--muted);
}

/* ==========================================================================
   Servicii publice (evo.gov.md) — stratul de stat, „Poarta de stat"
   --------------------------------------------------------------------------
   Reguli anti-confuzie: statul nu intră niciodată în seria ET/0X, nu
   primește accent albastru și nu folosește săgeata „înainte" (→).
   Semnele lui: banda pe fond întunecat, accentul tan, ↗ pe orice ieșire
   din platformă și sursa declarată (evo.gov.md) peste tot.
   ========================================================================== */

:root {
  --tan-tint: #f2e7dc;   /* fond cald, deschis, pentru hover la rezultatele de stat */
}

/* — Poarta de stat: bandă separată între direcții și consultanță — */
.gov-band {
  background: var(--ink);
  color: #fff;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.gov-band-inner {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}
.gov-band .eyebrow { color: var(--tan); margin-bottom: 22px; }
.gov-band .eyebrow-marker { background: var(--tan); }
.gov-band .eyebrow-marker::after { border-color: var(--tan); background: var(--ink); }
.gov-band h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.06em;
}
.gov-band h2 em { font-style: normal; color: var(--tan); }
.gov-band .band-lead { margin-top: 18px; max-width: 400px; font-size: 13px; line-height: 1.7; color: #b9cbdd; }
.gov-band-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 24px; }
.gov-band :focus-visible { outline-color: var(--tan); }
.band-src {
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8fa9c0;
}
.gov-band .band-label {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8fa9c0;
}

/* — Cele mai căutate: rânduri directe spre evo.gov.md — */
.gov-popular { border-top: 1px solid var(--line-ink); }
.gov-popular a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line-ink);
  transition: background-color .2s ease;
}
.gov-popular a:hover { background: rgba(219, 165, 129, .08); }
.gov-popular .gp-main { min-width: 0; }
.gov-popular h3 { font-size: 14px; font-weight: 800; letter-spacing: -.02em; }
.gov-popular .gp-meta {
  display: block;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #8fa9c0;
}
.gov-popular .gp-arrow { font-size: 15px; font-weight: 400; color: var(--tan); white-space: nowrap; }

/* — Căutare: rezultate de stat, mixte în listă, cu badge de sursă — */
.search-results .kind-gov { color: var(--brown); }
.search-results a.gov-hit:hover { background: var(--tan-tint); }
.search-note {
  padding: 10px 16px;
  border-top: 1px solid var(--line);
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 900px) {
  .gov-band-inner { grid-template-columns: 1fr; }
}
