/* „Българският закон и правото на ЕС" — on top of upcoming.css (the same page furniture:
   .lede, .act, .empty). Tokens from _theme.html with dark fallbacks. */

.eu-search { display: flex; gap: 8px; margin: 14px 0 6px; }
.eu-search input[type=search] { flex: 1; min-width: 0; font: inherit; font-size: 14px; padding: 8px 12px;
  border-radius: 10px; border: 1px solid var(--border, #2d3744); background: var(--panel, #1a212b);
  color: var(--text, #e6edf3); }
.eu-search button { font: inherit; font-size: 13.5px; font-weight: 600; padding: 8px 14px; border-radius: 10px;
  border: 0; background: var(--accent, #3fb950); color: var(--on-accent, #0d1218); cursor: pointer; }
.eu-by { font-size: 13px; color: var(--muted, #8b98a5); margin: 0 0 8px; }
.eu-by a { color: var(--accent, #3fb950); text-decoration: none; }
.eu-by a[aria-current] { font-weight: 700; text-decoration: underline; }

/* h2, not h3: the page's outline is h1 → the acts. Styled like upcoming.css's `.act h3`. */
.eu-g .eu-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 15px; margin: 0 0 8px;
  font-weight: 600; line-height: 1.4; }
.eu-g .eu-h a { color: var(--text, #e6edf3); text-decoration: none; }
.eu-g .eu-h a:hover { color: var(--accent, #3fb950); text-decoration: underline; }
.eu-t { font-weight: 400; font-size: 13px; }
.eu-nolink { color: var(--text, #e6edf3); }
/* The list of acts under one directive stacks — these are titles, not chips. */
.eu-rows { display: block; }
.eu-rows li { margin: 6px 0; line-height: 1.45; }
.eu-rows li a { color: var(--text, #e6edf3); text-decoration: none; }
.eu-rows li a:hover { color: var(--accent, #3fb950); text-decoration: underline; }
/* The disclosure keeps a marker: „изречението" in green alone reads as a label, not a control. */
.eu-rows details { display: inline-block; margin-left: 6px; }
.eu-rows summary, .eu-box summary { display: inline-block; cursor: pointer; font-size: 12px; color: var(--accent, #3fb950);
  list-style: none; padding: 10px 6px; margin: -10px -6px; }      /* a 32px hit area on a 12px label */
.eu-rows summary::-webkit-details-marker, .eu-box summary::-webkit-details-marker { display: none; }
.eu-rows summary::before, .eu-box summary::before { content: "›"; display: inline-block; margin-right: 3px;
  transition: transform .15s; }
.eu-rows details[open] > summary::before, .eu-box details[open] > summary::before { transform: rotate(90deg); }
.eu-rows summary:hover, .eu-box summary:hover { text-decoration: underline; }
.eu-rows summary:focus-visible, .eu-box summary:focus-visible { outline: 2px solid var(--accent, #3fb950); outline-offset: 2px; }
.eu-rows blockquote { margin: 6px 0 4px; padding: 6px 10px; border-left: 2px solid var(--border, #2d3744);
  font-size: 13px; color: var(--muted, #8b98a5); line-height: 1.5; }

/* The box on a single act's page (doc.html aside). */
.eu-box { margin: 0 0 18px; padding: 12px 14px; border: 1px solid var(--border, #2d3744); border-radius: 10px;
  background: var(--panel, #1a212b); font-size: 13.5px; }
.eu-box h2 { margin: 0 0 6px; font-size: 15px; }
.eu-box .eu-k { color: var(--muted, #8b98a5); font-size: 12.5px; margin: 0 0 4px; }
.eu-box ul { list-style: none; margin: 0; padding: 0; }
.eu-box li { margin: 4px 0; line-height: 1.45; }
.eu-box li a { color: var(--text, #e6edf3); text-decoration: none; }
.eu-box li a:hover { color: var(--accent, #3fb950); text-decoration: underline; }
.eu-box details { display: inline-block; margin-left: 4px; }
.eu-box blockquote { margin: 6px 0 2px; padding: 5px 9px; border-left: 2px solid var(--border, #2d3744);
  font-size: 12.5px; color: var(--muted, #8b98a5); line-height: 1.5; }
.eu-box .eu-cmp { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600;
  color: var(--accent, #3fb950); text-decoration: none; }
.eu-box .eu-cmp:hover { text-decoration: underline; }
.eu-box .eu-all { display: block; margin-top: 6px; font-size: 12px; color: var(--muted, #8b98a5); text-decoration: none; }
/* The pager: two links and a count, at the end of a page of fifty groups. */
.eu-pages { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px;
  margin: 22px 0 0; padding-top: 14px; border-top: 1px solid var(--border, #2d3744); font-size: 13.5px; }
.eu-pages a { color: var(--accent, #3fb950); text-decoration: none; padding: 8px 0; }
.eu-pages a:hover { text-decoration: underline; }
