/* Pogoji uporabe in varstvo osebnih podatkov (legal/page.php): berljiva ozka stran, kazalo, oštevilčeni razdelki. */
.lg { max-width: 760px; padding-bottom: 48px; }
.lg-hero { display: grid; gap: 6px; margin: 4px 0 22px; }
.lg-hero__ic { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 4px; border-radius: 16px; background: var(--brand-soft); color: var(--brand); }
.lg-hero__ic .ico { width: 28px; height: 28px; }
.lg-hero h1 { font-size: clamp(26px, 4.4vw, 34px); letter-spacing: -.02em; text-wrap: balance; }
.lg-hero__date { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.lg-hero__cta { margin: 16px 0 0; }
.lg-hero__intro { margin: 8px 0 0; font-size: 16px; line-height: 1.65; color: var(--text-2); text-wrap: pretty; }

.lg-toc { margin: 0 0 28px; padding: 16px 20px 14px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-1); }
.lg-toc h2 { margin: 0 0 8px; font-size: 13px; font-weight: 650; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.lg-toc ol { margin: 0; padding-left: 22px; columns: 2 220px; column-gap: 28px; }
.lg-toc li { padding: 3px 0; font-size: 14.5px; break-inside: avoid; }
.lg-toc li::marker { color: var(--faint); font-variant-numeric: tabular-nums; }
.lg-toc a { color: var(--text-2); text-decoration: none; }
.lg-toc a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

.lg-sec { padding: 22px 0 6px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--topbar-h) + 12px); }
.lg-sec h2 { margin: 0 0 10px; font-size: 19px; letter-spacing: -.01em; }
.lg-sec p, .lg-sec li { font-size: 15.5px; line-height: 1.7; color: var(--text-2); text-wrap: pretty; }
.lg-sec p { margin: 0 0 12px; }
.lg-sec ul { margin: 0 0 14px; padding-left: 22px; }
.lg-sec li { margin: 4px 0; }
.lg-sec li::marker { color: var(--brand); }
.lg a:not(.lg-foot__other) { overflow-wrap: anywhere; }
.lg-sec:target h2 { color: var(--brand); }

.lg-foot { display: grid; gap: 12px; margin-top: 26px; }
.lg-foot__card { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-card); background: var(--surface-2); border: 1px solid var(--line); }
.lg-foot__card p { margin: 2px 0 0; font-size: 14.5px; color: var(--text-2); }
.lg-foot__ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.lg-foot__other { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.lg-foot__other span { color: var(--muted); font-size: 14px; }
.lg-foot__other .ico { margin-left: auto; color: var(--brand); transition: transform var(--t-fast) var(--ease); }
.lg-foot__other:hover { border-color: var(--line-strong); box-shadow: var(--shadow-2); }
.lg-foot__other:hover .ico { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .lg-foot__other, .lg-foot__other .ico { transition: none; } }
.lg-sec li b { color: var(--text); font-weight: 650; }
