body {
    background-color: #f4f5f7;
}

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

.button {
  border: 2px solid;
  border-color: #81002f;
  border-radius: 15px;
  padding: 0.3rem 0.7rem;
  margin-top: 3rem;
  background: #fff;
  color: #81002f;
  font-size: clamp(0.5rem, 1vw, 0.9rem);
  font-family: 'Alegreya Sans SC', sans-serif;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  background: #81002f;
  color: #fff;
}

.site-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 1rem 0;
    margin-top: 3rem;
}

.site-title {
    font-size: 3rem;
    font-weight: 500;
    color: #81002f;
    margin: 0 auto;
    text-align: center;
    font-family: 'Alegreya Sans SC', sans-serif;
} 

.page-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.blog-container {
    display: flex;
    justify-content: center;
    width: min(100%, 800px);
    margin-top: 40px;
}

.lede {
    text-align: center;
    color: #444;
    font-family: "Helvetica Neue", Arial, sans-serif;
    max-width: 70ch;
    margin: 0.5rem 0 1.25rem 0;
}

.post-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0;
}

#posts-list {
    width: 90%;
}

.post-item {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.15);
    border-left: 5px solid #81002f;
    border-radius: 6px;
    font-family: "Helvetica Neue", Arial, sans-serif;
    text-align: left;
}

.post-link {
    display: inline-block;
    font-weight: 700;
    color: #81002f;
    text-decoration: none;
    font-size: 1.15rem;
}

.post-meta {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.25rem;
}

.post-excerpt {
    margin-top: 0.5rem;
    color: #333;
}

@media (min-width: 720px) {
    .post-list {
        /* Use a responsive auto-fit grid so items can center naturally */
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

.blog-post-content {
    width: 80%;
    display: flex;
    flex-direction: column;
    padding: 0;
    text-align: left;
}

.blog-post-title {
    font-size: 1.2rem;
    color: #000000;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

.blog-post-body {
    font-size: 1rem;
    color: #000000;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

