/**
 * Media Minds theme base — reusable across projects
 * Copy this file (and optionally layout.css) into any project for consistent
 * dark navy/blue look and typography. Override --theme-* variables to rebrand.
 */
:root {
  /* Core palette */
  --theme-bg: #0f1419;
  --theme-surface: #1a2332;
  --theme-border: #2d3a4d;
  --theme-text: #e6edf3;
  --theme-text-muted: #8b9cb3;
  --theme-accent: #3b82f6;
  --theme-accent-hover: #60a5fa;
  --theme-success: #22c55e;
  --theme-error: #ef4444;

  /* Convenience aliases (sites can use either) */
  --bg: var(--theme-bg);
  --surface: var(--theme-surface);
  --border: var(--theme-border);
  --text: var(--theme-text);
  --text-muted: var(--theme-text-muted);
  --accent: var(--theme-accent);
  --accent-hover: var(--theme-accent-hover);
  --success: var(--theme-success);

  /* Layout */
  --theme-max-width: 1100px;
  --theme-gutter: 1.5rem;
  --theme-radius: 8px;
  --theme-font: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--theme-font);
  background: var(--theme-bg);
  color: var(--theme-text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--theme-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  border-radius: var(--theme-radius);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
  font-family: inherit;
  transition: background 0.15s, color 0.15s;
}

.btn-primary {
  background: var(--theme-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--theme-accent-hover);
}

.btn-secondary {
  background: var(--theme-surface);
  color: var(--theme-text);
  border: 1px solid var(--theme-border);
}

.btn-secondary:hover {
  border-color: var(--theme-accent);
  color: var(--theme-accent);
}

/* Form inputs */
input[type="text"],
input[type="search"],
input[type="email"],
input[type="url"],
textarea {
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius);
  background: var(--theme-surface);
  color: var(--theme-text);
  font-size: 1rem;
  font-family: inherit;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--theme-accent);
}

/* Prose for markdown / long content */
.theme-prose {
  max-width: 65ch;
  color: var(--theme-text-muted);
}

.theme-prose h1,
.theme-prose h2,
.theme-prose h3 {
  color: var(--theme-text);
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.theme-prose h1 { font-size: 1.5rem; }
.theme-prose h2 { font-size: 1.25rem; }
.theme-prose h3 { font-size: 1.1rem; }

.theme-prose p {
  margin-bottom: 0.75rem;
}

.theme-prose ul,
.theme-prose ol {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
}

.theme-prose li {
  margin-bottom: 0.25rem;
}

.theme-prose strong {
  color: var(--theme-text);
}

.theme-prose a {
  color: var(--theme-accent);
}

.theme-prose code {
  background: var(--theme-surface);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  font-size: 0.9em;
}
