/* ---------------------------------------
   JOURNAL ENTRY STYLING
   Works with simple.css
---------------------------------------- */

/* Give journal entries a vertical rhythm */
main article {
  padding: 1.8rem 1rem 2rem 1rem;
  margin: 2.5rem 0;
  border-left: 3px solid var(--accent);
  background: var(--bg);
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Soft hover glow */
main article:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

/* Date styling */
main article h4 {
  margin-top: 0;
  margin-bottom: 1.2rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
}

/* Make <time> look like a nice tag */
main article h4 time {
  background: var(--accent);
  color: white;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  font-size: 0.90rem;
  letter-spacing: 0.5px;
}

/* List styling */
main article ul {
  padding-left: 1.4rem;
  line-height: 1.65;
}

main article li {
  margin-bottom: 1rem;
}

/* Paragraph entries */
main article p {
  line-height: 1.7;
  margin-bottom: 1.1rem;
}

/* Figures / images */
main article figure {
  margin: 1.5rem auto;
  text-align: center;
}

main article img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Caption styling */
main article figcaption {
  font-size: 0.9rem;
  opacity: 0.75;
  margin-top: 0.4rem;
}

/* "Load more" button styling (if used) */
button.load-more {
  display: block;
  margin: 2rem auto;
  padding: 0.7rem 1.2rem;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid var(--accent);
  background: var(--bg);
  color: var(--accent);
  transition: background 0.3s, color 0.3s;
}

button.load-more:hover {
  background: var(--accent);
  color: white;
}

