/* Base styles */
body {
    background-color: #fff8f0;
    color: #4a3f35;
    line-height: 1.7;
    margin: 0;
    padding: 2rem;
}

a {
    color: #a0522d;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.post-contents {
    max-width: 700px;
    margin: 0 auto;
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Headings */
.post-contents > h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #6b4226;
    border-bottom: 2px dashed #e0cfc2;
    padding-bottom: 0.3rem;
}

.post-contents > h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #865439;
    border-left: 4px solid #f4e2d4;
    padding-left: 0.5rem;
}

.post-contents > h3 {
    font-size: 1.4rem;
    margin-top: 1.5rem;
    color: #a05c3d;
}

/* Paragraphs and text */
.post-contents > p {
    margin-bottom: 1rem;
}

/* Lists */
.post-contents > ul,
.post-contents > ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.post-contents > li {
    margin-bottom: 0.5rem;
}

/* Blockquote */
.post-contents > blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    background: #fef6f0;
    border-left: 5px solid #deb887;
    font-style: italic;
    color: #5c4433;
}

/* Images */
.post-contents > img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.5rem auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Horizontal rule */
.post-contents > hr {
    border: none;
    border-top: 2px dashed #e0cfc2;
    margin: 2rem 0;
}

/* --- Shared Container and Layout --- */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

ul.project-list {
    list-style-type: none;
    padding: 0;
}

ul.project-list li {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

ul.project-list li a {
    color: #a0522d;
    text-decoration: none;
    border-bottom: 1px dotted #deb887;
}

ul.project-list li a:hover {
    text-decoration: underline;
}

/* --- Project Gallery --- */
.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background-color: #fffaf5;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.project-card h4 {
    margin: 0.5rem 0;
    color: #6b4226;
}

.project-card img {
    max-width: 100%;
    border-radius: 6px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.project-card p {
    margin: 0.3rem 0;
    font-size: 0.9rem;
    color: #5c4433;
}

/* --- Footer Styling --- */
.site-footer {
    margin-top: 3rem;
    padding: 1rem 0;
    text-align: center;
    background-color: #fff0e6;
    border-top: 2px dashed #e0cfc2;
    font-size: 1rem;
    color: #6b4226;
}

.site-footer a {
    color: #a0522d;
    text-decoration: none;
    font-weight: bold;
}

.site-footer a:hover {
    text-decoration: underline;
}
