/* Toastmasters brand colors */
:root {
  --tm-red:    #772432;
  --tm-red-dk: #5e1c27;
  --tm-navy:   #004165;
  --tm-gold:   #f2a900;
  --bg:        #f5f5f5;
  --white:     #ffffff;
  --text:      #1a1a1a;
  --muted:     #666666;
  --border:    #e0e0e0;
  --shadow:    0 1px 4px rgba(0,0,0,0.08);
}

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ── Header ─────────────────────────────────────────── */
.site-header {
  background: var(--tm-red);
  border-bottom: 4px solid var(--tm-gold);
  padding: 1.25rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tm-logo {
  height: 56px;
  width: auto;
  flex-shrink: 0;
}

.site-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.site-tagline {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  font-style: italic;
  letter-spacing: 0.04em;
}

/* ── Page banner (hero photo strip) ─────────────────── */
.page-banner { padding: 1.25rem 0 0; }

.banner-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* ── Meeting banner ──────────────────────────────────── */
.meeting-banner {
  background: var(--tm-navy);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 0.55rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
}

.meeting-time {
  opacity: 0.9;
}

.meeting-location {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--tm-gold);
  text-decoration: none;
  letter-spacing: 0.02em;
  opacity: 0.95;
}

.meeting-location::before { content: '📍 '; }

.meeting-location:hover { text-decoration: underline; }

/* ── Main content ────────────────────────────────────── */
.main {
  padding: 1.75rem 0 2.5rem;
}

/* ── Cards ───────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}

.card-heading {
  margin: 0 0 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tm-red);
}

/* ── Link list ───────────────────────────────────────── */
.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.link-list a {
  color: var(--tm-navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.15s;
}

.link-list a:hover { color: var(--tm-red); }

/* CTA button (sign-up link) */
.btn-cta {
  display: inline-block;
  background: var(--tm-red);
  color: var(--white) !important;
  padding: 0.45rem 1.1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  transition: background 0.15s !important;
}

.btn-cta:hover { background: var(--tm-red-dk) !important; }

/* ── Social buttons ──────────────────────────────────── */
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.social-btn {
  display: inline-block;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--tm-navy);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.social-btn:hover {
  background: var(--tm-navy);
  color: var(--white);
  border-color: var(--tm-navy);
}

/* ── Schedule ────────────────────────────────────────── */
.schedule-loading {
  color: var(--muted);
  font-size: 0.875rem;
}

.schedule-row {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.schedule-row:first-child { border-top: 1px solid var(--border); }

.schedule-next {
  background: rgba(119,36,50,0.05);
  margin: 0 -1.5rem;
  padding: 0.6rem 1.5rem;
  border-top: none !important;
  border-bottom: none !important;
  border-left: 3px solid var(--tm-red);
}

.schedule-next .schedule-date {
  color: var(--tm-red);
  font-weight: 700;
}

.schedule-date {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.4;
}

.schedule-info { display: flex; flex-direction: column; }

.schedule-format {
  font-size: 0.9rem;
  font-weight: 600;
}

/* ── Footer ──────────────────────────────────────────── */
.site-footer {
  background: var(--tm-navy);
  color: rgba(255,255,255,0.65);
  font-size: 0.8rem;
  text-align: center;
  padding: 1rem 0;
}

.site-footer p { margin: 0 0 0.5rem; }

.site-footer a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}

.site-footer a:hover { text-decoration: underline; }

.imprint {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}

.imprint address {
  font-style: normal;
  line-height: 1.7;
}

.imprint address a { color: rgba(255,255,255,0.6); }
