/* Generated stylesheet for vintagelavalamps.org */






*, *::before, *::after { box-sizing: border-box; }

:root {
  --primary:   #292524;
  --accent:    #ca8a04;
  --text:      #1a1a1a;
  --muted:     #595959;   /* ≥ 4.5:1 on white — WCAG AA for small text */
  --bg:        #ffffff;
  --surface:   #f4f4f5;
  --border:    #d4d4d8;
  --radius:    0px;
  --max-width: 940px;
  --font-head: 'Garamond', 'EB Garamond', serif;
  --font-body: 'Gill Sans', 'Gill Sans MT', sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
}

a { color: var(--primary); text-decoration: underline; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ── Layout ──────────────────────────────────────────── */
.site-wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }

/* ── Header ──────────────────────────────────────────── */
.site-header {
  background: var(--primary);
  color: #fff;
}

/* Layout 0: title left, tagline right on same row */
.header-layout-0 .site-wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

/* Layout 1: stacked, centred */
.header-layout-1 .site-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.3rem;
  padding-top: 1.4rem;
  padding-bottom: 1.2rem;
}

/* Layout 2: large title stacked left, tagline below */
.header-layout-2 .site-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding-top: 1.1rem;
  padding-bottom: 1rem;
}

.site-title {
  font-family: var(--font-head);
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 1.15;
}
.site-title:hover { color: var(--accent); }
.header-layout-0 .site-title { font-size: 1.4rem; font-weight: bold; }
.header-layout-1 .site-title { font-size: 1.75rem; font-weight: bold; letter-spacing: 0.01em; }
.header-layout-2 .site-title { font-size: 2rem; font-weight: bold; }

/* ── Tagline variants ────────────────────────────────── */
.site-tagline {
  font-size: 0.875rem;
  line-height: 1.4;
  color: rgba(255,255,255,0.85);  /* ≥ 3:1 on primary — WCAG AA for large/UI text */
}

/* 0: normal muted (default) */
.tagline-style-0 { flex: 1; min-width: 0; opacity: 0.82; }

/* 1: italic */
.tagline-style-1 { flex: 1; min-width: 0; font-style: italic; opacity: 0.88; }

/* 2: bold */
.tagline-style-2 { flex: 1; min-width: 0; font-weight: bold; opacity: 0.95; letter-spacing: 0.01em; }

/* 3: right-justified */
.tagline-style-3 { margin-left: auto; text-align: right; opacity: 0.82; }

/* 4: below title, italic — used with stacked layouts */
.tagline-style-4 { font-style: italic; opacity: 0.80; font-size: 0.9rem; }

/* ── Navigation ──────────────────────────────────────── */

/* Nav style 0: dark band with accent active */
.nav-style-0 {
  background: color-mix(in srgb, var(--primary) 78%, #000);
  border-bottom: 2px solid var(--accent);
}
.nav-style-0 .site-wrap { display: flex; flex-wrap: wrap; gap: 0; }
.nav-style-0 a {
  display: inline-block;
  padding: 0.55rem 0.95rem;
  color: rgba(255,255,255,0.87);
  text-decoration: none;
  font-size: 0.875rem;
  border-right: 1px solid rgba(255,255,255,0.1);
  transition: background 0.15s, color 0.15s;
}
.nav-style-0 a:hover,
.nav-style-0 a.active { background: var(--accent); color: #fff; }

/* Nav style 1: light bar, coloured underline on active */
.nav-style-1 {
  background: var(--surface);
  border-bottom: 2px solid var(--border);
}
.nav-style-1 .site-wrap { display: flex; flex-wrap: wrap; gap: 0; }
.nav-style-1 a {
  display: inline-block;
  padding: 0.6rem 1rem;
  color: var(--primary);
  text-decoration: none;
  font-size: 0.875rem;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: border-color 0.15s, color 0.15s;
  font-family: var(--font-head);
}
.nav-style-1 a:hover { border-color: var(--accent); color: var(--primary); }
.nav-style-1 a.active { border-color: var(--primary); color: var(--primary); font-weight: bold; }

/* Nav style 2: pill tabs on white */
.nav-style-2 {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 0;
}
.nav-style-2 .site-wrap { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.nav-style-2 a {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  color: var(--primary);
  text-decoration: none;
  font-size: 0.85rem;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}
.nav-style-2 a:hover { background: var(--surface); border-color: var(--border); }
.nav-style-2 a.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ── Main content ────────────────────────────────────── */
.site-main { padding: 2.5rem 0 3rem; }

/* ── Typography ──────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--primary);
  line-height: 1.25;
  margin-top: 1.75em;
  margin-bottom: 0.4em;
}

/* H1 style 0: accent-coloured bottom border */

/* H1 style 1: accent background chip / highlight */
h1 {
  font-size: 2rem;
  margin-top: 0;
  background: var(--primary);
  color: #fff;
  display: inline-block;
  padding: 0.15em 0.5em 0.15em 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-left: -1.25rem;
  padding-left: 1.25rem;
}


h2 { font-size: 1.45rem; }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.5em; margin: 0 0 1.1em; }
li { margin-bottom: 0.3em; }

blockquote {
  border-left: 4px solid var(--accent);
  margin: 1.5em 0;
  padding: 0.75em 1.25em;
  background: var(--surface);
  border-radius: var(--radius);
  color: var(--muted);
  font-style: italic;
}

code {
  font-family: 'Courier New', Courier, monospace;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.1em 0.35em;
  font-size: 0.9em;
}
pre {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1em 1.25em;
  overflow-x: auto;
}
pre code { background: none; border: none; padding: 0; }

table {
  border-collapse: collapse;
  width: 100%;
  margin: 1.5em 0;
  font-size: 0.95em;
}
th, td { padding: 0.6em 0.85em; border: 1px solid var(--border); text-align: left; }
th { background: var(--primary); color: #fff; font-family: var(--font-head); }
tr:nth-child(even) td { background: var(--surface); }

/* ── Images ──────────────────────────────────────────── */
figure.page-image { margin: 1.75em 0; text-align: center; }
figure.page-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
figcaption {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.4em;
  font-style: italic;
}
.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  background: var(--surface);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.9rem;
  padding: 1em;
}

/* ── Page card grid ──────────────────────────────────── */
.page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

/* Card style 0: flat surface */

.page-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  transition: box-shadow 0.15s, border-color 0.15s;
  display: flex;
  flex-direction: column;
}
.page-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.09); border-color: var(--accent); }

/* Card style 1: white with drop shadow */


.page-card h3 { font-size: 1.05rem; margin: 0 0 0.5em; color: var(--primary); }
.page-card p { font-size: 0.875rem; color: var(--muted); flex: 1; margin: 0 0 0.85em; }
.page-card a.read-more {
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--accent);
}
.page-card a.read-more:hover { text-decoration: underline; }

/* ── Site description block ──────────────────────────── */
.site-description {
  background: var(--surface);
  border-left: 4px solid var(--primary);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 2rem;
  font-size: 1.025rem;
  color: var(--muted);
}

/* ── Footer ──────────────────────────────────────────── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

/* ── Ad units ────────────────────────────────────────── */
.ad-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 0;
}
.ad-unit { width: 100%; overflow: hidden; }
.ad-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  min-height: 90px;
  margin: 0.5rem 0;
}
.ad-placeholder span { opacity: 0.5; }
.ad-in-content { margin: 1.75em 0; text-align: center; }

/* ── Content + sidebar layout ────────────────────────── */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
}
.sidebar { min-width: 0; }
.sidebar-sticky { position: sticky; top: 1.5rem; }
.ad-sidebar .ad-placeholder { min-height: 250px; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 900px) {
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { order: -1; }
  .sidebar-sticky { position: static; }
}

@media (max-width: 600px) {
  h1 { font-size: 1.5rem; }
  .header-layout-0 .site-wrap,
  .header-layout-1 .site-wrap,
  .header-layout-2 .site-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    text-align: left;
  }
  .tagline-style-3 { margin-left: 0; text-align: left; }
  .site-tagline { display: none; }
  .ad-placeholder { min-height: 60px; }
}