html {
  scroll-behavior: smooth;
  font-family: 'Georgia', serif;
  line-height: 1.7;
  background: #faf7f2;
  color: #111;
}

body {
  margin: 0;
  padding: 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 0.5rem;

}

/* Headings */
h1, h2, h3, h4 {
  font-family: 'Georgia', serif;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #222;
}

/* Links */
a {
  color: #222;
  text-decoration: none;
  border-bottom: 1px dotted #aaa;
  transition: all 0.2s ease-in-out;
}

a:hover {
  color: #000;
  border-bottom: 1px solid #000;
}

/* Navigation */
nav {
  margin-bottom: 3rem;
}

nav a {
  margin: 0 1.5rem;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Article / prose */
article {
  margin-bottom: 4rem;
}

/* Writings list */
ul {
  list-style-type: none;
  padding-left: 0;
}

li {
  margin-bottom: 0.75rem;
}

li a {
  font-size: 1.125rem;
}

/* Footer */
footer {
  margin-top: 4rem;
  text-align: center;
  font-size: 0.875rem;
  color: #777;
}

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

header {
  text-align: center;
  border-bottom: 2px solid #e0dcd5;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  box-shadow: 0 3px 6px rgba(0,0,0,0.04);
}

header .h1 {
  font-family:'Courier New', Courier, monospace
}

.home-section {
  margin: 1rem 0.25rem;
  padding: 1rem 1rem;
  background: white;
  border-radius: 1rem;
}


.home-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  border-bottom: 3px solid #ff7f50;
  display: inline-block;
  padding-bottom: 0.3rem;
  margin-bottom: 2rem;
}

.post-card {
  background-color: #ffffff; 
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 1.5rem;
  margin-bottom: 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.post-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.post-card p {
  font-size: 1rem;
  color: #555555;
}
.post-content-wrapper {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  padding: 3rem 2rem;
  max-width: 900px;
  margin: 3rem auto;
  text-align: left;
  color: #222;
  font-family: "Georgia", serif;
}

.post-body {
  max-width: 680px;
  margin: 0 auto;
}


.post-body p {
  margin: 1.25rem 0;
  line-height: 1.7;
  white-space: normal;
  text-indent: 0;
}

.post-content-wrapper h1 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 0.5rem 0;
  color: #111;
}
.post-meta {
  text-align: center;
  color: #777;
  font-size: 0.9rem;
  margin: 0 0 2rem 0;
}
.post-body h2,
.post-body h3 {
  margin: 2.5rem 0 1rem;
  font-weight: 600;
  color: #111;
}

/* Lists – override your global UL reset so blog lists look normal */
.post-body ul,
.post-body ol {
  margin: 1.25rem 0 1.25rem 0;
  padding-left: 1.25rem;       /* restore left padding for bullets/numbers */
}
.post-body ul { list-style: disc outside; }
.post-body ol { list-style: decimal outside; }
.post-body li { margin: 0.5rem 0; }

/* Blockquotes */
.post-body blockquote {
  border-left: 4px solid #ff7f50;
  padding-left: 1rem;
  margin: 2rem 0;
  color: #555;
  background: #fffaf8;
  font-style: italic;
}

/* Images */
.post-body img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 2rem auto;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Code */
.post-body pre,
.post-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.post-body pre {
  background: #f6f8fa;
  border-radius: 8px;
  padding: 1rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}
.post-body code {
  background: #f6f8fa;
  border-radius: 4px;
  padding: 0.15rem 0.35rem;
}



.featured_writings {
  display: inline;
}
.site-nav a.active {
  font-weight: bold;
  color: #000;
  border-bottom: 2px solid #ff7f50;
  text-transform: uppercase;
}

.book {
  background-color: white;
  padding: 1.5rem;
  margin: 0.5rem 0.5rem;
}

.writing-content p {
  margin: 0;
  padding: 0;
}
.writing-content p + p {
  margin-top: 1rem;
}
.writing-content p:first-child {
  margin-top: 0;
}
.writing-content-wrapper {
  background-color: #fefefe;
  border-radius: 1rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  padding: 2.5rem 2rem;
  max-width: 680px; 
  margin: 3rem auto;
  text-align: left;
  line-height: 1.4;
}


.writing-content {
  white-space: pre-line;
  font-size: 1.05rem;
  font-family: "Georgia", serif;
  color: #222;


  display: block;
  max-width: 520px;          
  margin: 0 auto;            
  text-align: left;
}

.writing-content-wrapper h3 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  color: #111;
}
.center-img {
  display: block;
  margin: 1.5rem auto;
}

.recent-posts {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;

}

.recent-posts article {
  flex: 0 0 75%;
  max-width: 340px;
  scroll-snap-align: start;
  background-color: #e0dcd5;
}

.recent-posts::-webkit-scrollbar {
  height: 6px;
}

.recent-posts::-webkit-scrollbar-track {
  background: transparent;
}

.recent-posts::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.series-title {
  font-family: Georgia, serif;
  font-size: 1.4rem;
  margin-top: 2.5rem;
  border-left: 4px solid #ff7f50;
  padding-left: 0.5rem;
}
