/* =============================================
   Buzzy Today — Global Styles (screen.css)
   ============================================= */

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

:root {
  --blue:   #2563EB;
  --amber:  #D97706;
  --black:  #111827;
  --muted:  #6B7280;
  --border: #E5E7EB;
  --white:  #FFFFFF;
  --radius-pill: 999px;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  font-family: var(--font-sans);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.site-logo {
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-login {
  color: var(--black);
  font-size: 0.95rem;
}
.btn-signup {
  background: var(--blue);
  color: var(--white);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Footer */
.site-footer-simple {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Ghost Koenig editor required classes */
.kg-width-wide {
  margin-left: calc(50% - 45vw);
  margin-right: calc(50% - 45vw);
  max-width: 90vw;
}
.kg-width-full {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
}
.kg-image { max-width: 100%; }
.kg-card { margin: 1.5em 0; }
.post-content h1, .post-content h2, .post-content h3 { margin: 1.5em 0 0.5em; }
.post-content p { margin-bottom: 1em; }
.post-content a { color: var(--blue); text-decoration: underline; }

/* =========================================
   POST CONTENT IMAGES
   ========================================= */
.post-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 24px auto;
  border-radius: 8px;
}

.post-content figure {
  margin: 32px 0;
}

.post-content figure img {
  width: 100%;
  margin: 0;
}

.post-content figcaption {
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 8px;
  font-style: italic;
}
