body {
    font-family: "Crimson Text", serif;
    font-optical-sizing: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    height: 100vh;
}
div.q {
    border: 1px solid black;
    padding: 0.5rem;
    margin-left: 0.75rem;
    margin-right: 0.75rem;
    max-width: clamp(32rem, 5vw, 64rem);
    display: flex;
    flex-direction: column;
    align-items: center;
}
h1.x {
    display: inline;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    text-align: center;
    color: dimgray;
    font-weight: normal;
    margin-bottom: 0.2rem;
}
h2.x {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    text-align: center;
    color: dimgray;
    font-weight: normal;
    margin-top: 0.2rem;
    margin-bottom: 2rem;
}
div.q > img {
    max-height: 100%;
    max-width: 100%;
}
p.x {
    color: darkgray;
    font-size: clamp(0.8rem, 5vw, 1rem);
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}
p.x a {
    color: dimgray;
    text-decoration: none;
}
p.x a:hover {
    opacity: 0.7;
}
div.x {
    width: 100%;
    color: darkgray;
    display: flex;
    align-items: center;
    max-width: clamp(32rem, 5vw, 64rem);
    gap: 1rem;
}
div.x > hr {
    flex: 1;
    border: none;
    border-top: 1px solid #eee;
}
.homepage-nav {
    margin: 1.5rem 0;
}
.homepage-nav a {
    color: dimgray;
    text-decoration: none;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    border-bottom: 1px solid dimgray;
    padding-bottom: 2px;
}
.homepage-nav a:hover {
    opacity: 0.7;
}
.post-list {
    font-family: "Public Sans", sans-serif;
    font-size: 14px;
    list-style-type: disc;
    margin-top: 1.5rem;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
    max-width: 100%;
}
.post-list .post-item {
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}
.post-list a {
    color: dimgray;
    text-decoration: none;
}
.post-list a:hover {
    opacity: 0.7;
}
.post-date {
    color: darkgray;
    margin-left: 1rem;
    white-space: nowrap;
}

/* Blog post layout styles */
.post {
    font-family: Verdana, Geneva, sans-serif;
    max-width: 650px;
    margin: 0 auto;
    padding: 2rem 1rem;
    line-height: 1.6;
}

.post-header {
    margin-bottom: 2rem;
}

.post-title {
    font-weight: normal;
    font-size: 20px;
    color: black;
    margin: 0;
    line-height: 1.3;
}

.post-content {
    margin-bottom: 3rem;
}

.post-content p {
    font-size: 14px;
    margin-bottom: 1.5rem;
}

.post-content h2 {
    font-size: 18px;
    font-weight: normal;
    color: black;
    margin: 2rem 0 1rem 0;
}

.post-content h3 {
    font-size: 16px;
    font-weight: normal;
    color: black;
    margin: 1.5rem 0 0.8rem 0;
}

.post-content a {
    color: dimgray;
    text-decoration: underline;
}

.post-content a:hover {
    opacity: 0.7;
}

.post-footer {
    font-size: 14px;
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
    color: darkgray;
}

.post-footer .post-date {
    margin: 0 0 1rem 0;
    margin-left: 0;
}

.post-nav {
    margin: 0;
    margin-bottom: 1rem;
}

.post-nav a {
    color: dimgray;
    text-decoration: none;
}

.post-nav a:hover {
    opacity: 0.7;
}
