/* Cameron Westland - Static Blog Styles */

/* Minimal reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 12px;
  line-height: 1.5;
}

body {
  background-color: #ffffff;
  color: #000000;
  max-width: 650px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
}

/* Constrain most content to narrow width */
p, h1, h2, h3, h4, h5, h6, ul, ol, blockquote {
  max-width: 425px;
}

/* Typography */
h1 {
  font-size: 1.16rem;
  line-height: 1.5;
  margin: 1.5rem 0 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1rem;
  line-height: 1.5;
  margin: 1.5rem 0 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1rem;
  line-height: 1.5;
  margin: 1.5rem 0 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

p {
  margin: 0.75rem 0;
}

/* Links */
a {
  color: #0066cc;
  text-decoration: underline;
}

a:hover {
  color: #0052a3;
}

/* Lists */
ul, ol {
  margin: 0.75rem 0;
  padding-left: 1.5rem;
}

ol {
  list-style-type: decimal;
}

ul {
  list-style-type: disc;
}

li {
  margin: 0.25rem 0;
}

/* Code blocks - Hugo/Chroma syntax highlighting */
pre {
  background-color: #f5f5f5;
  padding: 0.75rem;
  overflow-x: auto;
  margin: 0.75rem 0;
  border: 1px solid #e0e0e0;
}

code {
  font-family: 'Courier New', monospace;
  font-size: 0.92rem;
  background-color: rgba(29, 28, 29, 0.04);
  padding: 0.15rem 0.3rem;
  border-radius: 3px;
  color: #d91556;
  border: 1px solid rgba(29, 28, 29, 0.13);
}

pre code {
  background-color: transparent;
  padding: 0;
  color: inherit;
  border: none;
  font-size: 0.85rem;
}

/* Chroma (Hugo syntax highlighter) - GitHub style */
.highlight {
  margin: 0.75rem 0;
}

.highlight pre {
  margin: 0;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0.75rem 0;
}

/* Blockquotes */
blockquote {
  border-left: 3px solid #e0e0e0;
  padding-left: 0.75rem;
  margin: 0.75rem 0;
  font-style: italic;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

th, td {
  text-align: left;
  padding: 0.5rem;
  border: 1px solid #e0e0e0;
}

th {
  font-weight: 700;
  background-color: #f5f5f5;
}

/* Utility classes */
.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-32 {
  margin-top: 8rem;
}
