/* leginoi — modulul Local (0.1.0). Reuses the plugin's .ln-* components; only the list and the councils grid are new. */

.lnl-councils {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 8px;
}
.lnl-councils a {
	display: flex;
	flex-direction: column;
	gap: 2px;
	height: 100%;
	padding: 10px 12px;
	border: 1px solid var(--ln-line);
	border-radius: 3px;
	corner-shape: notch;
	background: var(--ln-soft);
	color: inherit;
	text-decoration: none;
}
.lnl-councils a:hover { border-color: currentColor; }
.lnl-councils strong { font-weight: 700; }
.lnl-n { font-size: 1.6em; font-weight: 750; line-height: 1.1; font-variant-numeric: tabular-nums; }
.lnl-l, .lnl-s { font-size: .82em; opacity: .8; }
.lnl-warn { color: var(--ln-no); opacity: 1; }

.lnl-list { list-style: none; margin: 0; padding: 0; }
.lnl-item { padding: 10px 0; border-top: 1px solid var(--ln-line); }
.lnl-item:first-child { border-top: 0; }
.lnl-meta { margin: 0 0 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: .9em; }
.lnl-cite { font-weight: 700; font-variant-numeric: tabular-nums; }
.lnl-title { margin: 0; line-height: 1.4; overflow-wrap: anywhere; }
.lnl-links { margin: 4px 0 0; font-size: .85em; }
.lnl-car-normativ { border-color: var(--ln-c-lege, currentColor); }
.lnl-car-individual { border-style: dashed; }

.lnl-one .lnl-title { font-size: 1.1em; }
.lnl-dl dd small { display: inline; }
.lnl-refs { margin: 0; padding-left: 1.3em; }
.lnl-refs li { margin: 4px 0; line-height: 1.35; }
.lnl-init { margin: 0; padding-left: 1.1em; }
.lnl-init li { margin: 4px 0; }
.lnl-src li { margin: 4px 0; }
.lnl-months td, .lnl-months th { text-align: right; }
.lnl-months th:first-child { text-align: left; }
.lnl-total th, .lnl-total td { font-weight: 700; }

@media (max-width: 560px) {
	.lnl-councils { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
