/* =============================================================
   bgleuven — Backgammon Club Leuven
   Sober landing page in the spirit of the old WordPress site
   (twentyten theme): light grey page, white content wrapper,
   sans-serif body, blue-ish links. One column, no sidebar.

   See CLAUDE.md for project conventions.
   ============================================================= */


/* === Tokens ================================================= */
:root {
  --page-bg:   #e7e7e7;          /* light grey page, like twentyten */
  --paper:     #ffffff;          /* white content wrapper           */
  --ink:       #222222;          /* body text                       */
  --ink-muted: #666666;          /* meta lines, footer, archive nav */
  --rule:      #d9d9d9;          /* thin separator lines            */

  --link:         #0066cc;       /* twentyten link colors           */
  --link-visited: #743399;
  --link-hover:   #ff4b33;

  --content-width: 760px;
  --gutter: clamp(1.25rem, 4vw, 2rem);

  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
}


/* === Reset & base =========================================== */
*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--page-bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

p { margin: 0 0 1em; }

a:link    { color: var(--link); }
a:visited { color: var(--link-visited); }
a:hover,
a:focus   { color: var(--link-hover); }


/* === Wrapper ================================================
   White content card, centered on the grey page, with a tiny
   top margin so the card sits visually distinct from the
   browser chrome — same idea as the twentyten #wrapper.
   ============================================================= */
.wrapper {
  max-width: var(--content-width);
  margin: 1.5rem auto;
  padding: 2.25rem var(--gutter);
  background: var(--paper);
}


/* === Site header ============================================
   Sober banner: site title (not an h1) and italic tagline.
   The page H1 lives below in the post, so screen-readers and
   search engines see the post title as the main heading.
   ============================================================= */
.site-header {
  margin-bottom: 1rem;
}

.site-title {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  color: var(--ink);
}

.site-description {
  font-style: italic;
  color: var(--ink-muted);
  margin: 0.25rem 0 0;
}


/* === Archive nav ============================================
   Small, right-aligned, italic. Discreet acknowledgement that
   older content lives elsewhere, without crowding the post.
   ============================================================= */
.archive-nav {
  text-align: right;
  font-size: 0.875rem;
  font-style: italic;
  margin: 0 0 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--rule);
}

.archive-nav a:link,
.archive-nav a:visited {
  color: var(--ink-muted);
  text-decoration: none;
}

.archive-nav a:hover,
.archive-nav a:focus {
  color: var(--link-hover);
  text-decoration: underline;
}


/* === Post =================================================== */
.entry-title {
  font-size: 1.625rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 1.25rem;
}

.entry-content p {
  margin: 0 0 1.25em;
}

.entry-content p:last-child {
  margin-bottom: 0;
}
