/* saxonia.ro hub page (static since 2026-12-02). Colours from the Saxonia logos. No JavaScript. */
:root {
  --red: #e20614; --red-dark: #b10c16; --ink: #1d1d1b; --muted: #57544f; --line: #e8e3de; --bg: #faf8f6; --card: #fff;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
img { max-width: 100%; height: auto; }
a { color: var(--red-dark); }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1000px; margin: 0 auto; padding: 0 16px; }

header.top { border-top: 6px solid var(--red); background: #fff; border-bottom: 1px solid var(--line); }
.intro { text-align: center; padding: 34px 16px 26px; }
.intro h1 { margin: 0 0 .25em; font-size: clamp(1.7rem, 4.5vw, 2.4rem); letter-spacing: .06em; text-transform: uppercase; }
.intro p { margin: .15em 0; }
.intro p[lang="ro"] { color: var(--muted); }

.cards { list-style: none; margin: 0; padding: 32px 0 44px; display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 24px 24px 22px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
  transition: box-shadow .2s ease, transform .2s ease; }
.card:hover { box-shadow: 0 10px 28px rgba(0, 0, 0, .09); transform: translateY(-2px); }
.card .logo { display: flex; align-items: center; justify-content: center; height: 170px; margin-bottom: 18px; }
.card .logo img { max-height: 170px; width: auto; }
.card h2 { margin: 0 0 .5em; font-size: 1.3rem; line-height: 1.3; }
.card h2 a { color: var(--ink); text-decoration: none; }
.card h2 a::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }  /* the whole card opens the site */
.card h2 a:focus-visible { outline: none; }
.card:has(h2 a:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.card h2 span { color: var(--muted); font-weight: 600; }
.card p { margin: 0 0 .6em; }
.card p[lang="ro"] { color: var(--muted); }
.langs { margin: auto 0 0 !important; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.langs a { position: relative; z-index: 1; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 20px;
  border: 2px solid var(--red); border-radius: 999px; background: var(--red); color: #fff; font-weight: 600; text-decoration: none; }
.langs a.alt { background: #fff; color: var(--red-dark); }
.langs a:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }

footer { text-align: center; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); padding: 18px 16px 36px; }
footer p { margin: 0; }
.nf { text-align: center; padding: 48px 0 60px; }
.nf p { margin: .4em 0; }

@media (max-width: 480px) {
  .intro { padding: 26px 12px 20px; }
  .cards { padding: 20px 0 32px; gap: 18px; }
  .card { padding: 20px 18px 18px; }
  .card .logo { height: 130px; }
  .card .logo img { max-height: 130px; }
}
@media (prefers-reduced-motion: reduce) {
  .card { transition: none; }
  .card:hover { transform: none; }
}
