body {
  font-family: sans-serif;
  line-height: 1.6;
  margin: 0 auto;
  max-width: min(1200px, 90vw);
  background: #fdf6e3;
  color: #333;
  padding: 0 1rem;
  box-sizing: border-box;
}

nav {
      margin-bottom: 2rem;
    }
    nav a {
      /* The left / right margin values ensure there is space between the text and the pipes */
      margin: 0 0.5rem 0 0.5rem;
      text-decoration: none;
    }

blockquote {
  font-style: italic;
  margin: 1.5rem 0;
  padding-left: 1rem;
  border-left: 4px solid #999;
  color: #555;
}

header {
  text-align: center;
  margin-bottom: 3rem;
}

article {
  background: #fffdf6;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

article h2 {
  margin-top: 0;
}

time {
  display: block;
  color: #777;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

img {
  padding: 0;
  margin: 0
}

figcaption {
  font-size: 12px;
  font-style: italic;
  margin-bottom: 20px
}

pre {
  white-space: pre-wrap;
  background-color: #fdf6e3;
  display: block;
}

.monospace {
  font-family: monospace;
  background-color: whitesmoke;
}

ul {
  line-height: 2;
}

h1 {
      display: flex;
      justify-content: center;
      align-items: center;
      /* border-bottom: 2px solid #ccc; */
      padding-bottom: 0.5rem;
}

.highlight {
      background-color: #f0f4ff;
      padding: 1rem;
      border-left: 4px solid #3b82f6;
      margin: 1.5rem 0;
}

.post-list {
    margin-bottom: 10px;
    margin-top: 0;
    padding-bottom: 10px;
    padding-top: 0;
}

.blog-navigation {
  display: flex;
  justify-content: space-between;
  margin: 2rem 0;
}

.nav-previous, .nav-back-to-top, .nav-next{
  flex: 1;
}

.nav-next {
  text-align: right;
}

.nav-back-to-top {
  text-align: center
}

.post-date {
  margin-top: 0rem;
  font-style: italic;
  font-size: 13px;
  font-weight: 600;
  /* display: block; */
  margin-BOTTOM: 0rem;
  font-size: 0.85rem;
  color: #777;
  margin-left: 0; /* Remove if you want it aligned with the link */
}

h4 {
  font-style: italic;
}

.about-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-top: 1rem;
  gap: 2rem;
}

.about-header h1 {
  grid-column: 2;
  text-align: center;
  margin: 0
}

.profile-photo {
  width: 125px;
  height: 125px;
  border-radius: 50%;
  object-fit: cover;
  justify-self: end;
  grid-column: 3
}

@media (max-width: 768px) {
  .about-header {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 1rem;
  }
  .about-header h1,
  .profile-photo {
    grid-column: 1;
    justify-self: center;
  }
  .profile-photo {
    order: -1
  }
}



ol.culture-steps {
  list-style-position: inside; /* Or 'inside' if you prefer numbers inside block */
  padding-left: 0;              /* Removes left padding */
  margin-left: 0;               /* Removes left margin */
}

ol.culture-steps li {
  margin-bottom: 1.5em;         /* Adds space between steps */
}

ol.culture-steps li strong {
  display: block;               /* Makes the title appear on its own line */
  margin-bottom: 0.5em;         /* Space between title and description */
}

.case-study {
  margin-bottom: 0em;
  font-style: italic;
  font-weight: 550;
}
.case-study + p {
  margin-top: 0.2em
}

.tight-list {
  margin-top: 0.1em !important;
  margin-bottom: 1em
}

.tight-list li {
    margin-bottom: 0.1em;
    line-height: 1.5;
}

p:has(+ .tight-list) {
    margin-bottom: 0.25em;
}
