/* ==========================================================================
   GreekCloud — document pages
   Shared by the guide, the legal-landscape pages and the city pages.
   Loads after base.css and only adds; it overrides nothing.
   ========================================================================== */

.doc-head { padding-block: clamp(44px, 6vw, 74px) clamp(30px, 4vw, 46px); }
.doc-head h1 { margin-bottom: 18px; }
.doc-head .lede { max-width: 58ch; }

.crumbs { font-size: 14.5px; color: var(--ink-faint); margin-bottom: 18px; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--sage); text-decoration: underline; }

/* table of contents */
.toc {
  background: var(--surface); border: 1px solid var(--rule);
  border-radius: var(--radius-lg); padding: 22px 24px; margin-top: 30px; max-width: 60ch;
}
.toc h2 {
  font-family: var(--f-work); font-size: 13px; font-weight: 700;
  letter-spacing: .11em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 12px;
}
.toc ol { list-style: none; counter-reset: t; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.toc li { counter-increment: t; display: flex; gap: 11px; align-items: baseline; }
.toc li::before {
  content: counter(t) "."; color: var(--sage); font-weight: 700; font-size: 14px;
  flex-shrink: 0; font-variant-numeric: tabular-nums;
}
.toc a { color: var(--ink-body); text-decoration: none; font-size: 16px; }
.toc a:hover { color: var(--sage); text-decoration: underline; }

/* running copy */
.prose { max-width: 66ch; }
.prose h2 { margin-bottom: 16px; }
.prose h3 { margin: 30px 0 10px; }
.prose ul.clean { margin: 16px 0 20px; }
.prose .note { margin: 22px 0; }
.prose .t-scroll { margin: 20px 0 22px; }

.updated { font-size: 14px; color: var(--ink-faint); margin-top: 26px; }

/* "read next" cards */
.next-up { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); }
.next-up a {
  display: block; background: var(--surface); border: 1px solid var(--rule);
  border-radius: var(--radius); padding: 17px 19px; text-decoration: none;
  transition: border-color .18s ease, transform .18s ease;
}
.next-up a:hover { border-color: var(--sage); text-decoration: none; transform: translateY(-2px); }
.next-up .t { display: block; font-family: var(--f-anchor); font-size: 17px; color: var(--ink); margin-bottom: 4px; }
.next-up .d { display: block; font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }
@media (prefers-reduced-motion: reduce) { .next-up a { transition: none; } .next-up a:hover { transform: none; } }

/* key-fact strip, used on the legal pages */
.facts { display: grid; gap: clamp(16px,2.4vw,26px); grid-template-columns: repeat(auto-fit, minmax(210px,1fr)); }
.fact { display: flex; flex-direction: column; gap: 5px; }
.fact .k { font-size: 12.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-faint); }
.fact .v { font-family: var(--f-anchor); font-size: clamp(20px, 2.4vw, 25px); color: var(--ink); line-height: 1.25; }
.fact .d { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }

/* city pages: the one-glance answer box */
.city-facts { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius-lg); overflow: hidden; grid-template-columns: repeat(auto-fit, minmax(210px,1fr)); }
.city-facts > div { background: var(--surface); padding: 18px 20px; }
.city-facts .k { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 5px; }
.city-facts .v { display: block; font-family: var(--f-anchor); font-size: 18px; color: var(--ink); line-height: 1.35; }

/* Keyboard keys, used in the accessibility statement. dir=ltr because a
   shortcut like Alt+A reads left-to-right even inside an RTL paragraph. */
kbd {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: .88em; direction: ltr; unicode-bidi: embed;
  background: var(--surface-sunk); color: var(--ink);
  border: 1px solid var(--rule-strong); border-bottom-width: 2px;
  border-radius: 5px; padding: 1px 6px; white-space: nowrap;
}
code {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: .88em; direction: ltr; unicode-bidi: embed;
  background: var(--surface-sunk); border: 1px solid var(--rule);
  border-radius: 4px; padding: .08em .35em;
}