body {
  font-family: Arial, sans-serif;
  max-width: 800px;
  margin: 0 auto;
  padding: 35px 20px 60px 20px; /* Increased bottom padding */
  line-height: 1.3;
  background-color: #f5f2ed;
}

/* Heading spacing */
h1 {
  margin-top: 0;
  margin-bottom: 20px;
}

/* Image styling */
img {
  height: auto;
  width: 100%;
  max-width: 600px;
}

.post-title {
  margin-bottom: 6px;
}

.hero-caption {
  color: #555;
  font-size: 0.9em;
  font-style: italic;
  margin-top: 0.25rem;
}

.code-inline {
  font-family: "Courier New";
}

/* Full-width images (e.g., fraud spectrum) */
img.wide-image {
  max-width: 100%;
}

/* Post date styling */
.post-date {
  font-size: 0.9em;
  margin-top: 0;
  margin-bottom: 20px;
  color: #666;
}

.post-subtitle {
  margin: 0 0 18px 0;
  font-size: 1.05em;
  color: #444;
  font-style: italic;
}

.post-banner {
  margin: 30px 0;
}

.post-banner img {
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 30px 0;
}

figure img {
  width: auto;
  max-width: 100%;
  margin: 0 auto;
}

.figure-small img {
  max-width: 480px;
}

/* Character strengths box styling */
.character-strengths {
  background-color: #e6f3ff;
  padding: 20px 35px;
  border-radius: 5px;
  margin: 20px 0 10px 0;
}

.character-strengths h3 {
  color: #2c5282;
  margin-top: 10px;
  margin-bottom: 10px;
}

.character-strengths ol {
  margin-bottom: 20px;
}

/* Only affects lists that opt into these classes */
ol.fa-steps,
ol.fa-steps ol {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

ol.fa-steps {
  counter-reset: step;
}

ol.fa-steps > li {
  counter-increment: step;
  position: relative;
  padding-left: 2.4rem;
  margin: 1rem 0;
}

ol.fa-steps > li::before {
  content: counter(step) ".";
  position: absolute;
  left: 0;
  font-weight: 700;
}

ol.fa-steps > li > ol {
  counter-reset: substep;
  margin-top: 0.6rem;
}

ol.fa-steps > li > ol > li {
  counter-increment: substep;
  position: relative;
  padding-left: 3.2rem;
  margin: 0.75rem 0;
}

ol.fa-steps > li > ol > li::before {
  content: counter(step) "." counter(substep) ".";
  position: absolute;
  left: 0;
  font-weight: 700;
}

.math-block {
  margin: 0.75rem 0 0.75rem 0;
}

/* Responsive Design */
@media (max-width: 600px) {
  input[type="text"] {
    height: 2.5em;
  }

  body {
    padding: 10px;
  }
}
