/* Base styles */
body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    color: #333;
    background-color: #fafafa;
}
/* Typography */
h1, h2, h3 {
    font-family: 'Arial', sans-serif;
    color: #222;
    margin-top: 2em;
    margin-bottom: 0.5em;
}
h1 {
    font-size: 2.5em;
    text-align: center;
}
h2 {
    font-size: 1.8em;
}
h3 {
    font-size: 1.3em;
}
/* Content */
p {
    margin-bottom: 1.5em;
    text-align: left;
}
/* Links */
a {
    color: #0066cc;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
/* Images */
img {
    max-width: 100%;
    height: auto;
    margin: 2em auto;
    display: block;
}

.img-70 {
    width: 70%;
    margin: 2em auto;
    display: block;
}

/* Image Grid Layouts */
.image-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 2em 0;
}

.two-images img {
    width: calc(50% - 10px);
    margin: 0;
}

.three-images img {
    width: calc(33.333% - 14px);
    margin: 0;
}
/* Triangle Image Layout */
.triangle-images {
    display: grid;
    grid-template-columns: repeat(2, calc(45% - 10px)); /* Two columns for bottom images */
    grid-template-rows: auto auto; /* Two rows */
    gap: 20px;
    justify-content: center;
    margin: 2em auto;
    max-width: 800px;
}

.triangle-images img {
    width: 100%;
    margin: 0;
}

.triangle-images img:first-child {
    grid-column: 1 / 3; /* Span both columns */
    width: calc(45% - 10px);
    justify-self: center; /* Center the top image */
}

/* Blockquotes */
blockquote {
    margin: 2em 0;
    padding-left: 1.5em;
    border-left: 4px solid #ddd;
    font-style: italic;
    color: #666;
}
/* Code blocks */
pre, code {
    background-color: #f5f5f5;
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
}
pre {
    padding: 1em;
    overflow-x: auto;
}