/* Τένις Ύδρας: Όροι χρήσης, Πολιτική απορρήτου (legal/page.html). Not in the design, so made of its
   parts, on the site's tokens: the title and lead of Ανακοινώσεις, the cards of the booking page, the sand of an
   announcement for a draft, and a column of text that reads well. The contents are above the text on phones, and beside
   it, kept in view, from 960px. */

/* ---------------------------------------------------------------- the page */
.lg{padding:24px 0 56px}
@media (min-width:960px){.lg{padding:44px 0 88px}}
.lg-in{display:grid;gap:28px;max-width:1180px;margin:0 auto}
@media (min-width:960px){.lg-in{gap:44px}}
.lg-head{display:grid;gap:10px;max-width:760px}
.lg-title{font-family:'GFS Didot',Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(2.2rem,1.75rem + 1.5vw,3.2rem);line-height:1;letter-spacing:-.005em;text-wrap:balance}
.lg-lead{max-width:60ch;font-size:1.02rem;line-height:1.5;color:var(--muted);text-wrap:pretty}
.lg-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin-top:4px;font-size:13.5px;line-height:1.35;color:var(--muted);font-variant-numeric:lining-nums}
/* a draft, in the sand of an announcement */
.lg-draft{display:inline-flex;align-items:center;min-height:26px;padding:3px 11px;border-radius:999px;background:var(--closed-bg);box-shadow:inset 0 0 0 1px var(--closed-line);color:var(--closed);font-weight:600;transition:background-color 1.2s,color 1.2s,box-shadow 1.2s}

.lg-grid{display:grid;gap:32px}
@media (min-width:960px){.lg-grid{grid-template-columns:250px minmax(0,1fr);gap:64px;align-items:start}}

/* ---------------------------------------------------------------- the contents */
.lg-toc{display:grid;gap:6px;padding:16px 18px 12px;border-radius:16px;background:var(--soft);transition:background-color 1.2s}
@media (min-width:960px){.lg-toc{position:sticky;top:24px;max-height:calc(100vh - 48px);overflow:auto;padding:0;border-radius:0;background:none}}
.lg-toc-h{font-size:13.5px;font-weight:650;line-height:1.35;color:var(--muted)}
.lg-toc ol{display:grid;margin:0;padding:0;list-style:none}
.lg-toc a{display:flex;gap:6px;padding:7px 0;font-size:14.5px;line-height:1.35;color:var(--ink);text-decoration:none}
.lg-toc a:hover{color:var(--accent);text-decoration:underline;text-underline-offset:3px}
.lg-toc .lg-n{flex:none;min-width:1.5em}

/* ---------------------------------------------------------------- the text */
.lg-doc{display:grid;gap:40px;min-width:0;max-width:720px}
@media (min-width:960px){.lg-doc{gap:48px}}
.lg-s{display:grid;gap:14px;align-content:start;min-width:0;scroll-margin-top:24px}
.lg-h{font-family:'GFS Didot',Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(1.45rem,1.3rem + .5vw,1.75rem);line-height:1.15;text-wrap:balance}
.lg-n{color:var(--muted);font-variant-numeric:lining-nums tabular-nums}
.lg-p,.lg-ul,.lg-dl{font-size:16px;line-height:1.65;text-wrap:pretty;overflow-wrap:anywhere}
.lg-ul{display:grid;gap:6px;margin:0;padding-left:22px}
.lg-ul li::marker{color:var(--accent)}
.lg-doc a{color:var(--accent);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;transition:color 1.2s}
.lg-doc a:hover{text-decoration-thickness:2px}

/* terms and their texts, a row each, on a card: the Municipality's address, the court's phone and email */
.lg-dl{display:grid;margin:0;padding:4px 20px;border-radius:16px;background:var(--card);box-shadow:var(--shadow-s);transition:background-color 1.2s}
.lg-dl>div{display:grid;gap:2px;padding:12px 0;border-bottom:1px solid var(--line)}
.lg-dl>div:last-child{border-bottom:0}
@media (min-width:720px){.lg-dl>div{grid-template-columns:minmax(0,170px) minmax(0,1fr);gap:24px}}
.lg-dl dt{font-weight:650;color:var(--ink)}
.lg-dl dd{margin:0;color:var(--ink)}
