:root {
  --text-primary: #2d3748;
  --text-secondary: #4a5568;
  --background: #f7f3eb;
  --accent-1: #766b5d;
  --accent-2: #5b7c99;
  --quote-bg: #f0ede6;
  --code-bg: #eae6df;
}

body {
  font-family: "Crimson Text", Georgia, serif;
  background-color: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

h1, h2, h3, h4 {
  font-family: "Source Sans Pro", sans-serif;
  color: var(--accent-2);
  line-height: 1.2;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.entry {
  margin: 2rem 0;
}

/* Link styling */
a {
  color: var(--accent-2);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

a:hover {
  border-bottom-color: var(--accent-2);
}

/* Social Media Embed Styling */
.social-embed {
  margin: 2rem 0;
  border-radius: 0;
  background: transparent;
}

.social-embed blockquote {
  margin: 0;
  padding: 1rem 0;
  border-left: none;
  background: transparent;
}

/* Twitter/X embed specific fixes */
.twitter-tweet {
  margin: 0 !important;
  background: transparent !important;
}

.twitter-tweet.twitter-tweet-rendered {
  margin: 2rem 0 !important;
}

/* Date styling */
.date {
  color: var(--text-secondary);
  font-family: "Source Sans Pro", sans-serif;
  font-size: 0.9em;
  margin-bottom: 1rem;
}

/* Footer styling */
footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--accent-1);
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  body {
    padding: 1rem;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
}

/* Optional: Add subtle hover effect for embedded content */
.social-embed {
  transition: opacity 0.2s ease;
}

.social-embed:hover {
  opacity: 0.95;
}

/* Subtle border and spacing between the entries */
.entry {
  margin: 2.5rem 0;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(118, 107, 93, 0.1); /* Using accent-1 with low opacity */
}

.entry:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.archive-nav {
  margin: 2em 0;
  font-size: 0.9em;
  color: #666;
}

.archive-nav summary {
  cursor: pointer;
  color: #1a73e8;
}

.archive-nav summary:hover {
  color: #174ea6;
}

.archive-links {
  margin-top: 1em;
  line-height: 1.8;
}

.archive-links a {
  color: #666;
  text-decoration: none;
}

.archive-links a:hover {
  color: #1a73e8;
}

.archive-links .current {
  font-weight: 500;
  color: #1a73e8;
}