/* Minimal styling - simple, clean HTML presentation */

/* Page background - match navbar color */
body {
  background-color: #F5F1E8;
}

/* Ensure main content area also has the same background */
#quarto-content,
.quarto-container,
main {
  background-color: #F5F1E8;
}

/* Hero section - just a simple heading */
.hero-section {
  margin-bottom: 1rem;
}

.hero-section h1 {
  margin-bottom: 0.5rem;
}

.hero-section p {
  margin-top: 0;
}

/* Blog-specific styling */
/* Blog listing items */
.quarto-listing-default .listing-item {
  border-left: 3px solid #2C2416;
  padding-left: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(44, 36, 22, 0.2);
}

.quarto-listing-default .listing-item:last-child {
  border-bottom: none;
}

/* Blog post titles in listing */
.quarto-listing-default .listing-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2C2416;
  margin-bottom: 0.5rem;
}

.quarto-listing-default .listing-title:hover {
  color: #5a4a3a;
}

/* Blog post metadata */
.quarto-listing-default .listing-date {
  color: #5a4a3a;
  font-size: 0.9rem;
  font-style: italic;
  margin-bottom: 0.5rem;
}

/* Blog post descriptions */
.quarto-listing-default .listing-description {
  color: #2C2416;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

/* Category tags in blog listing (hashtag style, no boxes) */
.quarto-listing-default .listing-categories {
  margin-top: 0.75rem;
}

.quarto-listing-default .listing-category {
  display: inline !important;
  padding: 0 !important;
  margin-right: 0 !important;
  background-color: transparent !important;
  border: none !important;
  color: #5a4a3a !important;
  font-size: 0.9rem !important;
  font-style: italic !important;
  text-decoration: none !important;
  text-transform: none !important;
}

.quarto-listing-default .listing-category::before {
  content: '#';
  margin-right: 0.1rem;
}

.quarto-listing-default .listing-category::after {
  content: ', ';
}

.quarto-listing-default .listing-category:last-child::after {
  content: '';
}

.quarto-listing-default .listing-category:hover {
  color: #2C2416;
  text-decoration: underline;
}

/* Individual blog post styling */
article {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

/* Blog post header with decorative line */
article header {
  border-bottom: 2px solid #2C2416;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

/* Hide categories from header (we'll add them manually at bottom of posts) */
.quarto-title .quarto-categories {
  display: none;
}

/* Style for manual category tags at bottom of posts */
.post-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(44, 36, 22, 0.2);
  display: block;
}

.post-categories {
  font-size: 0.9rem;
  color: #5a4a3a;
  font-style: italic;
  display: block;
  margin: 0;
}

.post-categories a {
  color: #5a4a3a;
  text-decoration: none;
}

.post-categories a:hover {
  color: #2C2416;
  text-decoration: underline;
}

article header .title {
  font-size: 2.5rem;
  color: #2C2416;
  margin-bottom: 0.5rem;
}

/* Hide description in post view (kept for metadata/listing) */
article header .description,
.quarto-title-block .description {
  display: none;
}

/* Hide author field in blog posts (it's always the first div in quarto-title-meta) */
.quarto-title-meta > div:first-child {
  display: none;
}

/* Hide the "Published" heading but keep the date */
.quarto-title-meta-heading {
  display: none;
}

/* Make date less prominent */
article header .date,
article header .quarto-title-meta-date,
.quarto-title-meta-contents .date {
  font-size: 0.85rem;
  color: #8a7a6a;
  font-style: normal;
  font-weight: normal;
}

/* Blog post content */
article .quarto-title-block {
  margin-bottom: 2rem;
}

/* Section dividers in posts */
article hr {
  border: none;
  border-top: 1px solid rgba(44, 36, 22, 0.3);
  margin: 2rem 0;
}

/* Improve readability for post content */
article p {
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

/* Section headings in blog posts */
main h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #2C2416;
  font-size: 1.5rem;
  border-bottom: none;
  padding-bottom: 0;
}

main h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #2C2416;
}
